-
Notifications
You must be signed in to change notification settings - Fork 368
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
terraform plan fails when no cluster is existent #668
Comments
It looks like you're using the kubernetes-alpha provider somewhere in your config? I think this may be the hidden issue. In its current state the kubernetes-alpha provider relies on server side planning, so it requires the cluster to be available at plan time. We are working to address this in hashicorp/terraform-provider-kubernetes-alpha#41, but it will take some time. |
@aareet You're totally right, thank you for that hint! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Terraform, Provider, Kubernetes and Helm Versions
Affected Resource(s)
Terraform Configuration Files
Provider config
Module which has one
helm_release
insidethe
helm_release
inside this moduleDebug Output
NOTE: In addition to Terraform debugging, please set HELM_DEBUG=1 to enable debugging info from helm.
Debug captured with
TF_LOG=trace HELM_DEBUG=1 terraform plan > debug_output.txt 2>&1
https://gist.github.com/tillepille/39e4983ba588f399f9203e2375133b6a
Panic Output
Steps to Reproduce
Create new environment, state only contains a network at that point.
terraform plan
Expected Behavior
plan should successfully run and produce the output that x helm releases have to be added.
Actual Behavior
terraform plan
fails withWhen there is a K8S Cluster already in place, the plan runs successfully.
When I comment out the modules (helm_releases), plan also runs successfully.
Important Factoids
References
Community Note
The text was updated successfully, but these errors were encountered: