Closed Nuru closed 2 years ago
This module creates Security Group Rules using create_before_destroy = true. This causes Terraform to fail when adding or removing CIDRs to an existing rule where an existing CIDR is retained, due to an issue with the Terraform AWS provider.
create_before_destroy = true
See https://github.com/hashicorp/terraform-provider-aws/issues/25173 for details and examples.
See also https://github.com/hashicorp/terraform/issues/31316 for proposed solutions.
Describe the Bug
This module creates Security Group Rules using
create_before_destroy = true
. This causes Terraform to fail when adding or removing CIDRs to an existing rule where an existing CIDR is retained, due to an issue with the Terraform AWS provider.See https://github.com/hashicorp/terraform-provider-aws/issues/25173 for details and examples.
See also https://github.com/hashicorp/terraform/issues/31316 for proposed solutions.