Hi Team,
We have an attribute of type string for which had a PlanModifer to make it’s value case-insensitive, after creating the resource, modified the value of the attribute, when terraform plan is made, there is a diff showing for other computed attributes and there is no diff for the current attribute which had PlanModifier.
Steps:
- Terraform apply (with description value as "hello plugin 1 ")
- Terraform plan (No diff is shown)
- Modified description to "HELLO plugin 1 "
- Terraform plan (shows diff for other computed attributes)
There is a PlanModifer for description attribute and because of it, there is no diff for this in plan but it is showing diff for all other computed and optional+computed fields.