get Workload Identity Pool
suspend fun getWorkloadIdentityPool(argument: GetWorkloadIdentityPoolPlainArgs): GetWorkloadIdentityPoolResult
Get a IAM workload identity pool from Google Cloud by its id.
Note: The following resource requires the Beta IAM role
roles/iam.workloadIdentityPoolAdmin
in order to succeed.OWNER
andEDITOR
roles do not include the necessary permissions.
Example Usage
data "google_iam_workload_identity_pool" "foo" {
workload_identity_pool_id = "foo-pool"
}
Content copied to clipboard
Return
A collection of values returned by getWorkloadIdentityPool.
Parameters
argument
A collection of arguments for invoking getWorkloadIdentityPool.
suspend fun getWorkloadIdentityPool(project: String? = null, workloadIdentityPoolId: String): GetWorkloadIdentityPoolResult
Return
A collection of values returned by getWorkloadIdentityPool.
Parameters
project
The project in which the resource belongs. If it is not provided, the provider project is used.
workload Identity Pool Id
The id of the pool which is the final component of the resource name.
See also
suspend fun getWorkloadIdentityPool(argument: suspend GetWorkloadIdentityPoolPlainArgsBuilder.() -> Unit): GetWorkloadIdentityPoolResult
Return
A collection of values returned by getWorkloadIdentityPool.
Parameters
argument
Builder for com.pulumi.gcp.iam.kotlin.inputs.GetWorkloadIdentityPoolPlainArgs.