hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.36k stars 1.75k forks source link

IAM policy for Identity-Aware Proxy WebBackendService does not support region scope backend services #13429

Open fasthand2000 opened 1 year ago

fasthand2000 commented 1 year ago

Hi there,

Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.

If this is a bug report (for when something is there, but doesn't work how it should), please use the bug issue template instead.

If this is an enhancement / feature request (for when something (a resource, field, etc.) is missing, and should be added), please use the enhancement template instead.

If you have a support request or question, please check out the other resources listed here.

If your issue does not fit into one of the above templates, please fill out the following:

Community Note

Terraform Version

Affected Resource(s)

Terraform Configuration Files (if applicable)

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key: https://www.hashicorp.com/security
# If reproducing the bug involves modifying the config file (e.g., apply a config,
# change a value, apply the config again, see the bug) then please include both the
# version of the config before the change, and the version of the config after the change.

Issue Description

Important Factoids

References

b/299600933

edwardmedia commented 1 year ago

@fasthand2000 can you share the links to the docs that can explain what you need

fasthand2000 commented 1 year ago

Hi Edward, This is the link to Terraform Doc: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/iap_web_backend_service_iam This only work with backend services with global scope. I noticed gcloud does not work either. I guess it is the limitation of Google API at the moment. On Tuesday, January 10, 2023 at 06:38:11 AM EST, Edward Sun @.***> wrote:

@fasthand2000 can you share the links to the docs that can explain what you need

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Deepraj1996 commented 4 weeks ago

Hi @edwardmedia , @fasthand2000.

I was able to apply IAM policy to regional backend-services using terraform config (https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/iap_web_region_backend_service_iam)