aws_ecs_task_definitionNivis Nix constructor for the aws_ecs_task_definition resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
container_definitions,
family,
cpu ? null,
enable_fault_injection ? null,
execution_role_arn ? null,
id ? null,
ipc_mode ? null,
memory ? null,
network_mode ? null,
pid_mode ? null,
region ? null,
requires_compatibilities ? null,
skip_destroy ? null,
tags ? null,
tags_all ? null,
task_role_arn ? null,
track_latest ? null,
ephemeral_storage ? null,
placement_constraints ? null,
proxy_configuration ? null,
runtime_platform ? null,
volume ? null,
overrides ? {}
}Required arguments
container_definitionsfamily
Optional arguments
cpu(defaults tonull)enable_fault_injection(defaults tonull)execution_role_arn(defaults tonull)id(defaults tonull)ipc_mode(defaults tonull)memory(defaults tonull)network_mode(defaults tonull)pid_mode(defaults tonull)region(defaults tonull)requires_compatibilities(defaults tonull)skip_destroy(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)task_role_arn(defaults tonull)track_latest(defaults tonull)ephemeral_storage(defaults tonull)placement_constraints(defaults tonull)proxy_configuration(defaults tonull)runtime_platform(defaults tonull)volume(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnarn_without_revisionrevision
Example
aws_ecs_task_definition {
name = "ecs_task_definition";
container_definitions = …; # required
family = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.