Skip to content

Commit

Permalink
updated the wrong as3 resource, fixing all
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcalalang committed Dec 1, 2023
1 parent 2563ff9 commit ff13ec4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions big-ip/terraform/configuration/as3Applications.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand All @@ -17,22 +17,22 @@ 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]
}

# 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
}

Expand Down

0 comments on commit ff13ec4

Please sign in to comment.