You must be logged in to view saved presets
Imports an existing certificate along with a private key, creating a self-signed certificate for demonstration.
resource "aws_acm_certificate" "cert" {
certificate_body = tls_self_signed_cert.example.cert_pem
private_key = tls_private_key.example.private_key_pem
}
resource "tls_private_key" "example" {
}
resource "tls_self_signed_cert" "example" {
}