You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running terraform commands with the Zitadel provider, the provider attempts to immediately load the configuration. This is an issue when attempting to deploy the Zitadel Helm chart (as a helm_resource) and then immediately create resources using the Zitadel provider.
For example, here is an abstract of the Terraform I'm using to provision Zitadel on a k8s cluster:
But this fails planning and apply because the Zitadel provider attempts to load the jwt_profile_json string which is blank because the data resource isn't populated yet. The provider also errors when the helm_release is tainted or needs to be updated.
╷
│ Error: either 'jwt_profile_file' or 'jwt_profile_json' is required
│
│ with ...,
│ on ..., in provider "zitadel":
│ provider "zitadel" {
│
╵
I can work around this issue by running a "progressive apply":
But this is not ideal for me. I would like to see the provider only load the configuration when it needs to actively do something with a resource or data block. I base this request on the functionality of the Terraform kubernetes, helm, and kubectl providers because they all defer the loading of the kubeconfig until making API calls. It would be awesome if the Zitadel provider could support this!
Describe your ideal solution
As a system administrator, I would like the Zitadel provider to wait to attempt to load the machine user's key file until a dependent resource is available.
Version
1.1.1
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Thank you for sharing your idea.
If there is a significant demand from customers/community, we will carefully consider implementing the feature.
Currently, the issue will be added to our product backlog to collect feedback.
Preflight Checklist
Describe your problem
When running terraform commands with the Zitadel provider, the provider attempts to immediately load the configuration. This is an issue when attempting to deploy the Zitadel Helm chart (as a
helm_resource
) and then immediately create resources using the Zitadel provider.For example, here is an abstract of the Terraform I'm using to provision Zitadel on a k8s cluster:
But this fails planning and apply because the Zitadel provider attempts to load the
jwt_profile_json
string which is blank because the data resource isn't populated yet. The provider also errors when thehelm_release
is tainted or needs to be updated.I can work around this issue by running a "progressive apply":
But this is not ideal for me. I would like to see the provider only load the configuration when it needs to actively do something with a resource or data block. I base this request on the functionality of the Terraform kubernetes, helm, and kubectl providers because they all defer the loading of the
kubeconfig
until making API calls. It would be awesome if the Zitadel provider could support this!Describe your ideal solution
As a system administrator, I would like the Zitadel provider to wait to attempt to load the machine user's key file until a dependent resource is available.
Version
1.1.1
Additional Context
No response
The text was updated successfully, but these errors were encountered: