google_app_engine_domain_mapping

A domain serving an App Engine application.

To get more information about DomainMapping, see:

Open in Cloud Shell

Example Usage - App Engine Domain Mapping Basic

resource "google_app_engine_domain_mapping" "domain_mapping" {
  domain_name = "verified-domain.com"

  ssl_settings {
    ssl_management_type = "AUTOMATIC"
  }
}

Argument Reference

The following arguments are supported:


The ssl_settings block supports:

Attributes Reference

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

The resource_records block contains:

Timeouts

This resource provides the following Timeouts configuration options:

Import

DomainMapping can be imported using any of these accepted formats:

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

import {
  id = "apps/{{project}}/domainMappings/{{domain_name}}"
  to = google_app_engine_domain_mapping.default
}

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

$ terraform import google_app_engine_domain_mapping.default apps/{{project}}/domainMappings/{{domain_name}}
$ terraform import google_app_engine_domain_mapping.default {{project}}/{{domain_name}}
$ terraform import google_app_engine_domain_mapping.default {{domain_name}}

User Project Overrides

This resource supports User Project Overrides.