IamMemberRemoveArgs

data class IamMemberRemoveArgs(val member: Output<String>? = null, val project: Output<String>? = null, val role: Output<String>? = null) : ConvertibleToJava<IamMemberRemoveArgs>

Ensures that a member:role pairing does not exist in a project's IAM policy. On create, this resource will modify the policy to remove the member from the role. If the membership is ever re-added, the next refresh will clear this resource from state, proposing re-adding it to correct the membership. Import is not supported- this resource will acquire the current policy and modify it as part of creating the resource. This resource will conflict with gcp.projects.IAMPolicy and gcp.projects.IAMBinding resources that share a role, as well as gcp.projects.IAMMember resources that target the same membership. When multiple resources conflict the final state is not guaranteed to include or omit the membership. Subsequent pulumi up calls will always show a diff until the configuration is corrected. For more information see the official documentation and API reference.

Constructors

Link copied to clipboard
constructor(member: Output<String>? = null, project: Output<String>? = null, role: Output<String>? = null)

Properties

Link copied to clipboard
val member: Output<String>? = null

The IAM principal that should not have the target role. Each entry can have one of the following values:

Link copied to clipboard
val project: Output<String>? = null

The project id of the target project.

Link copied to clipboard
val role: Output<String>? = null

The target role that should be removed.

Functions

Link copied to clipboard
open override fun toJava(): IamMemberRemoveArgs