terraform-aws-base-networking | Terraform module for building base networking in AWS | Infrastructure Automation library
kandi X-RAY | terraform-aws-base-networking Summary
kandi X-RAY | terraform-aws-base-networking Summary
A Terraform module for building a base network in AWS.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Returns a new pre - version of the pre - version .
- Remove a new pre - version .
- Finds and returns the resource with the named resource .
- This method is used to retrieve the network ID .
terraform-aws-base-networking Key Features
terraform-aws-base-networking Examples and Code Snippets
Community Discussions
Trending Discussions on terraform-aws-base-networking
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-base-networking
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