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

How to use source_theme_id correctly? #172

Open
lyricnz opened this issue Feb 22, 2023 · 1 comment
Open

How to use source_theme_id correctly? #172

lyricnz opened this issue Feb 22, 2023 · 1 comment

Comments

@lyricnz
Copy link

lyricnz commented Feb 22, 2023

What's the correct way to make a derived theme? (ie: start by copying another, then make some changes)

If I do

resource "fusionauth_theme" "example_theme_custom" {
  name            = "my custom theme"
  source_theme_id = "75a068fd-e94b-451a-9aeb-3ddb9a3b5987" # default theme magic number: https://github.com/FusionAuth/fusionauth-issues/issues/459
  helpers = file("${path.module}/theme_templates/helpers.ftl")
}

The "helpers" page of the theme settings isn't used, only the source theme. If I remove the source_theme_id afterwards, and reapply the TF, then the helpers setting is changed.

Shouldn't the explicit settings override the values from the source-theme?

@tobilen
Copy link
Contributor

tobilen commented Mar 30, 2023

I am experiencing the same problem. This seems to be an issue with the theme api endpoint, not the tf provider though.

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