diff --git a/examples/bigip_aws_2nic_deploy/main.tf b/examples/bigip_aws_2nic_deploy/main.tf index 7105171..16b3166 100644 --- a/examples/bigip_aws_2nic_deploy/main.tf +++ b/examples/bigip_aws_2nic_deploy/main.tf @@ -66,10 +66,14 @@ resource "aws_route_table" "internet-gw" { } } +data "aws_availability_zones" "available" { + state = "available" +} + resource "aws_subnet" "mgmt" { vpc_id = module.vpc.vpc_id cidr_block = cidrsubnet(var.cidr, 8, 1) - availability_zone = format("%sa", var.region) + availability_zone = data.aws_availability_zones.available.names[0] tags = { Name = "management" @@ -84,7 +88,7 @@ resource "aws_route_table_association" "route_table_management" { resource "aws_subnet" "external-public" { vpc_id = module.vpc.vpc_id cidr_block = cidrsubnet(var.cidr, 8, 2) - availability_zone = format("%sa", var.region) + availability_zone = data.aws_availability_zones.available.names[0] tags = { Name = "external" diff --git a/examples/bigip_aws_2nic_deploy/terraform.tfvars b/examples/bigip_aws_2nic_deploy/terraform.tfvars index 7785eeb..0a84cba 100644 --- a/examples/bigip_aws_2nic_deploy/terraform.tfvars +++ b/examples/bigip_aws_2nic_deploy/terraform.tfvars @@ -1,2 +1,2 @@ -region = "us-east-1" +region = "us-west-1" AllowedIPs = ["0.0.0.0/0"] diff --git a/variables.tf b/variables.tf index 3338b12..720fe02 100644 --- a/variables.tf +++ b/variables.tf @@ -114,14 +114,14 @@ variable "internal_securitygroup_ids" { variable "DO_URL" { description = "URL to download the BIG-IP Declarative Onboarding module" type = string - default = "https://github.com/F5Networks/f5-declarative-onboarding/releases/download/v1.21.0/f5-declarative-onboarding-1.21.0-3.noarch.rpm" + default = "https://github.com/F5Networks/f5-declarative-onboarding/releases/download/v1.27.0/f5-declarative-onboarding-1.27.0-6.noarch.rpm" } ## Please check and update the latest AS3 URL from https://github.com/F5Networks/f5-appsvcs-extension/releases/latest # always point to a specific version in order to avoid inadvertent configuration inconsistency variable "AS3_URL" { description = "URL to download the BIG-IP Application Service Extension 3 (AS3) module" type = string - default = "https://github.com/F5Networks/f5-appsvcs-extension/releases/download/v3.28.0/f5-appsvcs-3.28.0-3.noarch.rpm" + default = "https://github.com/F5Networks/f5-appsvcs-extension/releases/download/v3.34.0/f5-appsvcs-3.34.0-4.noarch.rpm" } ## Please check and update the latest TS URL from https://github.com/F5Networks/f5-telemetry-streaming/releases/latest @@ -129,15 +129,15 @@ variable "AS3_URL" { variable "TS_URL" { description = "URL to download the BIG-IP Telemetry Streaming module" type = string - default = "https://github.com/F5Networks/f5-telemetry-streaming/releases/download/v1.20.0/f5-telemetry-1.20.0-3.noarch.rpm" + default = "https://github.com/F5Networks/f5-telemetry-streaming/releases/download/v1.26.0/f5-telemetry-1.26.0-3.noarch.rpm" } -## Please check and update the latest Failover Extension URL from https://github.com/f5devcentral/f5-cloud-failover-extension/releases/latest +## Please check and update the latest Failover Extension URL from https://github.com/F5Networks/f5-cloud-failover-extension/releases/latest # always point to a specific version in order to avoid inadvertent configuration inconsistency variable "CFE_URL" { description = "URL to download the BIG-IP Cloud Failover Extension module" type = string - default = "https://github.com/F5Networks/f5-cloud-failover-extension/releases/download/v1.8.0/f5-cloud-failover-1.8.0-0.noarch.rpm" + default = "https://github.com/F5Networks/f5-cloud-failover-extension/releases/download/v1.10.0/f5-cloud-failover-1.10.0-0.noarch.rpm" } ## Please check and update the latest FAST URL from https://github.com/F5Networks/f5-appsvcs-templates/releases/latest @@ -145,14 +145,15 @@ variable "CFE_URL" { variable "FAST_URL" { description = "URL to download the BIG-IP FAST module" type = string - default = "https://github.com/F5Networks/f5-appsvcs-templates/releases/download/v1.9.0/f5-appsvcs-templates-1.9.0-1.noarch.rpm" + default = "https://github.com/F5Networks/f5-appsvcs-templates/releases/download/v1.15.0/f5-appsvcs-templates-1.15.0-1.noarch.rpm" } + ## Please check and update the latest runtime init URL from https://github.com/F5Networks/f5-bigip-runtime-init/releases/latest # always point to a specific version in order to avoid inadvertent configuration inconsistency variable "INIT_URL" { description = "URL to download the BIG-IP runtime init" type = string - default = "https://cdn.f5.com/product/cloudsolutions/f5-bigip-runtime-init/v1.2.1/dist/f5-bigip-runtime-init-1.2.1-1.gz.run" + default = "https://cdn.f5.com/product/cloudsolutions/f5-bigip-runtime-init/v1.4.1/dist/f5-bigip-runtime-init-1.4.1-1.gz.run" } variable "libs_dir" { description = "Directory on the BIG-IP to download the A&O Toolchain into"