seahaven-door-unlock-api/terraform/acm.tf

14 lines
646 B
Terraform
Raw Normal View History

# ACM certificate for doorunlock.seahaven.com.
#
# The certificate is an out-of-band bootstrap dependency and is deliberately NOT
# created here. It was requested in seahaven-prod ahead of this configuration
# (arn:aws:acm:us-east-1:011934824531:certificate/c972e630-047f-4b6d-ae9b-2a7702cbdfce)
# and validated by DNS in the mgmt hosted zone. Declaring an aws_acm_certificate
# resource as well would request a second certificate for the same domain on
# the first apply, so this configuration only reads the issued one.
data "aws_acm_certificate" "doorunlock" {
domain = var.domain_name
statuses = ["ISSUED"]
most_recent = true
}