Skip to content

System Settings CORS changes not deploying correctly #331

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

Open
jessicavilaysakfrollo opened this issue May 7, 2025 · 1 comment
Open

Comments

@jessicavilaysakfrollo
Copy link

When I deploy with this config

cors_configuration {
enabled = true
allow_credentials = true
allowed_headers = []
allowed_methods = ["GET", "POST"]
allowed_origins = ["*"]
exposed_headers = []
preflight_max_age_in_seconds = 0
debug = false
}

The terraform plan shows the correct changes:
Image

But post deploy, my changes are not reflected in FusionAuth.
Image

Then when i do a terraform plan again without making any changes, it shows the same diff.

I expect my system config changes to be deployed to FusionAuth but that isn't the case for this resource.

@TomKimber
Copy link
Collaborator

Hi @jessicavilaysakfrollo, I've reproduced the issue and have a fix but it requires a change small change in the provider behaviour. I will test further and assuming this change in provider behaviour is acceptable will look to get this fix into the next release.

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

2 participants