diff --git a/big-ip/terraform/configuration/as3Applications.tf b/big-ip/terraform/configuration/as3Applications.tf index 876e2ed4..ff78a92c 100644 --- a/big-ip/terraform/configuration/as3Applications.tf +++ b/big-ip/terraform/configuration/as3Applications.tf @@ -3,7 +3,7 @@ # HTTP declarations resource "bigip_as3" "http-declarations" { for_each = fileset(path.module, "applications/as3/http/**.tpl") - as3_json = templatefile("${path.module}/${each.key}", { subscriptionId = var.ARM_SUBSCRIPTION_ID }) + as3_json = templatefile("${path.module}/${each.key}", { as3-version = var.as3-version }) ignore_metadata = true } @@ -17,7 +17,7 @@ resource "bigip_as3" "https-declarations" { # WIP declarations resource "bigip_as3" "wip-declarations" { for_each = fileset(path.module, "applications/as3/wip/**.tpl") - as3_json = templatefile("${path.module}/${each.key}", { subscriptionId = var.ARM_SUBSCRIPTION_ID }) + as3_json = templatefile("${path.module}/${each.key}", { as3-version = var.as3-version }) ignore_metadata = true depends_on = [bigip_as3.http-declarations, bigip_as3.https-declarations] } @@ -25,14 +25,14 @@ resource "bigip_as3" "wip-declarations" { # TCP declarations resource "bigip_as3" "tcp-declarations" { for_each = fileset(path.module, "applications/as3/tcp/**.tpl") - as3_json = templatefile("${path.module}/${each.key}", { subscriptionId = var.ARM_SUBSCRIPTION_ID }) + as3_json = templatefile("${path.module}/${each.key}", { as3-version = var.as3-version }) ignore_metadata = true } # UDP declarations resource "bigip_as3" "udp-declarations" { for_each = fileset(path.module, "applications/as3/udp/**.tpl") - as3_json = templatefile("${path.module}/${each.key}", { subscriptionId = var.ARM_SUBSCRIPTION_ID }) + as3_json = templatefile("${path.module}/${each.key}", { as3-version = var.as3-version }) ignore_metadata = true }