Skip to content

Provider produced inconsistent result after apply #1370

@sophie-warner-annalise-ai

Description

Checklist

  • I have looked into the README and have not found a suitable solution or answer.
  • I have looked into the documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have upgraded to the latest version of this provider and the issue still persists.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

Inconsistent result when applying client grant. Doesn't seem to cause any underlying issues. Similar to #1007 but still occurring on latest version

  │ Error: Provider produced inconsistent result after apply
  │
  │ When applying changes to auth0_client_grant.management_api, provider
  │ "provider[\"registry.opentofu.org/auth0/auth0\"]" produced an unexpected
  │ new value: root object was present, but now absent.
  │
  │ This is a bug in the provider, which should be reported in the provider's
  │ own issue tracker.

Expectation

client grant applies with no errors

Reproduction

Apply auth0_client_grant where resource is created.

For example:

   # auth0_client_grant.custom_permissions["Auth0 UI Deployment"] must be replaced
 -/+ resource "auth0_client_grant" "custom_permissions" {
       - allow_any_organization      = false -> null
       - authorization_details_types = [] -> null
       ~ client_id                   = "" -> "" # forces replacement
       ~ id                          = "" -> (known after apply)
       ~ subject_type                = "client" -> (known after apply)
         # (2 unchanged attributes hidden)
     }

Auth0 Terraform Provider version

v1.30.0

Terraform version

OpenTofu v1.10.6

Metadata

Metadata

Assignees

Labels

🪲 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions