ecs-task-definition

bryan-rhm/ecs-task-definition/aws

Terraform Module HCL AWS

Terraform module for ECS Task Definition

Install
module "ecs-task-definition" {
source = "bryan-rhm/ecs-task-definition/aws"
version = "2.0.0"
}
plain text: /constructs/tfmod-bryan-rhm-ecs-task-definition-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform ECS Task Definition Module Requirements | Name | Version | |------|---------| | terraform | >= 1.0.0 | | aws | >= 3.43.0 | Providers | Name | Version | |------|---------| | aws | 3.70.0 | Modules No modules. Resources | Name | Type | |------|------| | aws_ecs_task_definition.this | resource | Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | container\_definitions | A list of valid container definitions provided as a single valid JSON document. | string | n/a | yes | | name | A unique name for your task definition. | string | n/a | yes | | network\_mode | (Optional) Docker networking mode to use for the containers in the task. Valid values are none, bridge, awsvpc, and host. | string | "awsvpc" | no | | placement\_const

Inputs (12)
NameTypeDescriptionDefault
namestringA unique name for your task definition. required
container_definitionsstringA list of valid container definitions provided as a single valid JSON document. required
tagsmap(string)(Optional) Key-value map of resource tags.{}
task_execution_rolestring(Optional) ARN of the task execution role that the Amazon ECS container agent annull
proxy_configurationlist(any)(Optional) Configuration block for the App Mesh proxy.[]
requires_compatibilitieslist(string)Set of launch types required by the task. The valid values are EC2 and FARGATE.[ "FARGATE" ]
task_cpunumber(Optional) Number of cpu units used by the task. If the requires_compatibilitiesnull
task_memorynumber(Optional) Amount (in MiB) of memory used by the task. If the requires_compatibinull
volumeslist(object({ host_path = (Optional) Configuration block for volumes that containers in your task may use.[]
network_modestring(Optional) Docker networking mode to use for the containers in the task. Valid v"awsvpc"
task_role_arnstring(Optional) ARN of IAM role that allows your Amazon ECS container task to make canull
placement_constraintslist(any)(Optional) Configuration block for rules that are taken into consideration durin[]
Outputs (1)
output — Task definition attributes
Resources (1)
aws_ecs_task_definition
Details
FrameworkTerraform Module
LanguageHCL
Version2.0.0
Cloud AWS
★ Stars2
Forks0
Total downloads3.7k
Inputs12
Outputs1
Resources1
LicenseApache-2.0
Namespacebryan-rhm
Updated