Skip to content

Commit

Permalink
Merge pull request #79 from hashicorp/remove-azure-output
Browse files Browse the repository at this point in the history
pin azure providers and remove Terraform output
  • Loading branch information
alvin-huang authored Jan 10, 2019
2 parents 386d122 + b771a35 commit 3185905
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 26 deletions.
12 changes: 0 additions & 12 deletions test/tf/azure-vmss/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,3 @@ module "vmss" {
location = "${azurerm_resource_group.test.location}"
subnet_id = "${module.network.subnet_id}"
}

output "public_ip" {
value = "${module.vmss.public_ip}"
}

output "vm_scale_set" {
value = "${module.vmss.vm_scale_set}"
}

output "resource_group" {
value = "${azurerm_resource_group.test.name}"
}
3 changes: 2 additions & 1 deletion test/tf/azure-vmss/modules/vmss/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# pin azure provider for https://github.com/terraform-providers/terraform-provider-azurerm/pull/2035
provider "azurerm" {
version = "~> 1.3"
version = "~> 1.16.0"
}

provider "random" {
Expand Down
14 changes: 1 addition & 13 deletions test/tf/azurerm/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
provider "azurerm" {
version = "~> 1.3"
version = "~> 1.20.0"
}

provider "random" {
Expand Down Expand Up @@ -57,15 +57,3 @@ module "vm03" {
location = "${azurerm_resource_group.test.location}"
subnet_id = "${module.network.subnet_id}"
}

output "public_ips" {
value = ["${module.vm01.public_ip}", "${module.vm02.public_ip}", "${module.vm03.public_ip}"]
}

output "private_ips" {
value = ["${module.vm01.private_ip}", "${module.vm02.private_ip}", "${module.vm03.private_ip}"]
}

output "tagged_ips" {
value = ["${module.vm01.private_ip}", "${module.vm02.private_ip}"]
}

0 comments on commit 3185905

Please sign in to comment.