Skip to content

googleIamWorkloadIdentityPoolProvider

Get a IAM workload identity provider 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.

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.dataGoogleIamWorkloadIdentityPoolProvider.DataGoogleIamWorkloadIdentityPoolProvider(
  this,
  "foo",
  {
    workload_identity_pool_id: "foo-pool",
    workload_identity_pool_provider_id: "bar-provider",
  }
);

Argument Reference

The following arguments are supported:

  • workloadIdentityPoolId - (Required) The id of the pool which is the final component of the pool resource name.
  • workloadIdentityPoolProviderId - (Required) The id of the provider 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_provider resource for details of all the available attributes.