The Terraform for the zekia.io infrastructure. This deploys the following to AWS:
- An S3 bucket for static website files
- An Athena database to query CUR data
- A CloudFront distribution, pointed at the static website files bucket
- An ECS service to run container(s)
- An ECR repository for the container images
- A VPC including security groups
- An ACM certificate and Route53 configuration for a supplied domain
| Name |
Description |
Type |
Default |
Required |
| aws_region |
Region of the AWS account. |
string |
"eu-west-2" |
no |
| container_cpu |
Number of CPU units used by the task. |
number |
1024 |
no |
| container_memory |
Amount (MiB) of memory used by the task. |
number |
2048 |
no |
| container_port |
Port the container should run on. |
number |
80 |
no |
| desired_count |
Desired number of ECS tasks to run. |
number |
1 |
no |
| environment |
Project environment (dev, stage, prod). |
string |
"dev" |
no |