-
Notifications
You must be signed in to change notification settings - Fork 910
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
Fix identity_type #1978
Fix identity_type #1978
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
…nd use correct value name for ingress 'identity_type'
Can you provide a use case? We initially defaulted to empty and the effect was not what users intended, unless an actual value was passed. Unless behaviour changed, I don't think we should default to something that has no actual use. |
@ludoo The issue is not with the default value. The issue is that when you use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're removing values which are legitime according to the API docs
Google provider supports empty string for
identity_type
. Even ifIDENTITY_TYPE_UNSPECIFIED
is used as the value, Terraform state stores empty string as the value instead. Hence it make sense to support empty string as a value in the module.Also
ANY_USER_ACCOUNT
is the correct value for ingressidentity_type
.Checklist
I applicable, I acknowledge that I have:
terraform fmt
on all modified filestools/tfdoc.py