Open Jarodiv opened 1 year ago
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
"Keep alive" post
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
"Keep alive" post
Can confirm, we have the same issue. A two-step apply seems to be the best workaround right now.
Same here, it does work when replacing the for_each statement with a count, but the trade-off isn't worth it in our opinion.
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
"Keep alive" post
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
"Keep alive" post
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
"Keep alive" post
Closing this issue as it has been resolved in version 2.12.1 π -> https://github.com/terraform-aws-modules/terraform-aws-transit-gateway/issues/112#issuecomment-1850127996
Confused this issue with the other one I've created. Sorry for any inconveniences.
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
keep alive post
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
"Keep alive" post
Can confirm, I have the same issue.
I have the same issue.
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
"Keep alive" post
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
"Keep alive" post
can confirm, also having this issue.
Same here, it does work when replacing the for_each statement with a count, but the trade-off isn't worth it in our opinion.
Really? My attempts to replace it with a count
locally also fail with a similar error
β Error: Invalid count argument
β
β on ../../main.tf line 133, in resource "aws_route" "this":
β 133: count = length(local.vpc_route_table_destination_cidr)
β
β The "count" value depends on resource attributes that cannot be determined until apply, so Terraform cannot predict
β how many instances will be created. To work around this, use the -target argument to first apply only the resources
β that the count depends on.
Same here, it does work when replacing the for_each statement with a count, but the trade-off isn't worth it in our opinion.
Really? My attempts to replace it with a
count
locally also fail with a similar errorβ Error: Invalid count argument β β on ../../main.tf line 133, in resource "aws_route" "this": β 133: count = length(local.vpc_route_table_destination_cidr) β β The "count" value depends on resource attributes that cannot be determined until apply, so Terraform cannot predict β how many instances will be created. To work around this, use the -target argument to first apply only the resources β that the count depends on.
Interesting, might this be related to the tf version? I haven't tried this since August last year.
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
"Keep alive" post
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
"Keep alive" post
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
"Keep alive" post
Description
βΉοΈ This is a copy of #100 which was closed automatically while still valid.
Trying to add routes to Route Tables provided via
vpc_attachments[].vpc_route_table_ids
results in Terraform failing with an error message.Versions
Reproduction Code [Required]
Everything it needs is to configure IPv6 and provide VPC Route Tables:
Expected behavior
The code runs and routes are being created.
Actual behavior
The code fails with