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 #1951

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: hashicorp/terraform-provider-google#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_organization_iam_custom_role`
iam: Added `name` field to `google_project_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 <[email protected]>

* Update third_party/terraform/resources/resource_google_project_iam_custom_role.go

Co-Authored-By: Cameron Thornton <[email protected]>

Co-authored-by: Cameron Thornton <[email protected]>
Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit 60816e5 into hashicorp:master Apr 13, 2020
@modular-magician modular-magician deleted the downstream-pr-84c4adcea60c2f9b83503e0ee2994632a559754b branch November 16, 2024 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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