Skip to main content
output "service_arn" {
  value = module.ecs_service.id
}

Service

id
string
ARN that identifies the ECS service.
name
string
Name of the ECS service.

Task Definition

task_definition_arn
string
Full ARN of the task definition (including revision).
task_definition_family
string
Family name of the task definition.
task_definition_revision
string
Current revision of the task definition.

Task Set

task_set_arn
string
ARN of the task set (when using external deployment controller).
task_set_id
string
ID of the task set.
task_set_stability_status
string
Stability status of the task set.
task_set_status
string
Status of the task set.

IAM — Service Role

iam_role_arn
string
ARN of the service IAM role.
iam_role_name
string
Name of the service IAM role.
iam_role_unique_id
string
Unique ID of the service IAM role.

IAM — Task Execution Role

task_exec_iam_role_arn
string
ARN of the task execution IAM role.
task_exec_iam_role_name
string
Name of the task execution IAM role.
task_exec_iam_role_unique_id
string
Unique ID of the task execution IAM role.

IAM — Tasks Role (Runtime)

tasks_iam_role_arn
string
ARN of the tasks runtime IAM role.
tasks_iam_role_name
string
Name of the tasks runtime IAM role.
tasks_iam_role_unique_id
string
Unique ID of the tasks runtime IAM role.

IAM — Infrastructure Role

infrastructure_iam_role_arn
string
ARN of the infrastructure IAM role.
infrastructure_iam_role_name
string
Name of the infrastructure IAM role.

Security Group

security_group_arn
string
ARN of the service security group.
security_group_id
string
ID of the service security group.

Autoscaling

autoscaling_policies
map
Map of autoscaling policies created and their attributes.
autoscaling_scheduled_actions
map
Map of scheduled scaling actions created and their attributes.

Container Definitions

container_definitions
map
Map of container definitions created (from the container-definition sub-module).

Build docs developers (and LLMs) love