Skip to content

vicktornl/terraform-module-ecs-cluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform module ECS Cluster

module "mycluster" {
  source   = "git@github.com:vicktornl/terraform-module-ecs-cluster.git"
  name     = "mycluster"
  max_size = 3
  vpc_id   = module.myvpc.id
  subnets  = module.myvpc.private_subnet_ids
}

Requirements

No requirements.

Providers

Name Version
aws n/a

Modules

No modules.

Resources

Name Type
aws_autoscaling_group.main resource
aws_ecs_cluster.main resource
aws_iam_instance_profile.ecs_instance_role resource
aws_iam_role.ecs_instance_role resource
aws_iam_role_policy_attachment.ecs_instance_role resource
aws_launch_configuration.main resource
aws_iam_policy_document.ecs_instance_role_assume data source
aws_ssm_parameter.ecs_ami data source

Inputs

Name Description Type Default Required
image_id n/a string "" no
instance_type n/a string "t2.micro" no
max_size n/a number 0 no
min_size n/a number 0 no
name n/a any n/a yes
security_groups n/a list [] no
subnets n/a list [] no
vpc_id n/a any n/a yes

Outputs

Name Description
cluster_arn n/a
cluster_id n/a
ecs_instance_role_name n/a

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published