meal-order-manager/terraform/bootstrap/README.md

13 lines
704 B
Markdown
Raw Normal View History

# Bootstrap image for the ECS service before the first GitHub Actions deploy.
# Terraform ignores later container_definitions; this command only has to pass
# the ALB health check on GET /api/health until deploy-api.yaml ships the real image.
#
# First apply of `aws_iam_policy.ecs_task_boundary` and
# `aws_iam_policy.github_deploy_boundary` needs the hcptf-bootstrap window:
# CreatePolicy on `policy/tf-managed/*` lives only on hcptf-bootstrap
# (seahaven-org-baseline). Point this workspace's TFC_AWS_* at bootstrap,
# apply, then retarget at hcptf-meal-order-manager.
python:3.12-slim with an inlined ThreadingHTTPServer on :8080 that returns
`{"stage":"bootstrap","sha":"bootstrap"}` for any GET.