add_datadog_feed |
Flag to control adding subscription filter to CW loggroup |
bool |
true |
no |
allow_overnight_scaledown |
Allow service to be scaled down |
bool |
true |
no |
application_environment |
Environment specific parameters passed to the container |
map(string) |
{} |
no |
application_secrets |
A list of application specific secret names that can be found in aws secrets manager |
list(string) |
[] |
no |
assume_role_policy |
A valid IAM policy for assuming roles - optional |
string |
"" |
no |
common_application_environment |
Environment parameters passed to the container for all environments |
map(string) |
{} |
no |
container_labels |
Additional docker labels to apply to the container. |
map(string) |
{} |
no |
container_mountpoint |
Map containing 'sourceVolume', 'containerPath' and 'readOnly' (optional) to map a volume into a container. |
map(string) |
{} |
no |
container_port_mappings |
JSON document containing an array of port mappings for the container defintion - if set port is ignored (optional). |
string |
"" |
no |
cpu |
CPU unit reservation for the container |
string |
n/a |
yes |
deployment_maximum_percent |
The maximumPercent parameter represents an upper limit on the number of your service's tasks that are allowed in the RUNNING or PENDING state during a deployment, as a percentage of the desiredCount (rounded down to the nearest integer). |
string |
"200" |
no |
deployment_minimum_healthy_percent |
The minimumHealthyPercent represents a lower limit on the number of your service's tasks that must remain in the RUNNING state during a deployment, as a percentage of the desiredCount (rounded up to the nearest integer). |
string |
"100" |
no |
deployment_timeout |
Timeout to wait for the deployment to be finished [seconds]. |
number |
600 |
no |
desired_count |
The number of instances of the task definition to place and keep running. |
string |
"3" |
no |
ecs_cluster |
The ECS cluster |
string |
"default" |
no |
env |
Environment name |
any |
n/a |
yes |
extra_hosts |
List of objects containing 'hostname' and 'ipAddress' used to add extra /etc/hosts to the container. |
list(object({'hostname': string 'ipAddress': string}) |
[] |
no |
health_check_grace_period_seconds |
Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Default 0. |
string |
"0" |
no |
image_id |
ECR image_id for the ecs container |
string |
"" |
no |
is_test |
For testing only. Stops the call to AWS for sts |
bool |
false |
no |
log_subscription_arn |
To enable logging to a kinesis stream |
string |
"" |
no |
memory |
The memory reservation for the container in megabytes |
string |
n/a |
yes |
multiple_target_group_arns |
Mutiple target group ARNs to allow connection to multiple loadbalancers |
list(any) |
[] |
no |
name_suffix |
Set a suffix that will be applied to the name in order that a component can have multiple services per environment |
string |
"" |
no |
network_configuration_security_groups |
needed for network_mode awsvpc |
list(any) |
[] |
no |
network_configuration_subnets |
needed for network_mode awsvpc |
list(any) |
[] |
no |
network_mode |
The Docker networking mode to use for the containers in the task |
string |
"bridge" |
no |
nofile_soft_ulimit |
The soft ulimit for the number of files in container |
string |
"4096" |
no |
overnight_scaledown_end_hour |
When to bring service back to full strength (Hour in UTC) |
string |
"06" |
no |
overnight_scaledown_min_count |
Minimum task count overnight |
string |
"0" |
no |
overnight_scaledown_start_hour |
From when a service can be scaled down (Hour in UTC) |
string |
"22" |
no |
pack_and_distinct |
Enable distinct instance and task binpacking for better cluster utilisation. Enter 'true' for clusters with auto scaling groups. Enter 'false' for clusters with no ASG and instant counts less than or equal to desired tasks |
string |
"false" |
no |
platform_config |
Platform configuration |
map(string) |
{} |
no |
platform_secrets |
A list of common secret names for "the platform" that can be found in secrets manager |
list(string) |
[] |
no |
port |
The port that container will be running on |
string |
n/a |
yes |
privileged |
Gives the container privileged access to the host |
bool |
false |
no |
release |
Metadata about the release |
map(string) |
n/a |
yes |
scaling_metrics |
A list of maps defining the scaling of the services tasks - for more info see below |
list(any) |
[] |
no |
secrets |
Secret credentials fetched using credstash |
map(string) |
{} |
no |
stop_timeout |
The duration is seconds to wait before the container is forcefully killed. Default 30s, max 120s. |
string |
"none" |
no |
target_group_arn |
The ALB target group for the service. |
string |
"" |
no |
task_role_policy |
IAM policy document to apply to the tasks via a task role |
string |
"{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Action\": \"sts:GetCallerIdentity\",\n \"Effect\": \"Allow\",\n \"Resource\": \"*\"\n }\n ]\n}\n" |
no |
taskdef_volume |
Map containing 'name' and 'host_path' used to add a volume mapping to the taskdef. |
map(string) |
{} |
no |