Auto-generated
This page is generated by terraform-docs at build time from the infra/ repo. Do not edit manually.
Core API
ECS service for the CookieHub Core API. Includes its own ECR repository,
deployed behind the public ALB with environment-specific hostname and TLS
certificate. Handles consent management and client-facing API endpoints.
Requirements
Providers
Modules
No modules.
Resources
| Name |
Description |
Type |
Default |
Required |
| alb_dns_name |
DNS name of the public ALB (for Route53 alias target) |
string |
n/a |
yes |
| alb_https_listener_arn |
ARN of the public ALB HTTPS listener |
string |
n/a |
yes |
| alb_security_group_id |
Security group ID of the public ALB |
string |
n/a |
yes |
| alb_zone_id |
Canonical hosted zone ID of the public ALB (for Route53 alias) |
string |
n/a |
yes |
| base_tags |
Base tags to apply to all resources |
map(string) |
{} |
no |
| certificate_arn |
ARN of the ACM certificate for the hostname |
string |
n/a |
yes |
| cluster_name |
ECS cluster name to deploy the service into |
string |
n/a |
yes |
| container_port |
Port the container listens on |
number |
3000 |
no |
| desired_count |
Desired number of ECS tasks |
number |
1 |
no |
| ecs_security_group_id |
Security group ID of ECS tasks (ingress rule for ALB will be added to it) |
string |
n/a |
yes |
| environment |
Environment name |
string |
n/a |
yes |
| hostname |
Public-facing hostname (e.g. 'core-api.stage.cookiehub.net' or 'api.cookiehub.com') |
string |
n/a |
yes |
| name_prefix |
Prefix for resource names |
string |
n/a |
yes |
| region |
AWS region |
string |
n/a |
yes |
| task_cpu |
CPU units for the ECS task |
number |
512 |
no |
| task_memory |
Memory in MB for the ECS task |
number |
512 |
no |
| vpc_id |
VPC ID (used for the ALB target group) |
string |
n/a |
yes |
| zone_id |
Route53 hosted zone ID |
string |
n/a |
yes |
Outputs