ecs-fargate

aws-ia/ecs-fargate/aws

Terraform Module HCL AWS ✓ Verified

AWS ECS Fargate Module

Install
module "ecs-fargate" {
source = "aws-ia/ecs-fargate/aws"
version = "0.0.2"
}
⭐ Source on GitHub 📦 Registry page
README

Terraform AWS ECS Fargate Authors: David Wright (dwright@hashicorp.com) and Tony Vattahil (tonynv@amazon.com) To deploy the Terraform Amazon Fargate module, do the following: 1. Install Terraform. For instructions and a video tutorial, see Install Terraform. 2. Sign up and log into Terraform Cloud. (There is a free tier available.) 3. Configure Terraform Cloud API access. Run the following to generate a Terraform Cloud token from the command line interface: `` terraform login --For Mac/Linux export TERRAFORM_CONFIG="$HOME/.terraform.d/credentials.tfrc.json" --For Windows export TERRAFORM_CONFIG="$HOME/AppData/Roaming/terraform.d/credentials.tfrc.json" ` 4. Configure the AWS Command Line Interface (AWS CLI). For more information, see Configuring the AWS CLI. 5. If you don't have git install

Inputs (15)
NameTypeDescriptionDefault
vpc_idstringECS VPC ID required
regionstringthe name of the region you wish to deploy into"us-east-1"
namestringName given resources"aws-ia"
container_memorynumberHow much memory in megabytes to give the container512
network_tagstringTags used to filter ecs subnets "ecs-subnets"
image_urlstringthe url of a docker image that contains the application process that will handle"nginx"
lb_public_accessboolMake LB accessable publiclytrue
routing_prioritynumberThe priority for the routing rule added to the load balancer. This only applies 1
container_portnumberWhat port number the application inside the docker container is binding to80
container_cpunumberHow much CPU to give the container. 1024 is 1 CPU256
lb_pathstringA path on the public load balancer that this service should be connected to. Use"*"
service_namestringA name for the service"nginx"
desired_countnumberHow many copies of the service task to run2
remote_cidr_blockslist(any)By default cidr_blocks are locked down. (Update to 0.0.0.0/0 if full public acce[ "10.0.0.0/32" ]
name_prefixstringName Prefix"fw"
Outputs (1)
public_lb_dns_name — Public LB address to connect too
Resources (10)
aws_ecs_clusteraws_ecs_serviceaws_ecs_task_definitionaws_iam_roleaws_lbaws_lb_listeneraws_lb_listener_ruleaws_lb_target_groupaws_security_grouprandom_string
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.2
Cloud AWS
★ Stars30
Forks18
Total downloads5.5k
Inputs15
Outputs1
Resources10
LicenseApache-2.0
Namespaceaws-ia
Updated