Skip to content

Commit

Permalink
Fix the vm_series_sku and no-bootstrap variables
Browse files Browse the repository at this point in the history
  • Loading branch information
adambaumeister committed Sep 24, 2020
1 parent 1427c67 commit 3b1b1c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions modules/vm-no-bootstrap/vmseries.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ variable "vm_series_sku" {
}
variable "vm_series_version" {
default = "9.0.4"
}
}

0 comments on commit 3b1b1c5

Please sign in to comment.