google_identity_platform_project_default_config

There is no persistent data associated with this resource.

Example Usage - Identity Platform Project Default Config

resource "google_identity_platform_project_default_config" "default" {
    sign_in {
        allow_duplicate_emails = true

        anonymous {
            enabled = true
        }

        email {
            enabled = true
            password_required = false
        }

        phone_number {
            enabled = true
            test_phone_numbers = {
                "+11231231234" = "000000"
            }
        }
    }
}

Argument Reference

The following arguments are supported:


The sign_in block supports:

The email block supports:

The phone_number block supports:

The anonymous block supports:

The hash_config block contains:

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

ProjectDefaultConfig can be imported using any of these accepted formats:

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

import {
  id = "projects/{{project}}/config/{{name}}"
  to = google_identity_platform_project_default_config.default
}

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

$ terraform import google_identity_platform_project_default_config.default projects/{{project}}/config/{{name}}
$ terraform import google_identity_platform_project_default_config.default {{project}}/{{name}}
$ terraform import google_identity_platform_project_default_config.default {{name}}

User Project Overrides

This resource supports User Project Overrides.