Viewing docs for Google Cloud v7.38.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for Google Cloud v7.38.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Get a IAM workload identity pool from Google Cloud by its id.
Note: The following resource requires the Beta IAM role
roles/iam.workloadIdentityPoolAdminin order to succeed.OWNERandEDITORroles do not include the necessary permissions.
Example Usage
data "google_iam_workload_identity_pool" "foo" {
workload_identity_pool_id = "foo-pool"
}
Using getWorkloadIdentityPool
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWorkloadIdentityPool(args: GetWorkloadIdentityPoolArgs, opts?: InvokeOptions): Promise<GetWorkloadIdentityPoolResult>
function getWorkloadIdentityPoolOutput(args: GetWorkloadIdentityPoolOutputArgs, opts?: InvokeOptions): Output<GetWorkloadIdentityPoolResult>def get_workload_identity_pool(project: Optional[str] = None,
workload_identity_pool_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkloadIdentityPoolResult
def get_workload_identity_pool_output(project: Optional[pulumi.Input[str]] = None,
workload_identity_pool_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWorkloadIdentityPoolResult]func LookupWorkloadIdentityPool(ctx *Context, args *LookupWorkloadIdentityPoolArgs, opts ...InvokeOption) (*LookupWorkloadIdentityPoolResult, error)
func LookupWorkloadIdentityPoolOutput(ctx *Context, args *LookupWorkloadIdentityPoolOutputArgs, opts ...InvokeOption) LookupWorkloadIdentityPoolResultOutput> Note: This function is named LookupWorkloadIdentityPool in the Go SDK.
public static class GetWorkloadIdentityPool
{
public static Task<GetWorkloadIdentityPoolResult> InvokeAsync(GetWorkloadIdentityPoolArgs args, InvokeOptions? opts = null)
public static Output<GetWorkloadIdentityPoolResult> Invoke(GetWorkloadIdentityPoolInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWorkloadIdentityPoolResult> getWorkloadIdentityPool(GetWorkloadIdentityPoolArgs args, InvokeOptions options)
public static Output<GetWorkloadIdentityPoolResult> getWorkloadIdentityPool(GetWorkloadIdentityPoolArgs args, InvokeOptions options)
fn::invoke:
function: gcp:iam/getWorkloadIdentityPool:getWorkloadIdentityPool
arguments:
# arguments dictionaryThe following arguments are supported:
- Workload
Identity stringPool Id - The id of the pool which is the
final component of the resource name.
- Project string
- The project in which the resource belongs. If it is not provided, the provider project is used.
- Workload
Identity stringPool Id - The id of the pool which is the
final component of the resource name.
- Project string
- The project in which the resource belongs. If it is not provided, the provider project is used.
- workload
Identity StringPool Id - The id of the pool which is the
final component of the resource name.
- project String
- The project in which the resource belongs. If it is not provided, the provider project is used.
- workload
Identity stringPool Id - The id of the pool which is the
final component of the resource name.
- project string
- The project in which the resource belongs. If it is not provided, the provider project is used.
- workload_
identity_ strpool_ id - The id of the pool which is the
final component of the resource name.
- project str
- The project in which the resource belongs. If it is not provided, the provider project is used.
- workload
Identity StringPool Id - The id of the pool which is the
final component of the resource name.
- project String
- The project in which the resource belongs. If it is not provided, the provider project is used.
getWorkloadIdentityPool Result
The following output properties are available:
- Description string
- Disabled bool
- Display
Name string - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- State string
- Workload
Identity stringPool Id - Project string
- Description string
- Disabled bool
- Display
Name string - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- State string
- Workload
Identity stringPool Id - Project string
- description String
- disabled Boolean
- display
Name String - id String
- The provider-assigned unique ID for this managed resource.
- name String
- state String
- workload
Identity StringPool Id - project String
- description string
- disabled boolean
- display
Name string - id string
- The provider-assigned unique ID for this managed resource.
- name string
- state string
- workload
Identity stringPool Id - project string
- description str
- disabled bool
- display_
name str - id str
- The provider-assigned unique ID for this managed resource.
- name str
- state str
- workload_
identity_ strpool_ id - project str
- description String
- disabled Boolean
- display
Name String - id String
- The provider-assigned unique ID for this managed resource.
- name String
- state String
- workload
Identity StringPool Id - project String
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
Viewing docs for Google Cloud v7.38.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi