Auto-generated
This page is generated by terraform-docs at build time from the infra/ repo. Do not edit manually.
Atrax Node
ECS service for Atrax crawler nodes. Runs headless Puppeteer browsers that
connect to the Atrax API controller, perform web crawls, and store results
in S3. Secrets (Bugsnag, controller auth/URL) are managed via SSM Parameter Store.
Requirements
Providers
Modules
No modules.
Resources
| Name |
Description |
Type |
Default |
Required |
| base_tags |
Base tags to apply to all resources |
map(string) |
{} |
no |
| browser_slow_mo_ms |
Puppeteer slowMo value in ms (0 = disabled) |
string |
"0" |
no |
| checkpoint_interval_pages |
Number of pages between checkpoint saves to S3 |
string |
"1000" |
no |
| cluster_name |
ECS cluster name to deploy the service into |
string |
n/a |
yes |
| desired_count |
Desired number of ECS tasks |
number |
1 |
no |
| ecr_repository_url |
ECR repository URL for the atrax-node image |
string |
n/a |
yes |
| environment |
Environment name |
string |
n/a |
yes |
| heartbeat_interval_ms |
Interval in ms for heartbeat pings to the API |
string |
"30000" |
no |
| image_tag |
Image tag to deploy |
string |
"latest" |
no |
| name_prefix |
Prefix for resource names |
string |
n/a |
yes |
| puppeteer_user_agent |
User-Agent string used by Puppeteer |
string |
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36" |
no |
| region |
AWS region |
string |
n/a |
yes |
| s3_screenshot_url |
S3 screenshot bucket URL |
string |
"https://cookiehub-atrax-screenshots.s3.eu-central-1.amazonaws.com" |
no |
| task_cpu |
CPU units for the ECS task |
number |
1024 |
no |
| task_memory |
Hard memory limit in MB for the ECS task (OOM ceiling) |
number |
1024 |
no |
| task_memory_reservation |
Soft memory limit in MB used for bin-packing. Defaults to half of task_memory. |
number |
null |
no |
Outputs
| Name |
Description |
| service_name |
Name of the atrax-node ECS service |