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
}
No requirements.
Name | Version |
---|---|
aws | n/a |
No modules.
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 |
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 |
Name | Description |
---|---|
cluster_arn | n/a |
cluster_id | n/a |
ecs_instance_role_name | n/a |