Skip to content

bahadauriaabhay/ecsterraformmodules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform ecs Modules

usage for ecs modules

  source         = "./modules/ecs"
  name           = "demo1"
  instance_types = "t2.micro"
  vpc_id         = module.network.vpcid

  on_demand_percentage = 0
  asg_min              = 1
  asg_max              = 3
  desired_capacity     = 1
  asg_target_capacity  = 80

  container_cpu    = 100
  container_memory = 512
  containerPort    = 80
  hostPort         = 80

additional variable you can use

imageURI         = []

terraform command

to initialize module dependencies

terraform init

it will show details what terraform creating

terraform plan

to create planned resource

terraform apply

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages