Terraform module which creates Yandex Cloud Certificate Manager resources.
See examples directory for working examples.
Import into Certificate Manager a self-managed certificate.
module "certificate_manager" {
source = "terraform-yacloud-modules/certificate-manager/yandex"
self_managed = {
implicit = {
description = "self-managed domain certificate"
certificate = "-----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- \n -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----"
private_key = "-----BEGIN RSA PRIVATE KEY----- ... -----END RSA PRIVATE KEY-----"
}
file = {
description = "self-managed domain certificate from file"
certificate = file("cert.pem")
private_key = file("key.pem")
}
lockbox = {
description = "self-managed domain certificate from lockbox"
certificate = "-----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- \n -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----"
private_key_lockbox_secret = {
id = "lockbox_id"
key = "lockbox_key"
}
}
}
}
Examples codified under
the examples
are intended
to give users references for how to use the module(s) as well as testing/validating changes to the source code of the
module. If contributing to the project, please be sure to make any appropriate updates to the relevant examples to allow
maintainers to test your changes and to keep the examples up to date for users. Thank you!
Name | Version |
---|---|
terraform | >= 1.3 |
yandex | >= 0.72.0 |
Name | Version |
---|---|
yandex | >= 0.72.0 |
No modules.
Name | Type |
---|---|
yandex_cm_certificate.managed | resource |
yandex_cm_certificate.self_managed | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
managed | Managed certificate specification. | map(object({ |
{} |
no |
self_managed | Self-managed certificate specification. | map(object({ |
{} |
no |
Name | Description |
---|---|
managed_certificates | Managed certificates grouped by domain. |
self_managed_certificates | Self-managed certificates grouped by domain. |
Apache-2.0 Licensed. See LICENSE.