-
-
Notifications
You must be signed in to change notification settings - Fork 148
Open
Labels
bugπ An issue with the systemπ An issue with the system
Description
Describe the Bug
https://atmos.tools/stacks/providers#multi-region-with-provider-aliases, this example is not working, the actual generated file is different from the example.
Expected Behavior
The generated file is the same as the example.
Steps to Reproduce
With the following atmos component config:
components:
terraform:
eip:
providers:
aws:
region: us-east-2
aws.use1:
region: us-east-1
alias: use1
metadata:
component: eip
Run atmos command and check the output of providers_override.tf.json
Screenshots
The content of the generated providers_override.tf.json
{
"provider": {
"aws": {
"region": "us-east-2"
},
"aws.use1": {
"alias": "use1",
"region": "us-east-1"
}
}
}
Would expect it to be :
{
"provider": {
"aws": [
{
"region": "us-east-2"
},
{
"alias": "use1",
"region": "us-east-1"
}
]
}
}
Environment
- OS: OSX
- Version: 1.209.0
- Terraform version: v1.14.7
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Labels
bugπ An issue with the systemπ An issue with the system