Global InfraGlobal Infra Cloud
SSL Certificate

Autosec Certificate

Terraform reference for Autosec Certificate.

Schema Properties

PropertyTypeDescription
bucket
Required
stringThe certificate store bucket the certificate is published in.
Examples:puppet-sandbox-bucket-dc1
ca
Required
stringThe certificate authority that issued the certificate.
Examples:letsencrypt
certname
Required
stringThe name of the certificate within its module.
Examples:wildcard
environment
Required
stringThe environment the certificate belongs to, expressed as <tenant>_<platform>.
Examples:core_sandbox
fqdn
Required
stringThe fully-qualified domain name the certificate is issued for.
Examples:api.example.com
modname
Required
stringThe module the certificate was provisioned for.
Examples:frontend
paths
Required
objectThe object locations of the certificate's public and private PEM files.
platform
Required
stringThe platform the certificate belongs to (sandbox, preprod or prod).
Examples:sandbox
tenant
Required
stringThe tenant that owns the certificate.
Examples:core
Data Source
data "gi_ssl_certificate_autosec_certificates" "filtered" {  limit = 10  skip  = 0  filter {    field    = "bucket"    operator = "eq"    value    = "example-value"  }  sort {    field      = "bucket"    descending = false  }}# Access resultsoutput "autosec_certificate_list" {  value = data.gi_ssl_certificate_autosec_certificates.filtered.autosec_certificates[*].attributes.bucket}

Usage Notes