seahaven-door-unlock-api/terraform/acm.tf
Adam Moussa b02502da34
feat(terraform): add hcp terraform for prod door-unlock-api
Move deploy off frozen CDK CD onto an HCP workspace that recreates the HTTP API, five Lambdas, disabled EventBridge rules, and alarms in seahaven-prod without a poller VPC.
2026-08-27 15:24:58 -04:00

13 lines
646 B
HCL

# 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
}