seahaven-door-unlock-api/terraform/outputs.tf
Adam Moussa c43bee214c
feat(terraform): add hcp terraform for prod door-unlock-api (PLAT-76) (#81)
* 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.

* docs(readme): link the door unlock api ops page

* fix(terraform): invoke package build via bash

HCP launches the external data source with bash, so the inner build script should not depend on the git executable bit.
2026-08-27 22:03:12 +00:00

30 lines
1.1 KiB
HCL

output "api_endpoint" {
description = "HTTP API execute-api URL for pre-DNS live-path proof."
value = aws_apigatewayv2_api.this.api_endpoint
}
output "custom_domain_target" {
description = "API Gateway regional domain name. DNS A alias target for doorunlock.seahaven.com at cutover."
value = aws_apigatewayv2_domain_name.this.domain_name_configuration[0].target_domain_name
}
output "custom_domain_hosted_zone_id" {
description = "API Gateway regional hosted zone id for the Route53 alias."
value = aws_apigatewayv2_domain_name.this.domain_name_configuration[0].hosted_zone_id
}
output "artifacts_bucket_name" {
description = "S3 bucket holding Lambda deployment packages."
value = aws_s3_bucket.artifacts.id
}
output "function_arns" {
description = "ARNs of every Lambda function in this configuration."
value = {
unlock = aws_lambda_function.unlock.arn
lockdown = aws_lambda_function.lockdown.arn
authorizer = aws_lambda_function.authorizer.arn
poller = aws_lambda_function.poller.arn
blf_sync = aws_lambda_function.blf_sync.arn
}
}