google_certificate_manager_certificate_map

CertificateMap defines a collection of certificate configurations, which are usable by any associated target proxies

Open in Cloud Shell

Example Usage - Certificate Manager Certificate Map Basic

resource "google_certificate_manager_certificate_map" "default" {
  name        = "cert-map"
  description = "My acceptance test certificate map"
  labels      = {
    "terraform" : true,
    "acc-test"  : true,
  }
}

Argument Reference

The following arguments are supported:


Attributes Reference

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

The gclb_targets block contains:

The ip_configs block supports:

Timeouts

This resource provides the following Timeouts configuration options:

Import

CertificateMap can be imported using any of these accepted formats:

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

import {
  id = "projects/{{project}}/locations/global/certificateMaps/{{name}}"
  to = google_certificate_manager_certificate_map.default
}

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

$ terraform import google_certificate_manager_certificate_map.default projects/{{project}}/locations/global/certificateMaps/{{name}}
$ terraform import google_certificate_manager_certificate_map.default {{project}}/{{name}}
$ terraform import google_certificate_manager_certificate_map.default {{name}}

User Project Overrides

This resource supports User Project Overrides.