Skip to content
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

Add support for subnet IAM #1291

Closed
morgante opened this issue Apr 4, 2018 · 1 comment
Closed

Add support for subnet IAM #1291

morgante opened this issue Apr 4, 2018 · 1 comment
Assignees

Comments

@morgante
Copy link

morgante commented Apr 4, 2018

Terraform Version

Terraform v0.11.5

Feature Request

I would like to be able to apply IAM policies to a subnet via Terraform. This is most useful for sharing only specific subnets into a service project in XPN.

Equivalent gcloud command: https://cloud.google.com/sdk/gcloud/reference/beta/compute/networks/subnets/set-iam-policy

This would ideally introduce 3 resources (like existing IAM resources):

  • google_compute_subnetwork_iam_member to add a member to a role on the subnet
  • google_compute_subnetwork_iam_binding to manage a role's members on a subnet
  • google_compute_subnetwork_iam_policy to manage the entire subnet policy

References

@ghost
Copy link

ghost commented Nov 19, 2018

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators Nov 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants