You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you don't have IPv6 cidr specified for VPC module will not work because of this change data.aws_vpc.requester[*].ipv6_cidr_block returns list with one empty element, and length will be always > 0
same for accepter
Changes introduced in PR #101
Expected Behavior
No changes if IPv6 CIDRs not defined.
Steps to Reproduce
Apply module (starting from version 0.20.1) for VPCs without IPv6 CIDRs defined.
Screenshots
No response
Environment
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
adziura-ledger
changed the title
IPv6 communication over VPC peering PR broke module functionality without IPv6 specified
"IPv6 communication over VPC peering" PR broke module functionality without IPv6 specified
Oct 1, 2024
│ Error: "" is not a valid CIDR block: invalid CIDR address:
│
│ with module.peering.aws_route.accepter_ipv6[0],
│ on .terraform\modules\peering\accepter.tf line 128, in resource "aws_route" "accepter_ipv6":
│ 128: destination_ipv6_cidr_block = local.requester_ipv6_cidr_block_associations[count.index % local.requester_ipv6_cidr_block_associations_count]["cidr_block"]
Describe the Bug
When you don't have IPv6 cidr specified for VPC module will not work because of this change
data.aws_vpc.requester[*].ipv6_cidr_block
returns list with one empty element, and length will be always > 0same for accepter
Changes introduced in PR #101
Expected Behavior
No changes if IPv6 CIDRs not defined.
Steps to Reproduce
Apply module (starting from version 0.20.1) for VPCs without IPv6 CIDRs defined.
Screenshots
No response
Environment
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: