Skip to content

Commit

Permalink
create outputs.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
patsevanton committed Jul 23, 2024
1 parent 9e9b8ca commit d0ccb56
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 16 deletions.
8 changes: 0 additions & 8 deletions examples/full/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,3 @@ module "yandex_compute_instance" {
}

}

output "instance_private_ip" {
value = module.yandex_compute_instance.instance_private_ip
}

output "instance_public_ip" {
value = module.yandex_compute_instance.instance_public_ip
}
7 changes: 7 additions & 0 deletions examples/full/outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
output "instance_private_ip" {
value = module.yandex_compute_instance.instance_private_ip
}

output "instance_public_ip" {
value = module.yandex_compute_instance.instance_public_ip
}
8 changes: 0 additions & 8 deletions examples/minimal/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,3 @@ module "yandex_compute_instance" {
ssh_pubkey = "~/.ssh/id_rsa.pub"

}

output "instance_private_ip" {
value = module.yandex_compute_instance.instance_private_ip
}

output "instance_public_ip" {
value = module.yandex_compute_instance.instance_public_ip
}
7 changes: 7 additions & 0 deletions examples/minimal/outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
output "instance_private_ip" {
value = module.yandex_compute_instance.instance_private_ip
}

output "instance_public_ip" {
value = module.yandex_compute_instance.instance_public_ip
}

0 comments on commit d0ccb56

Please sign in to comment.