- Use Terraform to deploy this application to ECS
- The website has to show some value that is fetched from the backend side and loaded dynamically in it. How you will generate and serve this dynamic value is up to you, but keep in mind that you won't be judged on your skills as web developer, so just make it simple and functional. for example,
- the webserver's ip
- the container ID
- the port used
- some secret stored in the cluster
- some random file in a storage resource
- a value from a DB
Name | Version |
---|---|
aws | 5.37.0 |
Name | Source | Version |
---|---|---|
ecs | terraform-aws-modules/ecs/aws | 5.9.0 |
vpc | terraform-aws-modules/vpc/aws | 5.5.2 |
Name | Type |
---|---|
aws_ecs_service.this | resource |
aws_ecs_task_definition.web_service | resource |
aws_lb.web_alb | resource |
aws_lb_listener.web_alb_listener | resource |
aws_lb_target_group.web_alb_tg | resource |
aws_security_group.this | resource |
aws_security_group.web_alb_sg | resource |
aws_security_group_rule.egress_rules | resource |
aws_security_group_rule.this | resource |
aws_availability_zones.available | data source |
aws_ecr_image.web_container | data source |
aws_subnets.filtered_public | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
aws_region | The name of the AWS region that we are working in | string |
n/a | yes |
environment | The name of the environment that we are deploying to. | string |
n/a | yes |
project | The name of the project that we are working on. | string |
n/a | yes |
Name | Description |
---|---|
subnets | n/a |
url | n/a |