mirror of
https://github.com/Sea-Haven-Industries/meal-order-manager.git
synced 2026-09-30 13:33:13 +00:00
* feat(api): serve meals on ECS Fargate instead of Lambda Keep the Flask app always-on with in-process jobs so CloudFront no longer fronts a cold-start API Gateway. * fix(jobs): run delayed close and reminder deliveries Wall-clock skip windows dropped the only weekly SQS attempt when Scheduler already fired in Eastern time. Dev schedules stay disabled. * fix(api): return JSON objects and stop logging job payloads Flask now jsonify-s handler dicts so API responses are not HTML, and the worker logs only event and status. * fix(ci): restore the reusable workflow so the required check is named ci / ci Inlining the job reported `ci` instead of the org ruleset's `ci / ci`. * fix(secrets): drop unused os import so ruff check passes * style: apply ruff format so ci-python-app lint passes * fix(infra): give meals its own VPC because prod has none * chore(security): re-key ALB SG checkov suppression after vpc.tf
59 lines
1.7 KiB
HCL
59 lines
1.7 KiB
HCL
output "api_url" {
|
|
description = "Public meals API origin (CloudFront)."
|
|
value = local.form_url
|
|
}
|
|
|
|
output "publish_api_url" {
|
|
description = "ALB URL for weekly-menu HMAC publish."
|
|
value = "http://${aws_lb.api.dns_name}"
|
|
}
|
|
|
|
output "form_url" {
|
|
description = "Public order form URL."
|
|
value = local.form_url
|
|
}
|
|
|
|
output "distribution_id" {
|
|
description = "CloudFront distribution ID, for cache invalidation."
|
|
value = aws_cloudfront_distribution.form.id
|
|
}
|
|
|
|
output "distribution_domain_name" {
|
|
description = "CloudFront distribution domain name, the DNS target for the custom domain."
|
|
value = aws_cloudfront_distribution.form.domain_name
|
|
}
|
|
|
|
output "form_bucket_name" {
|
|
description = "S3 bucket holding the order form HTML."
|
|
value = aws_s3_bucket.form.id
|
|
}
|
|
|
|
output "reports_bucket_name" {
|
|
description = "S3 bucket holding payroll CSVs and weekly summary PDFs."
|
|
value = aws_s3_bucket.reports.id
|
|
}
|
|
|
|
output "ecr_repository_url" {
|
|
description = "ECR repository for the API image."
|
|
value = aws_ecr_repository.api.repository_url
|
|
}
|
|
|
|
output "orders_table_name" {
|
|
description = "DynamoDB orders table."
|
|
value = aws_dynamodb_table.orders.name
|
|
}
|
|
|
|
output "weekly_menu_role_arn" {
|
|
description = "OIDC role ARN for .github/workflows/weekly-menu.yml (repo secret AWS_WEEKLY_MENU_ROLE_ARN)."
|
|
value = aws_iam_role.weekly_menu.arn
|
|
}
|
|
|
|
output "github_deploy_role_arn" {
|
|
description = "OIDC role ARN for .github/workflows/deploy-api.yaml (Environment DEPLOY_ROLE_ARN)."
|
|
value = aws_iam_role.github_deploy.arn
|
|
}
|
|
|
|
output "ecs_task_role_arn" {
|
|
description = "ECS task role; paychex-checkcomponents queue policy must allow this ARN."
|
|
value = aws_iam_role.ecs_task.arn
|
|
}
|