mirror of
https://github.com/Sea-Haven-Industries/payments-dashboard.git
synced 2026-09-30 03:03:13 +00:00
Some checks are pending
Deploy / Deploy to prod (push) Waiting to run
* feat(infra): migrate payments-dashboard to HCP Terraform (PLAT-79) Replace the mgmt SAM stack with a prod-only HCP workspace using the afterhours stub-plus-zip-CD seam so GitHub Actions owns function code and Terraform owns infrastructure. * fix(infra): pin secret and CMK ARNs for bootstrap-plan hcptf-bootstrap-plan cannot ssm:GetParameter or DescribeSecret, so the first plan must not data-source those values. * fix(infra): add EIP describe and DynamoDB CMK grants for first apply Scoped apply missed ec2:DescribeAddressesAttribute and kms Encrypt/Decrypt/GenerateDataKey on the table CMK.
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
|
|
}
|