Resource Creation Controls
Determines whether resources will be created. Default:
true.Service
Name or ARN of the ECS cluster. Defaults to the
default cluster. Default: null.Name of the service. If not specified, a name is generated. Changing this forces re-creation. Default:
"".CPU units for the task. Valid values are powers of
2 between 256 and 4096. Default: null.Memory in MiB for the task. Valid values are between
512 and 8192. Default: null.Path for health check requests. Default:
null (/ping).Network configuration for the service revision.Default:
null.Primary container configuration for the service revision.Default:
null.Auto-scaling configuration for the service revision.Default:
null.Security Group
Create a security group for the service. Default:
true.Security group name. Default:
null.Use security group name as prefix. Default:
true.Security group description. Default:
null.Ingress rules for the security group. Default:
{}.Egress rules for the security group. Default:
{}.Additional security group tags. Default:
{}.VPC ID for the security group. Default:
null.IAM — Execution Role
Create the task execution IAM role. Default:
true.Existing execution IAM role ARN. Default:
null.Execution IAM role name. Default:
null.Use name as prefix. Default:
true.IAM role path. Default:
null.Role description. Default:
null.Permissions boundary ARN. Default:
null.Policy ARNs to attach. Default:
{}.Additional tags. Default:
{}.Maximum session duration in seconds. Default:
null.Create the execution IAM policy with ECR, CloudWatch, Secrets Manager, and SSM permissions. Default:
true.SSM parameter ARNs the execution role can read. Default:
[].Secrets Manager ARNs the execution role can read. Default:
[].Custom IAM statements for the execution role. Default:
null.Path for the execution IAM policy. Default:
null.IAM — Infrastructure Role
Create the infrastructure IAM role. Default:
true.Existing infrastructure IAM role ARN. Default:
null.Infrastructure IAM role name. Default:
null.Use name as prefix. Default:
true.IAM role path. Default:
null.Role description. Default:
null.Permissions boundary ARN. Default:
null.Additional tags. Default:
{}.IAM — Task Role
Create the task runtime IAM role. Default:
true.Existing task IAM role ARN. Default:
null.Task IAM role name. Default:
null.Use name as prefix. Default:
true.IAM role path. Default:
null.Role description. Default:
null.Permissions boundary ARN. Default:
null.Additional policy ARNs to attach. Default:
{}.Custom IAM statements for the task role. Default:
null.Additional tags. Default:
{}.Maximum session duration in seconds. Default:
null.CloudWatch Log Group
Create a CloudWatch log group for the service. Default:
true.Custom log group name. Default:
null.Log retention in days. Default:
14.KMS Key ARN for log encryption. Default:
null.Log class:
STANDARD or INFREQUENT_ACCESS. Default: null.Additional log group tags. Default:
{}.Misc
AWS region. Defaults to provider region. Default:
null.Tags for all resources. Default:
{}.
