Skip to main content
output "cluster_arn" {
  value = module.ecs_cluster.arn
}

Cluster

arn
string
ARN that identifies the ECS cluster.
id
string
ID that identifies the ECS cluster.
name
string
Name of the ECS cluster.
cluster_capacity_providers
map
Map of cluster capacity providers and their attributes.

Capacity Providers

capacity_providers
map
Map of autoscaling capacity providers created and their attributes.

CloudWatch Logging

cloudwatch_log_group_name
string
Name of the CloudWatch log group.
cloudwatch_log_group_arn
string
ARN of the CloudWatch log group.

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.
infrastructure_iam_role_unique_id
string
Unique ID for the infrastructure IAM role.

IAM — Task Execution Role

task_exec_iam_role_arn
string
ARN of the cluster-level task execution IAM role (when created).
task_exec_iam_role_name
string
Name of the task execution IAM role.
task_exec_iam_role_unique_id
string
Unique ID for the task execution IAM role.

IAM — Node Role (Managed Instances)

node_iam_instance_profile_arn
string
ARN of the IAM instance profile for Managed Instances nodes.
node_iam_instance_profile_id
string
ID of the IAM instance profile.
node_iam_instance_profile_unique
string
Unique ID for the IAM instance profile.
node_iam_role_arn
string
ARN of the node IAM role.
node_iam_role_name
string
Name of the node IAM role.
node_iam_role_unique_id
string
Unique ID for the node IAM role.

Build docs developers (and LLMs) love