Skip to content

Commit

Permalink
Change naming in outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
qbart committed Jul 19, 2022
1 parent 18ebb21 commit 3341e51
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions modules/ecs-cluster/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
output "ecs_cluster_id" {
output "cluster_id" {
value = aws_ecs_cluster.this.id
description = "ECS cluster ID (contains randomized suffix)."
}
Expand All @@ -18,7 +18,11 @@ output "instance_security_group_id" {
description = "ID of the security group attached to an instance."
}

output "autoscaling_group_name" {
description = "Autoscaling Group name"
value = aws_autoscaling_group.this.name
output "autoscaling_group" {
description = "Autoscaling Group data."
value = {
arn = aws_autoscaling_group.this.arn
name = aws_autoscaling_group.this.name
}
}

0 comments on commit 3341e51

Please sign in to comment.