-
-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating a shared TGW across multiple AWS accounts fails #61
Comments
This issue has been automatically marked as stale because it has been open 30 days |
This may be related to hashicorp/terraform-provider-aws#20499 |
I run into the exact same issue. root cause is that line 126 & 134 the following fails because the indexed access is not available since the resource got not created when create tgw is set to false
|
This issue has been automatically marked as stale because it has been open 30 days |
This issue was automatically closed because of stale in 10 days |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
Using this module to create a shared TGW across multiple AWS account fails.
Before you submit an issue, please perform the following first:
.terraform
directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/
terraform init
Versions
Reproduction
Steps to reproduce the behavior:
All per the multi-account example
Expected behavior
A TGW is created in account A and we get a successful association with VPC in account B
Actual behavior
Routes and resources are not created
Probably related to:
#47
This may not strictly be a bug and needs some clarity of intended behaviour.
Our common set up would be to create the TGW resource in Account A using terraform to call in the module and be held in its own state file e.g.
Account A
Account B
The text was updated successfully, but these errors were encountered: