-
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
Not possible to disable workload identity /modules/beta-private-cluster v8.1.0 #535
Comments
I doubt |
It looks like idenity_namespace might be getting cast to a string. |
I'm unable to replicate this and successfully disabled workload identity with this config - #542. Any chance you're using Terragrunt or some other tool which might be incorrectly casting |
Yes, I was using terragrunt to run it. |
Got it. This is really a bug in Terragrunt (it shouldn't treat |
I think it happens because the variable has
https://terragrunt.gruntwork.io/docs/reference/config-blocks-and-attributes/#inputs This is what I am getting if use
Seems that it's what we want. |
@morgante since |
I think the guardrail would still be helpful. |
Tried to apply what I have posted earlier
Seems that it's not possible to use an empty string. |
Can you try setting |
unfortunately, I cannot use the latest version of the module. identity_namespace = null in the plan it shows
|
This is fixed on version 9.2.0, please upgrade to that version. |
Thanks |
This is the variable
This is the local variable
I would like to use the variable in this way
Expected:
if
var.identity_namespace == null
it should use an empty list, like soActual result:
It basically converts
null
to"null"
The text was updated successfully, but these errors were encountered: