Validate IAM role names
Open
enhancement
- Dominant language
- Go
- Stars
- 26
- Forks
- 7
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
### TL;DR
It's common to introduce a typo when listing an IAM role in the `google_project_iam_member` resource.
Guardian could use the [IAM roles list API](https://cloud.google.com/sdk/gcloud/reference/iam/roles/list) to retrieve all of the roles from the project that is going to be modified and validate the string before merging a change.
### Detailed design
```markdown
```
### Alternatives considered
```markdown
```
### Additional information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.