Skip to content
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

enhancement: Add TGW Accepter resource #3

Merged
merged 7 commits into from
Sep 4, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add association=false as default
marlonparmentier committed Sep 4, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit c0bc3ce60666077b93505072adcef8f829cae6c4
3 changes: 2 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
@@ -237,8 +237,9 @@ resource "aws_ec2_transit_gateway_vpc_attachment_accepter" "default" {
count = anytrue(var.networks[*].tgw_attachment) ? 1 : 0

transit_gateway_attachment_id = aws_ec2_transit_gateway_vpc_attachment.default[count.index].id
transit_gateway_default_route_table_association = false
transit_gateway_default_route_table_propagation = false
tags = var.tags
tags = merge(var.tags, { Name = each.key })
depends_on = [aws_ec2_transit_gateway_vpc_attachment.default[0]]

}