aws_security_group_rule
requires replacement when ordering of cidr_blocks
argument changes
#19082
Labels
service/ec2
Issues and PRs that pertain to the ec2 service.
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v0.13.3
Provider version is
3.37.0
Affected Resource(s)
aws_security_group_rule
Terraform Configuration Files
Using https://github.com/cloudposse/terraform-aws-elasticsearch
Debug Output
N/A
Panic Output
N/A
Expected Behavior
When the ordering of
var.allowed_cidr_blocks
changes, then the security group rule should not be rebuilt.Actual Behavior
When the ordering of
var.allowed_cidr_blocks
changes, the security group rule is replaced:Steps to Reproduce
aws_security_group
and associatedaws_security_group_rule
cidr_blocks
argument.terraform apply
sort
terraform plan
Important Factoids
N/A
References
The text was updated successfully, but these errors were encountered: