Closed wellsiau-aws closed 4 months ago
We know that description
is not a force-replacement attributes
"createOnlyProperties": [
"/properties/ApplyCapacity",
"/properties/BuildId",
"/properties/CertificateConfiguration",
"/properties/EC2InstanceType",
"/properties/FleetType",
"/properties/InstanceRoleARN",
"/properties/InstanceRoleCredentialsProvider",
"/properties/LogPaths",
"/properties/PeerVpcAwsAccountId",
"/properties/PeerVpcId",
"/properties/ScriptId",
"/properties/ServerLaunchParameters",
"/properties/ServerLaunchPath",
"/properties/CertificateType",
"/properties/ComputeType"
],
relates to #1139
fix confirmed, tested on the latest AWSCC provider ver 1.2.0
Community Note
Terraform CLI and Terraform AWS Cloud Control Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Expected Behavior
When changing mutable attribute such as
description
, I expect the resource to modify the attribute instead of re-creating it.Actual Behavior
Resource replacement triggered by Terraform plan
Steps to Reproduce
terraform apply
description
attribute to something elseterraform plan
Important Factoids
References
0000