get_service_account() always cries "warning: etag is deprecated: Deprecated. Do not use." #867
Labels
impact/usability
Something that impacts users' ability to use the product easily and intuitively
kind/bug
Some behavior is incorrect or out of spec
What happened?
any call to
iam.v1.get_service_account()
will result in a warning "warning: etag is deprecated: Deprecated. Do not use."The
GetServiceAccountResult
complains about a non-None
value returned from google foretag
atpulumi-google-native/sdk/python/pulumi_google_native/iam/v1/get_service_account.py
Line 38 in 5d84564
There's no way to work around this ... Google is providing the
etag
in the responseExpected Behavior
It shouldn't warn for something that is outside of the caller's control
Steps to reproduce
Call
get_service_account()
with any valid arguments and receive a result. Observe the warning in the pulumi log.I'm using this as a workaround for a
gcp-native
issue where it's difficult to safely handle lookups of service accounts that don't existOutput of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: