generated from cloudposse/terraform-example-module
-
-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathoutputs.tf
More file actions
19 lines (16 loc) · 530 Bytes
/
outputs.tf
File metadata and controls
19 lines (16 loc) · 530 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
output "name" {
description = "ECS cluster name"
value = module.this.enabled ? local.cluster_name : null
}
output "id" {
description = "ECS cluster id"
value = module.this.enabled ? join("", aws_ecs_cluster.default[*].id) : null
}
output "arn" {
description = "ECS cluster arn"
value = module.this.enabled ? join("", aws_ecs_cluster.default[*].arn) : null
}
output "role_name" {
description = "IAM role name"
value = module.this.enabled ? join("", aws_iam_role.default[*].name) : null
}