Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions modules/domain/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,11 @@ resource "aws_iam_server_certificate" "new" {
tls_cert_request.req,
acme_certificate.new,
]
count = local.create_cert
name_prefix = "${local.content}-"
certificate_body = acme_certificate.new[0].certificate_pem
private_key = tls_private_key.cert_private_key[0].private_key_pem
count = local.create_cert
name_prefix = "${local.content}-"
certificate_body = acme_certificate.new[0].certificate_pem
certificate_chain = "${acme_certificate.new[0].certificate_pem}${acme_certificate.new[0].issuer_pem}"
private_key = tls_private_key.cert_private_key[0].private_key_pem
lifecycle {
create_before_destroy = true
}
Expand Down