You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VPC component in this repo uses subnets module version, that doesn't support Melbourne opt-in region (ap-southeast-4). vpc/main.tf#L142
The issue is that cloudposse/dynamic-subnets/aws version 2.3.0 uses cloudposse/utils version 1.1.0, which was released when Melbourne wasn't in its code.
cloudposse/dynamic-subnets/aws 2.4.0 uses cloudposse/utils version 1.3.0, which includes support for Melbourne
(It was actually added in utils 1.2.0 - cloudposse/terraform-aws-utils#26)
It would be great, if this component could be updated to use cloudposse/dynamic-subnets/aws 2.4.0 or higher.
Expected Behavior
Deployment of a vpc works in ap-southeast-4.
Steps to Reproduce
Use the VPC component with these variables:
# Variables for the component 'vpc' in the stack 'core-apse4-network':availability_zones:
- a
- b
- cenabled: trueenvironment: apse4map_public_ip_on_launch: falsemax_subnet_count: 3region: ap-southeast-4stage: network
run the stack and observe the error atmos terraform apply vpc -s core-apse4-network
Planning failed. Terraform encountered an error while generating this plan.
│ Error: Invalid index
│
│ on .terraform/modules/subnets/main.tf line 71, in locals:
│ 71: subnet_az_abbreviations = [for az in local.subnet_availability_zones : local.az_abbreviation_map[az]]
│ ├────────────────
│ │ local.az_abbreviation_map is object with 271 attributes
│
│ The given key does not identify an element in this collection value.
╵
╷
│ Error: Invalid index
│
│ on .terraform/modules/subnets/main.tf line 71, in locals:
│ 71: subnet_az_abbreviations = [for az in local.subnet_availability_zones : local.az_abbreviation_map[az]]
│ ├────────────────
│ │ local.az_abbreviation_map is object with 271 attributes
│
│ The given key does not identify an element in this collection value.
╵
╷
│ Error: Invalid index
│
│ on .terraform/modules/subnets/main.tf line 71, in locals:
│ 71: subnet_az_abbreviations = [for az in local.subnet_availability_zones : local.az_abbreviation_map[az]]
│ ├────────────────
│ │ local.az_abbreviation_map is object with 271 attributes
│
│ The given key does not identify an element in this collection value.
╵
exit status 1
Screenshots
No response
Environment
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Describe the Bug
VPC component in this repo uses subnets module version, that doesn't support Melbourne opt-in region (ap-southeast-4).
vpc/main.tf#L142
The issue is that cloudposse/dynamic-subnets/aws version 2.3.0 uses cloudposse/utils version 1.1.0, which was released when Melbourne wasn't in its code.
cloudposse/dynamic-subnets/aws 2.4.0 uses cloudposse/utils version 1.3.0, which includes support for Melbourne
(It was actually added in utils 1.2.0 - cloudposse/terraform-aws-utils#26)
It would be great, if this component could be updated to use cloudposse/dynamic-subnets/aws 2.4.0 or higher.
Expected Behavior
Deployment of a vpc works in ap-southeast-4.
Steps to Reproduce
Use the VPC component with these variables:
run the stack and observe the error
atmos terraform apply vpc -s core-apse4-network
Screenshots
No response
Environment
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: