Same CIDR can't be use in tgw route table
seanlok opened this issue · comments
Description
Please provide a clear and concise description of the issue you are encountering, and a reproduction of your configuration (see the examples/*
directory for references that you can copy+paste and tailor to match your configs if you are unable to copy your exact configuration). The reproduction MUST be executable by running terraform init && terraform apply
without any further changes.
If your request is for a new feature, please use the Feature request
template.
- ✋ I have searched the open/closed issues and my issue is not listed.
⚠️ Note
Before you submit an issue, please perform the following first:
- Remove the local
.terraform
directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/
- Re-initialize the project root to pull down modules:
terraform init
- Re-attempt your terraform plan or apply and check if the issue still persists
Versions
-
Module version [Required]:
-
Terraform version:
0.14.4 -
Provider version(s):
4.4.0
Reproduction Code [Required]
within tgw
module:
vpc_attachments = {
456_vpc = {
vpc_id = 456
subnet_ids =789
dns_support = true
ipv6_support = false
tgw_routes = [
{
destination_cidr_block = "10.0.0.0/16"
}
]
}
123_vpc = {
vpc_id = 123
subnet_ids = 456
dns_support = true
ipv6_support = false
tgw_routes = [
{
destination_cidr_block = "10.0.0.0/16"
}
]
}
}
Steps to reproduce the behavior:
use the same cidr for destination block between two vpc, the route entry will be keep flip each time you plan and apply.
Expected behavior
Two unique entry in tgw route table.
Actual behavior
The route entry in tgw keep flip between 2 entry
Terminal Output Screenshot(s)
Additional context
This issue has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this issue will be closed in 10 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.