google_identity_platform_tenant

Tenant configuration in a multi-tenant project.

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

You must enable multi-tenancy via the Cloud Console prior to creating tenants.

Open in Cloud Shell

Example Usage - Identity Platform Tenant Basic

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

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

Tenant can be imported using any of these accepted formats:

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

import {
  id = "projects/{{project}}/tenants/{{name}}"
  to = google_identity_platform_tenant.default
}

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

$ terraform import google_identity_platform_tenant.default projects/{{project}}/tenants/{{name}}
$ terraform import google_identity_platform_tenant.default {{project}}/{{name}}
$ terraform import google_identity_platform_tenant.default {{name}}

User Project Overrides

This resource supports User Project Overrides.