From ff13ec4e3f1f62ed5f7737270a9a14bb3b46f1ff Mon Sep 17 00:00:00 2001 From: Jon Calalang Date: Thu, 30 Nov 2023 21:58:32 -0800 Subject: [PATCH] updated the wrong as3 resource, fixing all --- big-ip/terraform/configuration/as3Applications.tf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 }