-
Notifications
You must be signed in to change notification settings - Fork 2
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
Theme not working correctly #493
Comments
After the initial stack creation and with no additional updates to code or config, there is a change to the background image, favicon, and logo when you do pulumi up. This results in a failure. Failure
Deleting the stack
The stack shows deleted but all of the customizations in Okta are not set to the defaults. I.E. the logo, favicon, background image, etc are still there. |
Hi @tomburge. I'm sorry to hear that. It looks like this boils down to a documentation error. This should be attached to pulumi-okta/sdk/python/pulumi_okta/theme.py Lines 528 to 542 in 584c31b
That explains the lack of a true create and delete semantic, as well as the weirdness for optional args. |
What happened?
When I try to use Theme (https://www.pulumi.com/registry/packages/okta/api-docs/theme/) unless I put all the parameters, meaning nothing is optional, the stack creates successfully. When I try to change one parameter, Okta updates successfully but Pulumi reports an error.
Example
config:
code:
Initial stack:
Stack change:
Output of
pulumi about
Additional context
This is an Okta developer instance. The config and function work successfully the first time, but if you try to change a parameter or you create with a single parameter such as logo with the brand id and theme id then the update errors.
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: