Skip to main content
After applying the root module, these outputs are available:

Cluster Outputs

string
ARN that identifies the ECS cluster.
string
ID that identifies the ECS cluster.
string
Name that identifies the ECS cluster.
map
Map of cluster capacity providers attributes.

Capacity Providers

map
Map of autoscaling capacity providers created and their attributes.

Services

map
Map of services created and their attributes. Each key corresponds to a service name provided in var.services. The value contains all service-level outputs including ARN, name, task definition ARN, and IAM role details.

CloudWatch Logging

string
Name of the CloudWatch log group created for the cluster.
string
ARN of the CloudWatch log group created for the cluster.

IAM — Infrastructure Role

string
ARN of the infrastructure IAM role.
string
Name of the infrastructure IAM role.
string
Stable and unique string identifying the infrastructure IAM role.

IAM — Task Execution Role

string
ARN of the task execution IAM role (cluster-level, when create_task_exec_iam_role = true).
string
Name of the task execution IAM role.
string
Stable and unique string identifying the task execution IAM role.

IAM — Node Role (Managed Instances)

string
ARN of the IAM instance profile for ECS Managed Instances nodes.
string
ID of the IAM instance profile.
string
Stable and unique string identifying the IAM instance profile.
string
ARN of the node IAM role.
string
Name of the node IAM role.
string
Stable and unique string identifying the node IAM role.