GCP: Setting IAMPolicies on DNS-zones #10038
-
Settings IAMPolicies on DNS-zones is currently in preview: https://cloud.google.com/dns/docs/access-control
Is this already supported by Pulumi? Couldn't find anything in the docs. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I believe this is tracked here? https://www.pulumi.com/registry/packages/google-native/api-docs/dns/v1/policy/ |
Beta Was this translation helpful? Give feedback.
-
It looks like it's in the beta version API, which should appear in the native provider for GCP. Here's where I'm finding it:
I'm not finding it in the main Google Cloud API docs on DNS, so I'm guessing that we can't be sure yet if that will be the permanent endpoint. If you're using it, please remember that there may be breaking changes since it's a preview, and those breaking changes generally come from upstream rather than Pulumi. If you want to look up a preview GCP API like this in the future, the easiest way I've found is as follows:
This method ensures that, if there is a breaking change from upstream, you can find your way back as those discovery docs get updated when upstream does. You'll notice if you head to the GET call at https://cloud.google.com/dns/docs/zones/iam-per-resource-zones#get_access_control_policy_for_a_resource, you'll find that it's using Does this help? |
Beta Was this translation helpful? Give feedback.
It looks like it's in the beta version API, which should appear in the native provider for GCP. Here's where I'm finding it:
It's also appearing in the general v1:
I'm not finding it in the main Google Cloud API docs on DNS, so I'm guessing that we can't be sure yet if that will be the permanent endpoint. If you're using it, please remember that there may be breaking changes since it's a preview, and those breaking changes generally come from upstream rather than Pulumi.
If you want to look up a pre…