Sometimes, when applying a change to auth0_branding, where we change universal_login.body, we get the following error from Terraform:
Error: Provider produced inconsistent final plan
When expanding the plan for auth0_branding.default to include new values learned so far during apply, provider "registry.terraform.io/auth0/auth0" produced an invalid new value for .universal_login[0].body: was cty.StringVal(<old value>), but now cty.StringVal(<new value>).
This is a bug in the provider, which should be reported in the provider's own issue tracker.
A new Terraform Apply resolves the issue.
Expectation
I would expect it to not fail, and properly apply the new branding.
Reproduction
I don't have a minimal repro example, as this is only occurring sometimes, not all of the times.
Checklist
Description
Sometimes, when applying a change to
auth0_branding
, where we changeuniversal_login.body
, we get the following error from Terraform:A new Terraform Apply resolves the issue.
Expectation
I would expect it to not fail, and properly apply the new branding.
Reproduction
I don't have a minimal repro example, as this is only occurring sometimes, not all of the times.
Our branding-block looks like this:
Auth0 Terraform Provider version
1.3.0
Terraform version
1.5.7