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

Why I have to reapply the same Terraform to see my custom theme is applied #249

Open
kasir-barati opened this issue Nov 16, 2023 · 1 comment

Comments

@kasir-barati
Copy link

I have a fusionauth instance which I am configuring it via terraform, here is the link to the reproducible repo: https://github.com/kasir-barati/docker/tree/docker-compose/docker-compose-files/fusionauth-terraform

and here is the terraform init, plan, and apply log

Any idea?

@kasir-barati
Copy link
Author

In the first terraform apply -auto-approve it can read and shows the stylesheet and handlers and everything that I specified for the custom theme in the terminal but when I login to the fusionauth instance with the super admin credentials and go the the Themes page and click on edit Custom Theme it shows that stylesheet is empty even though terraform plan and apply was saying that they using the files I passed but in the second terraform apply, terraform logs that it has changed the stylesheet and all the ftl files for the custom theme.

So I think something is wrong with the fusionauth_theme resource TBF. BTW I will try to talk to the fusionauth API directly to confirm that if I create a theme like that it is gonna work on the first try

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