Skip to content

googleCertificateManagerCertificateMap

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

Example Usage - Certificate Manager Certificate Map Basic

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as google from "./.gen/providers/google";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: google.
For a more precise conversion please use the --provider flag in convert.*/
new google.certificateManagerCertificateMap.CertificateManagerCertificateMap(
  this,
  "default",
  {
    description: "My acceptance test certificate map",
    labels: [
      {
        "acc-test": true,
        terraform: true,
      },
    ],
    name: "cert-map",
  }
);

Argument Reference

The following arguments are supported:

  • name - (Required) A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match the pattern projects/*/locations/*/certificateMaps/*.

  • description - (Optional) A human-readable description of the resource.

  • labels - (Optional) Set of labels associated with a Certificate Map resource.

  • 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}}/locations/global/certificateMaps/{{name}}

  • createTime - Creation timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

  • updateTime - Update timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

  • gclbTargets - A list of target proxies that use this Certificate Map Structure is documented below.

The gclbTargets block contains:

  • ipConfigs - (Optional) An IP configuration where this Certificate Map is serving Structure is documented below.

  • targetHttpsProxy - (Optional) Proxy name must be in the format projects//locations//targetHttpsProxies/*. This field is part of a union field targetProxy: Only one of targetHttpsProxy or targetSslProxy may be set.

  • targetSslProxy - (Optional) Proxy name must be in the format projects//locations//targetSslProxies/*. This field is part of a union field targetProxy: Only one of targetHttpsProxy or targetSslProxy may be set.

The ipConfigs block supports:

  • ipAddress - (Optional) An external IP address

  • ports - (Optional) A list of ports

Timeouts

This resource provides the following Timeouts configuration options:

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

Import

CertificateMap can be imported using any of these accepted formats:

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