terraform-aws-ecs-cluster | Terraform module for building an ECS cluster in AWS | Continuous Deployment library
kandi X-RAY | terraform-aws-ecs-cluster Summary
kandi X-RAY | terraform-aws-ecs-cluster Summary
Terraform module for building an ECS cluster in AWS
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Returns a new version of the pre - pre - 1 .
- Return a new pre - release version of the given version .
terraform-aws-ecs-cluster Key Features
terraform-aws-ecs-cluster Examples and Code Snippets
Community Discussions
Trending Discussions on terraform-aws-ecs-cluster
QUESTION
I'm new Terraform and I'm working on an infrastructure setup for deploying Docker Containers. I've based my ECS Cluster off Infrablocks/ECS-Cluster and my Base Networking on Infrablocks/Base-Network. I've opted to use these due to time constraints on the project.
The problem I'm having is that the two EC2 Container Instances that are created by Infrablocks/ECS-Cluster module are not associated with ECS Cluster that Infrablocks builds. I've had zero luck determining why. This is blocking my task definitions from being able to run containers in the ECS Cluster because there are no associated EC2 Instances. I've provided my two dependent module configurations below.
Thank you in advance for any help you can provide!
My Terraform thus far:
...ANSWER
Answered 2020-Apr-22 at 21:05You'd have to troubleshoot the instance to see why it isn't joining the cluster. On your EC2 instances (which, I have not looked, but I would hope that the "infrablocks" ecs-cluster module uses an AMI with the ECS agent installed), you can look in /var/log/ecs/ecs-agent.log .
If the networking configuration is sound, my first guess would be to check the ECS configuration file. If your module is working properly, it should have populated the config with the cluster name. See here for more on that
(I would have commented instead of answered but this account doesn't have enough rep :shrug:)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install terraform-aws-ecs-cluster
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page