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 | Version |
|---|---|
| terraform | >= 1.1.7 |
| aws | 4.15.1 |
| Name | Version |
|---|---|
| aws | 4.15.1 |
| aws.cloudfront | 4.15.1 |
| Name | Source | Version |
|---|---|---|
| athena_kms | git@github.com:TransformCore/internal-terraform-aws-kms.git | v0.0.1 |
| ecr_kms | git@github.com:TransformCore/internal-terraform-aws-kms.git | v0.0.1 |
| paramstore_kms | git@github.com:TransformCore/internal-terraform-aws-kms.git | v0.0.1 |
| vpc | terraform-aws-modules/vpc/aws | 3.14.0 |
| 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 |
| Name | Description |
|---|---|
| alb_hostname | URL of the ALB. |
| athena_results_bucket | Name of the Athena bucket. |
| aws_ecr_repository_url | URL of the ECR repository. |
| cloudfront_domain_name | URL of the CloudFront distribution. |
| static_files_bucket | Name of the bucket for the static site files. |