-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
Bug when creating a VPC attachment into the TGW shared from different account #47
Comments
Same thing here Terraform: v1.0.0 |
Same issue here: Terraform: v0.14.11 |
same issue: Terraform: v1.0.2 |
This will fix this bug: terraform-aws-modules#47
Same issue here. Terraform: v0.14.11 Any resent resolution? I see PR opened. |
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
Hi There!
I trying to create a TGW in an account and shared it with another account, let's call them "Account A" and "Account B" respectively.
Both "
aws_ec2_transit_gateway_route_table_association.this
" and "aws_ec2_transit_gateway_route_table_propagation.this
" were failed to create in "Account B" module.It seems like bugs in these lines:
The "Account B" module is trying to provision with
create_tgw = false
, hence "aws_ec2_transit_gateway_route_table.this
" will not be created. I guess the lines above failed because it trying to referencesaws_ec2_transit_gateway_route_table.this[0].id
which is a null object, hence getting Invalid index error.Versions
Reproduction
Steps to reproduce the behavior:
Code Snippet to Reproduce
Account A
Account B (shared)
Expected behavior
Able to associate the routing table to Account B VPC attachment.
Actual behavior
Failed due to the suspected bug mentioned above.
Terminal Output Screenshot(s)
Refer to the output above.
The text was updated successfully, but these errors were encountered: