Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forced recreation because of encrypted values #117

Open
faelau opened this issue Oct 17, 2024 · 0 comments
Open

Forced recreation because of encrypted values #117

faelau opened this issue Oct 17, 2024 · 0 comments

Comments

@faelau
Copy link

faelau commented Oct 17, 2024

If you create a object which values are stored in encrypted format, Terraform force to recreate the property because Terraform thinks it has changed:

awx_settings_oidc.authentik: Creating...
╷
│ Error: Provider produced inconsistent result after apply
│ 
│ When applying changes to awx_settings_oidc.authentik, provider "provider[\"registry.terraform.io/ilijamt/awx\"]" produced an unexpected new value: .social_auth_oidc_secret: was
│ cty.StringVal("abc123abc123abc123"), but now
│ cty.StringVal("$encrypted$").
│ 
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

Encrypted values should only be changed when the value changes in the manifest.

Other encrypted values (e.g. LDAP bind password) are also affected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant