You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, if a user changes case for any of the following fields, TF recognizes the change as a diff in state and attempts to update the resource. This results in an error rpc error: code = InvalidArgument desc = nothing to change.
Terraform provides the ability to modify the Plan stage to ignore case changes using RequiresReplaceIf
Is your feature request related to a problem? Please describe.
Currently, if a user changes case for any of the following fields, TF recognizes the change as a diff in state and attempts to update the resource. This results in an error
rpc error: code = InvalidArgument desc = nothing to change
.Terraform provides the ability to modify the Plan stage to ignore case changes using
RequiresReplaceIf
List of fields susceptible to this issue:
Describe the solution you'd like
Use a RequiresReplaceIf plan modifier for these fields so TF ignores case changes and does not attempt to call an update with an unmodified change.
Additional context
To reproduce the issue that triggered this feature request, use terraform to run the following .tf excerpt twice, switching the comment to change case
The text was updated successfully, but these errors were encountered: