-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
can a iam member be given multiple roles one time? #3478
Comments
Hey @zffocussss!
Alternatively, if you have a single role with multiple members, you could use As well, a great place for these kinds of questions is the #terraform channel in the GCP Community Slack. |
It is not convenient to manage multiple roles and members.by the way.What is "project id"? |
A project id is a unique id for a project; sometimes it's the same as the display name, but at other times it's different (generally with numbers appended). See the docs on identifying projects. |
thanks |
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 👉 [email protected]. Thanks! |
I am using "google_project_iam_member"
resource "google_project_iam_member" "project" {
project = "your-project-id"
role = "roles/editor"
member = "user:[email protected]"
}
if I have multiple members,roles.How can I define them.
resource "google_project_iam_member" "project" {
project = "your-project-id"
role = "roles/1","roles/2","roles/3"
member = "user:a","user:b","user:c"
}
The text was updated successfully, but these errors were encountered: