mirror of
https://github.com/Sea-Haven-Industries/seahaven-door-unlock-api.git
synced 2026-09-30 03:43:11 +00:00
* 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.
11 lines
314 B
HCL
11 lines
314 B
HCL
resource "aws_cloudwatch_log_group" "function" {
|
|
for_each = local.function_packages
|
|
|
|
name = "/aws/lambda/${each.value.function_name}"
|
|
retention_in_days = 60
|
|
}
|
|
|
|
resource "aws_cloudwatch_log_group" "api_access" {
|
|
name = "/aws/apigateway/${local.project}"
|
|
retention_in_days = 90
|
|
}
|