Modernisation Platform ECS Cluster Module
No modules.
Name |
Description |
Type |
Default |
Required |
ami_image_id |
EC2 AMI image to run in the ECS cluster |
string |
n/a |
yes |
app_count |
Number of docker containers to run |
string |
n/a |
yes |
app_name |
Name of the application |
string |
n/a |
yes |
appscaling_max_capacity |
Maximum capacity of the application scaling target |
number |
3 |
no |
appscaling_min_capacity |
Minimum capacity of the application scaling target |
number |
1 |
no |
container_cpu |
Container instance CPU units to provision (1 vCPU = 1024 CPU units) |
string |
n/a |
yes |
container_instance_type |
Container OS being used (windows or linux) |
string |
n/a |
yes |
container_memory |
Container instance memory to provision (in MiB) |
string |
n/a |
yes |
ec2_desired_capacity |
Number of EC2s in the cluster |
string |
n/a |
yes |
ec2_egress_rules |
Security group egress rules for the cluster EC2s |
map(object({ description = string from_port = number to_port = number protocol = string security_groups = list(string) cidr_blocks = list(string) })) |
n/a |
yes |
ec2_ingress_rules |
Security group ingress rules for the cluster EC2s |
map(object({ description = string from_port = number to_port = number protocol = string security_groups = list(string) cidr_blocks = list(string) })) |
n/a |
yes |
ec2_max_size |
Max Number of EC2s in the cluster |
string |
n/a |
yes |
ec2_min_size |
Min Number of EC2s in the cluster |
string |
n/a |
yes |
instance_type |
EC2 instance type to run in the ECS cluster |
string |
n/a |
yes |
key_name |
Key to access EC2s in ECS cluster |
string |
n/a |
yes |
lb_tg_name |
Load balancer target group name used by ECS service |
string |
n/a |
yes |
network_mode |
The network mode used for the containers in the task. If OS used is Windows network_mode must equal none. |
string |
n/a |
yes |
server_port |
The port the containers will be listening on |
string |
n/a |
yes |
subnet_set_name |
The name of the subnet set associated with the account |
string |
n/a |
yes |
tags_common |
Common tags to be used by all resources |
map(string) |
n/a |
yes |
task_definition |
Task definition to be used by the ECS service |
string |
n/a |
yes |
task_definition_volume |
Name of the volume referenced in the sourceVolume parameter of container definition in the mountPoints section |
string |
n/a |
yes |
user_data |
The configuration used when creating EC2s used for the ECS cluster |
string |
n/a |
yes |
vpc_id |
The ID of the VPC used to create resources |
string |
n/a |
yes |
If you're looking to raise an issue with this module, please create a new issue in the Modernisation Platform repository.