You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#tf_stack_destroy: true # This is to destroy the stack
52
+
tf_state_bucket_destroy: true # Will only destroy the bucket if tf_stack_destroy is true
53
+
54
+
aws_ecs_task_cpu: 256
55
+
aws_ecs_task_mem: 512
56
+
aws_ecs_app_image: nginx:latest
57
+
aws_ecs_assign_public_ip: true
58
+
59
+
aws_ecs_container_port: 80
60
+
aws_ecs_lb_port: 8000
61
+
```
62
+
63
+
## Advanced Use - 3 Containers, different paths
38
64
65
+
The example below will create a cluster with 3 tasks, with cloudwatch enabled and DNS usage.
66
+
You'll end up with the following URL -> https://subdomain.your-domain.com
67
+
Mapping the 2nd and 3rd container to https://subdomain.your-domain.com/apache/ and https://subdomain.your-domain.com/unit/ (Usefull for FE/BE and something extra)
68
+
(Keep in mind the apache container will print a 404 as that path doesn't exist in it.)
0 commit comments