Skip to content

Latest commit

 

History

History

iam_memberships

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Google Cloud Project IAM members Terraform module

Non-authoritative. Updates the IAM policy of the organization to grant a role to a new member. Other members for the role on the organization are preserved.

Usage

module "iam_memberships" {
  source  = "nephosolutions/organization/google//modules/iam_memberships"
  version = "~> 1.0.0"

  org_id  = "0123456789123"
  role       = "roles/compute.admin"

  members = [
    "user:[email protected]"
  ]
}

Requirements

Name Version
terraform >= 0.12.6
google >= 3.90

Providers

Name Version
google 4.44.1

Modules

No modules.

Resources

Name Type
google_organization_iam_member.identity resource

Inputs

Name Description Type Default Required
members List of identities that will be granted the privilege in role. list(string) n/a yes
org_id The numeric ID of the organization in which you want to manage the IAM binding. string n/a yes
role The role that should be applied. Note that custom roles must be of the format `[projects organizations]/{parent-name}/roles/{role-name}`. string n/a

Outputs

No outputs.