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
NOTE: In addition to Terraform debugging, please set HELM_DEBUG=1 to enable debugging info from helm.
Panic Output
N/A
Steps to Reproduce
terraform plan
terraform apply
Expected Behavior
I expect to see the plan fail with the error:
Error: release name "this-helm-release-name-is-longer-than-53-characters-long": invalid release name, must match regex ^[a-z0-9]([-a-z09]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$ and the length must not be longer than 53
Actual Behavior
The plan succeeds, but the apply fails with the above error.
Important Factoids
Looking through the code for helm_release I didn't see any validation functionality related to checking the resource name, so I think there just doesn't exist any provider based validation on this.
This issue isn't too bad with static release names, but can become a problem when you have 3rd parties passing names via variables.
References
N/A
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The text was updated successfully, but these errors were encountered:
Thank you for reporting this issue! I will refer to this issue in the PR that fixes this and this issue will be automatically closed once the PR is merged. It will be available in the upcoming release.
Terraform, Provider, Kubernetes and Helm Versions
Affected Resource(s)
Terraform Configuration Files
Debug Output
NOTE: In addition to Terraform debugging, please set HELM_DEBUG=1 to enable debugging info from helm.
Panic Output
N/A
Steps to Reproduce
terraform plan
terraform apply
Expected Behavior
I expect to see the plan fail with the error:
Actual Behavior
The plan succeeds, but the apply fails with the above error.
Important Factoids
Looking through the code for
helm_release
I didn't see any validation functionality related to checking the resource name, so I think there just doesn't exist any provider based validation on this.This issue isn't too bad with static release names, but can become a problem when you have 3rd parties passing names via variables.
References
N/A
Community Note
The text was updated successfully, but these errors were encountered: