To run this example you need to execute:
$ terraform init
$ terraform plan
$ terraform apply
<service>.allow_connections_from
will enable incoming HTTP connections.
Note that this example create resources which can cost money (AWS Fargate Services, for example). Run terraform destroy
when you don't need these resources.
Name | Description |
---|---|
vpc | VPC created for ECS cluster |
ecr | ECR Docker registry for Docker images |
ecs_cluster | ECS cluster |
application_load_balancers | ALBs which expose ECS services |
web_security_group | Security groups attached to ALBs |
services_security_groups | Security groups attached to ECS services |
cloudwatch_log_groups | CloudWatch groups for ECS services |