This repository has been archived by the owner on Dec 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
Fails with error if create_resources set to false #42
Labels
bug
Something isn't working
Comments
Can you share which version of terraform you are using? I am not seeing this error on |
For reference, here is the PR that adds a test to verify this behavior (#43). Note that I didn't have to touch |
This is with Terraform 0.12.11 |
Got it. I just repro'd it. |
Just updated the PR with the fix. Can you try to see if it works with the branch |
Thanks for fixing this, I can confirm it all works fine. @yorinasub17 :) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm getting the following error:
The cause looks to be here:
https://github.com/gruntwork-io/terraform-kubernetes-helm/blob/master/modules/k8s-namespace/main.tf#L52
I think the fix would be to change that line to
namespace = var.create_resources ? kubernetes_namespace.namespace[0].id : ""
The text was updated successfully, but these errors were encountered: