google_identity_platform_tenant_default_supported_idp_config

Configurations options for the tenant for authenticating with a the standard set of Identity Toolkit-trusted IDPs.

You must enable the Google Identity Platform in the marketplace prior to using this resource.

Open in Cloud Shell

Example Usage - Identity Platform Tenant Default Supported Idp Config Basic

resource "google_identity_platform_tenant" "tenant" {
  display_name  = "tenant"
}

resource "google_identity_platform_tenant_default_supported_idp_config" "idp_config" {
  enabled       = true
  tenant        = google_identity_platform_tenant.tenant.name
  idp_id        = "playgames.google.com"
  client_id     = "my-client-id"
  client_secret = "secret"
}

Argument Reference

The following arguments are supported:


Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

Timeouts

This resource provides the following Timeouts configuration options:

Import

TenantDefaultSupportedIdpConfig can be imported using any of these accepted formats:

In Terraform v1.5.0 and later, use an import block to import TenantDefaultSupportedIdpConfig using one of the formats above. For example:

import {
  id = "projects/{{project}}/tenants/{{tenant}}/defaultSupportedIdpConfigs/{{idp_id}}"
  to = google_identity_platform_tenant_default_supported_idp_config.default
}

When using the terraform import command, TenantDefaultSupportedIdpConfig can be imported using one of the formats above. For example:

$ terraform import google_identity_platform_tenant_default_supported_idp_config.default projects/{{project}}/tenants/{{tenant}}/defaultSupportedIdpConfigs/{{idp_id}}
$ terraform import google_identity_platform_tenant_default_supported_idp_config.default {{project}}/{{tenant}}/{{idp_id}}
$ terraform import google_identity_platform_tenant_default_supported_idp_config.default {{tenant}}/{{idp_id}}

User Project Overrides

This resource supports User Project Overrides.