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

Added name field to both custom project and org roles #6111

Conversation

modular-magician
Copy link
Collaborator

@modular-magician modular-magician commented Apr 13, 2020

I updated the custom roles to export the name attribute so it can be used with iam role bindings.

I also updated the project_iam_policy article to include a note about importing the policy first before applying the change.

Fixes: #6089

https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles#resource:-role

Release Note Template for Downstream PRs (will be copied)

iam: Added `name` field to `google_project_iam_custom_role`
iam: Added `name` field to `google_organization_iam_custom_role`

Derived from GoogleCloudPlatform/magic-modules#3370

* added name field to both custom project and org roles

* patched the schema to include computed values

* Update third_party/terraform/resources/resource_google_organization_iam_custom_role.go

Co-Authored-By: Cameron Thornton <camthornton@google.com>

* Update third_party/terraform/resources/resource_google_project_iam_custom_role.go

Co-Authored-By: Cameron Thornton <camthornton@google.com>

Co-authored-by: Cameron Thornton <camthornton@google.com>
Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit 64b2780 into hashicorp:master Apr 13, 2020
@ghost
Copy link

ghost commented May 14, 2020

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 May 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Updating to google_project_iam_custom_role docs to include id field
1 participant