-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Labels are not created correctly when deployed by Terraform #2037
Comments
can you try to update terraform provider version please to 0.10.0 please ? |
Hello! Indeed, upgrading the TF provider to 0.10.0+ solved our issue. The problem seems to originate from the JSON resource on the web server, which was used to deploy flows in previous versions. This also involved updating the flows, and adding/uncommenting the id/namespace pairs: they were previously not allowed with the JSON resource, but are now required with the YAML resource. If a flow is created without them, the web server returns an HTTP 401 error without clear explanation. Thanks for your help, |
Expected Behavior
When deploying a flow using Terraform, I want the labels to be created correctly.
If I wrote labels in a flow, using the key/value representation, such as
I want them to be created as following, in the target Kestra server:
Actual Behaviour
Instead of the expected behavior, the flows created by Terraform don't contain labels. Instead, we get a list with an empty object.
We get this unexpected behavior for any flow.
Steps To Reproduce
No response
Environment Information
Example flow
No response
The text was updated successfully, but these errors were encountered: