-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
identity_namespace output is "enabled" instead of [project_id].svc.id.goog for beta-private-cluster #489
Comments
Yeah looks like a bug in the output. Just need to update it to point to the actual value from the cluster. |
I was just able to get all tests working on my machine and would love to fix this. So therefore a question popped up:
Any opinions on this? Imho there are 2 possibilities:
I would favor version 2 here since it is not clear, when and if multiple workload identity namespace will come. |
It's dynamic because workload identity can be disabled. In such cases we omit the block entirely. The block should be kept as-is (dynamic). We shouldn't change the output much either. There's no need to make it a list. This should work fine:
|
Fine with me. Will adjust the output tomorrow and try to add a test for it. Will issue the PR once it's ready and I've played around with tests a bit. |
* Fixes #489 Identity namespace output for beta clusters The identity namespace flag was "enabled". Changed the output value to reference the actual identity namespace of the cluster / the project. * Fixed tests by re-building the module
…oogle-modules#500) * Fixes terraform-google-modules#489 Identity namespace output for beta clusters The identity namespace flag was "enabled". Changed the output value to reference the actual identity namespace of the cluster / the project. * Fixed tests by re-building the module
We are using module version
8.1.0
and when I create a beta-private-cluster with the defaultidentity_namespace = "enabled"
the output value ofidentity_namespace
is also"enabled"
. I would expect[project_id].svc.id.goog
as output here. Any opinions on this? Happy to issue a PR if needed :)The text was updated successfully, but these errors were encountered: