Skip to content

googleIamWorkloadIdentityPool

Get a IAM workload identity pool from Google Cloud by its id.

\~> Warning: This resource is in beta, and should be used with the terraform-provider-google-beta provider. See Provider Versions for more details on beta resources.

\~> Note: The following resource requires the Beta IAM role roles/iamWorkloadIdentityPoolAdmin in order to succeed. owner and editor roles do not include the necessary permissions.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as google from "./.gen/providers/google";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: google.
For a more precise conversion please use the --provider flag in convert.*/
new google.dataGoogleIamWorkloadIdentityPool.DataGoogleIamWorkloadIdentityPool(
  this,
  "foo",
  {
    workload_identity_pool_id: "foo-pool",
  }
);

Argument Reference

The following arguments are supported:

  • workloadIdentityPoolId - (Required) The id of the pool which is the final component of the resource name.

  • project - (Optional) The project in which the resource belongs. If it is not provided, the provider project is used.

Attributes Reference

See google_iam_workload_identity_pool resource for details of all the available attributes.