ecs-fargate-task-definition

cn-terraform/ecs-fargate-task-definition/aws

Terraform Module HCL AWS

AWS ECS Fargate Task Definition Terraform Module

Install
module "ecs-fargate-task-definition" {
source = "cn-terraform/ecs-fargate-task-definition/aws"
version = "1.0.38"
}
⭐ Source on GitHub 📦 Registry page
README

AWS ECS Fargate Task Definition Terraform Module # This Terraform module creates an AWS ECS Fargate task definition. ![](https://github.com/cn-terraform/terraform-aws-ecs-fargate-task-definition/actions?query=workflow%3Aterraform) ![](https://github.com/cn-terraform/terraform-aws-ecs-fargate-task-definition) ![](https://github.com/cn-terraform/terraform-aws-ecs-fargate-task-definition) ![](https://github.com/cn-terraform/terraform-aws-ecs-fargate-task-definition) ![](https://github.com/cn-terraform/terraform-aws-ecs-fargate-task-definition) ![](https://github.com/cn-terraform/terraform-aws-ecs-fargate-task-definition) Usage Check versions for this module on: Github Releases: Terraform Module Registry: Install pre commit hooks. Pleas run this command right after cloning the repository. pre-

Inputs (50)
NameTypeDescriptionDefault
name_prefixstringName prefix for resources on AWS required
log_configurationanyLog configuration options to send to a custom log driver for the container. For null
container_memory_reservationnumber(Optional) The amount of memory (in MiB) to reserve for the container. If contai2048
container_namestringThe name of the container. Up to 255 characters ([a-z], [A-Z], [0-9], -, _ allownull
start_timeoutnumberTime duration (in seconds) to wait before giving up on resolving dependencies fonull
iam_partitionstringIAM partition to use when referencing standard policies. GovCloud and some other"aws"
ipc_modestring(Optional) IPC resource namespace to be used for the containers in the task The null
readonly_root_filesystemboolDetermines whether a container is given read-only access to its root filesystem.false
pid_modestring(Optional) Process namespace to use for the containers in the task. The valid vanull
placement_constraintslist(object({ expression =(Optional) A set of placement constraints rules that are taken into consideratio[]
commandlist(string)The command that is passed to the containernull
map_environmentmap(string)The environment variables to pass to the container. This is a map of string: {kenull
map_secretsmap(string)The secrets variables to pass to the container. This is a map of string: {key: vnull
dns_search_domainslist(string)Container DNS search domains. A list of DNS search domains that are presented to[]
hostnamestringThe hostname to use for your container.null
linkslist(string)List of container names this container can communicate with without port mapping[]
additional_containersanyAdditional container definitions (sidecars) to use for the task.[]
volumeslist(object({ host_path = (Optional) A set of volume blocks that containers in your task may use[]
linux_parametersobject({ capabilities = obLinux-specific modifications that are applied to the container, such as Linux kenull
privilegedboolWhen this variable is `true`, the container is given elevated privileges on the null
system_controlslist(map(string))A list of namespaced kernel parameters to set in the container, mapping to the -[]
… and 10 more inputs
Outputs (10)
aws_iam_role_ecs_task_execution_role_id — The ID of the role.
aws_iam_role_ecs_task_execution_role_unique_id — The stable and unique string identifying the role.
aws_ecs_task_definition_td_family — The family of the Task Definition.
aws_ecs_task_definition_td_revision — The revision of the task in a particular family.
aws_iam_role_ecs_task_execution_role_arn — The Amazon Resource Name (ARN) specifying the role.
aws_iam_role_ecs_task_execution_role_create_date — The creation date of the IAM role.
aws_iam_role_ecs_task_execution_role_description — The description of the role.
aws_iam_role_ecs_task_execution_role_name — The name of the role.
aws_ecs_task_definition_td_arn — Full ARN of the Task Definition (including both family and revision).
container_name — Name of the container
Resources (4)
aws_ecs_task_definitionaws_iam_policyaws_iam_roleaws_iam_role_policy_attachment
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.38
Cloud AWS
★ Stars50
Forks32
Total downloads571.7k
Inputs50
Outputs10
Resources4
Examples2
LicenseApache-2.0
Namespacecn-terraform
Updated