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