2026-08-27 22:03:12 +00:00
|
|
|
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" {
|
2026-08-27 23:06:52 +00:00
|
|
|
description = "API Gateway regional domain name. DNS A alias target for doorunlock.seahaven.com at cutover. Null until attach_custom_domain is true."
|
|
|
|
|
value = var.attach_custom_domain ? aws_apigatewayv2_domain_name.this[0].domain_name_configuration[0].target_domain_name : null
|
2026-08-27 22:03:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
output "custom_domain_hosted_zone_id" {
|
2026-08-27 23:06:52 +00:00
|
|
|
description = "API Gateway regional hosted zone id for the Route53 alias. Null until attach_custom_domain is true."
|
|
|
|
|
value = var.attach_custom_domain ? aws_apigatewayv2_domain_name.this[0].domain_name_configuration[0].hosted_zone_id : null
|
2026-08-27 22:03:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
}
|
|
|
|
|
}
|