» 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.

» 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:

  • display_name - (Required) Human friendly display name of the tenant.

  • allow_password_signup - (Optional) Whether to allow email/password user authentication.

  • enable_email_link_signin - (Optional) Whether to enable email link user authentication.

  • disable_auth - (Optional) Whether authentication is disabled for the tenant. If true, the users under the disabled tenant are not allowed to sign-in. Admins of the disabled tenant are not able to manage its users.

  • project - (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

» Attributes Reference

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

  • id - an identifier for the resource with format projects/{{project}}/tenants/{{name}}

  • name - The name of the tenant that is generated by the server

» Timeouts

This resource provides the following Timeouts configuration options:

  • create - Default is 4 minutes.
  • update - Default is 4 minutes.
  • delete - Default is 4 minutes.

» Import

Tenant can be imported using any of these accepted formats:

$ 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.