Skip to content

Commit a5757e9

Browse files
committed
save
Signed-off-by: vsoch <[email protected]>
1 parent 182e647 commit a5757e9

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tutorial/azure/main.tf

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ locals {
6161
# This will be newly created
6262
resource_group_name = "terraform-testing"
6363

64-
# Custom Build variables (the packer build)
65-
vm_image_name = "flux-framework"
66-
vm_image_resource_group = "packer-testing"
67-
6864
# This is also called the SKU
6965
vm_image_size = "Standard_HB120-96rs_v3"
7066
location = "southcentralus"
@@ -103,15 +99,6 @@ resource "azurerm_subnet" "vmss" {
10399
address_prefixes = ["10.0.2.0/24"]
104100
}
105101

106-
data "azurerm_resource_group" "image" {
107-
name = local.vm_image_resource_group
108-
}
109-
110-
data "azurerm_image" "image" {
111-
name = local.vm_image_name
112-
resource_group_name = data.azurerm_resource_group.image.name
113-
}
114-
115102
resource "azapi_resource" "ssh_public_key" {
116103
type = "Microsoft.Compute/sshPublicKeys@2022-11-01"
117104
name = random_pet.id.id

0 commit comments

Comments
 (0)