From 3b1b1c579a94af7e2923779eb869ef16c11c04b2 Mon Sep 17 00:00:00 2001 From: abaumeister Date: Thu, 24 Sep 2020 12:33:58 +1000 Subject: [PATCH] Fix the vm_series_sku and no-bootstrap variables --- modules/vm-no-bootstrap/vmseries.tf | 6 +++--- variables.tf | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/vm-no-bootstrap/vmseries.tf b/modules/vm-no-bootstrap/vmseries.tf index 2bc007b..cf344ff 100644 --- a/modules/vm-no-bootstrap/vmseries.tf +++ b/modules/vm-no-bootstrap/vmseries.tf @@ -86,10 +86,10 @@ resource "azurerm_virtual_machine_scale_set" "inbound-scale-set" { create_option = "FromImage" name = "${var.name_prefix}-vhd-profile" caching = "ReadWrite" - vhd_containers = ["${var.bootstrap-storage-account.primary_blob_endpoint}${var.vhd-container}"] + vhd_containers = ["${azurerm_storage_account.vhd-storage-account.name}${azurerm_storage_container.vm-sc.name}"] } plan { - name = "bundle2" + name = var.vm_series_sku publisher = "paloaltonetworks" product = "vmseries1" } @@ -164,7 +164,7 @@ resource "azurerm_virtual_machine_scale_set" "outbound-scale-set" { name = var.vmseries_size } plan { - name = "bundle2" + name = var.vm_series_sku publisher = "paloaltonetworks" product = "vmseries1" } diff --git a/variables.tf b/variables.tf index 083342b..69b92fc 100644 --- a/variables.tf +++ b/variables.tf @@ -98,4 +98,4 @@ variable "vm_series_sku" { } variable "vm_series_version" { default = "9.0.4" -} +} \ No newline at end of file