Google Identity Platform Tenant Default Supported Idp Config

This page shows how to write Terraform for Identity Platform Tenant Default Supported Idp Config and write them securely.

google_identity_platform_tenant_default_supported_idp_config (Terraform)

The Tenant Default Supported Idp Config in Identity Platform can be configured in Terraform with the resource name google_identity_platform_tenant_default_supported_idp_config. The following sections describe 3 examples of how to use the resource and its parameters.

Example Usage from GitHub

main.tf#L5
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"
main.tf#L5
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"
main.tf#L9
resource "google_identity_platform_tenant_default_supported_idp_config" "idp_configs" {
  for_each      = var.idp_configs
  enabled       = each.value.enabled
  project       = var.project_id
  tenant        = google_identity_platform_tenant.tenant_tf.name
  idp_id        = each.key

Review your Terraform file for Google best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

OAuth client ID

OAuth client secret

If this IDP allows the user to sign in

  • id optional computed - string
  • idp_id required - string

ID of the IDP. Possible values include: 'apple.com' 'facebook.com' 'gc.apple.com' 'github.com' 'google.com' 'linkedin.com' 'microsoft.com' 'playgames.google.com' 'twitter.com' 'yahoo.com'

  • name optional computed - string

The name of the default supported IDP config resource

The name of the tenant where this DefaultSupportedIdpConfig resource exists

Explanation in Terraform Registry

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.

Frequently asked questions

What is Google Identity Platform Tenant Default Supported Idp Config?

Google Identity Platform Tenant Default Supported Idp Config is a resource for Identity Platform of Google Cloud Platform. Settings can be wrote in Terraform.

Where can I find the example code for the Google Identity Platform Tenant Default Supported Idp Config?

For Terraform, the reubanj/GCP-terraform, yaroslavopsguru/gcp-tf-resources and extenda/tf-module-gcp-tenants source code examples are useful. See the Terraform Example section for further details.

security-icon

Automate config file reviews on your commits

Fix issues in your infrastructure as code with auto-generated patches.