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
{{ message }}
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.
I have an auth0_client, and modified the description. The terraform state is not updated, meaning the modified resource re-appears in all subsequent plan's.
Terraform Version
Terraform v0.12.24
+ provider.auth0 v0.14.0
Affected Resource(s)
auth0_client
Terraform Configuration Files
Expected Behavior
When the resource state in Auth0 is updated, the terraform state is updated.
Actual Behavior
The resource state in Auth0 is updated, but the terraform state is not modified.
Steps to Reproduce
Create a auth0_client with a description
Update the description with an apply
Do another plan and see that the state is not clean
The text was updated successfully, but these errors were encountered:
I am not sure however how this provider is supposed to handle this. Internally we rely on Terraform's ResourceData.GetOk method to check whether the value of description has been set to a non zero value, which states:
GetOk returns the data for the given key and whether or not the key has been set to a non-zero value at some point.
I wonder what "at some point" means in this context, because to me it sounds like after being set to a non-zero initially, subsequent calls to GetOk should return true.
This relates to several other issues that are present within the provider and I have captured this along with the others within auth0/terraform-provider-auth0#14.
Description
I have an
auth0_client
, and modified thedescription
. The terraform state is not updated, meaning the modified resource re-appears in all subsequentplan
's.Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
When the resource state in Auth0 is updated, the terraform state is updated.
Actual Behavior
The resource state in Auth0 is updated, but the terraform state is not modified.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: