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
When importing a client with the provider, it does not pull in addon-related data, such that a plan for terraform and a client having addons will think that a change/modify is necessary to get in-line with what is present in Auth0 for the client.
When running a terraform import for a given client, it would be nice if the addons were imported as well, such that a subsequent terraform plan does not try to modify an existing client for which addons already exist.
Actual Behavior
Steps to Reproduce
terraform plan
After an import, a subsequent plan of a client having addons looks like the following
Using v1.6.1, I'm still finding this behavior. Not sure if it's a regression from some time between 0.29 and now.
We had an application with the SAML2 (samlp) addon configured. Imported it to a resource that had no addons configured and the plan stage detected no changes.
We then added the samlp block to our addons block for the now-imported app resource and and plan told us that addition was a change, just like in OP's Steps to Reproduce. Applying didn't actually change anything, since we already had the addon enabled with defaults for everything, but I suspect that if we had changed any of the default configuration, the auth0 provider would have overwritten those changes while claiming they were mere additions.
From terraform-provider-auth0 created by larryboymi: alexkappa/terraform-provider-auth0#361
Description
When importing a client with the provider, it does not pull in addon-related data, such that a plan for terraform and a client having addons will think that a change/modify is necessary to get in-line with what is present in Auth0 for the client.
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
When running a
terraform import
for a given client, it would be nice if the addons were imported as well, such that a subsequentterraform plan
does not try to modify an existing client for which addons already exist.Actual Behavior
Steps to Reproduce
terraform plan
After an import, a subsequent plan of a client having addons looks like the following
Community Note
The text was updated successfully, but these errors were encountered: