plan detects changes in aws_ssm_parameter ARN when it shouldn't #14164
Labels
bug
Addresses a defect in current functionality.
service/ssm
Issues and PRs that pertain to the ssm service.
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Basically any resource which uses an ARN of an SSM parameter. Such as this example where data.aws_iam_policy_document uses an SSM ARN as part of building an IAM policy:
Expected Behavior
If the
value
of the parameter changes, it will only change thevalue
, it won't recreate the SSM parameter or the ARN of the parameter. And thus the resources using the parameter ARN shouldn't report a change as part ofterraform plan
.Actual Behavior
If the
value
of the parameter changes, any resources using the ARN of the parameter will show up interraform plan
and report that they will change.Steps to Reproduce
value
of the parameter, which does not recreate the SSM parameter or change it's ARN. Run aplan
.The text was updated successfully, but these errors were encountered: