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
The state of the "restapi_object" resource changes when there is any change to the read-only attributes like api_data and api_response outside of Terraform, and it shows up in terraform plan/apply output.
After adding the above changes, I see the following warning in Terraform plan/apply output:
Warning: Redundant ignore_changes element
│
│ 39: resource "restapi_object" "check" {
│
│ Adding an attribute name to ignore_changes tells Terraform to ignore future changes to the argument in
│ configuration after the object has been created, retaining the value originally configured.
│
│ The attribute api_response is decided by the provider alone and therefore there can be no configured value to
│ compare with. Including this attribute in ignore_changes has no effect. Remove the attribute from
│ ignore_changes to quiet this warning.
Versions
Terraform v1.4.6
Mastercard/restapi v1.18.0
The text was updated successfully, but these errors were encountered:
The state of the "restapi_object" resource changes when there is any change to the read-only attributes like
api_data
andapi_response
outside of Terraform, and it shows up interraform plan/apply
output.For example:
I tried to ignore these changes using the
lifecycle
block'signore_changes
argument as follows, which I think has no effect (see warning below):After adding the above changes, I see the following warning in Terraform plan/apply output:
Versions
Terraform v1.4.6
Mastercard/restapi v1.18.0
The text was updated successfully, but these errors were encountered: