mirror of
https://github.com/Sea-Haven-Industries/afterhours-shift-manager.git
synced 2026-09-30 07:53:11 +00:00
Some checks are pending
Deploy / Deploy to prod (push) Waiting to run
* fix(cutover): write Slack secrets into empty Terraform shells DescribeSecret succeeds on HCP-created shells with no version, so skip-if-exists left roster and Slack tokens unset. * feat(infra): migrate afterhours to HCP Terraform (PLAT-74) Replace the mgmt SAM stack with a prod-only HCP workspace, in-repo hcptf IAM, stub Lambdas, and zip CD on push to main. * fix(cutover): retry DDB unprocessed items and skip past at() holidays Unprocessed BatchWriteItem rows and leftover past at() schedules would drop roster data or abort holiday recreation during prod cutover.
11 lines
304 B
HCL
11 lines
304 B
HCL
resource "aws_cloudwatch_log_group" "lambda" {
|
|
for_each = local.functions
|
|
|
|
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
|
|
}
|