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

Error: fusionauth_registration error when user dismisses license prompt #292

Open
flelli opened this issue Sep 25, 2024 · 0 comments
Open

Comments

@flelli
Copy link

flelli commented Sep 25, 2024

If a user dismisses the license prompt shown on the bottom left on the UI the fusionauth_registration resource raises an error when reading and unmarshalling the resource status.
Ignoring change to the data attribute does not prevent the error.

Terraform error looks like:

Error: registration.data: data.preferences: '' expected type 'string', got unconvertible type 'map[string]interface {}', value: 'map[announcements:map[licenseCTA:dismissed]]'

  with module.FUSIONAUTH-CONFIGURATION.fusionauth_registration.user_application_registration,
  on users.tf line 92, in resource "fusionauth_registration" "user_application_registration":
  92: resource "fusionauth_registration" "user_application_registration" {
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