-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b9df1d4
commit 8ff4006
Showing
2 changed files
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
output "service_arn" { | ||
value = var.ignore_changes ? aws_ecs_service.ignore_changes[0].id : aws_ecs_service.default[0].id | ||
value = aws_ecs_service.default.id | ||
description = "The ARN for the ECS Service" | ||
} | ||
|
||
output "task_definition_arn" { | ||
value = var.ignore_changes ? aws_ecs_task_definition.ignore_changes[*].arn : aws_ecs_task_definition.default[*].arn | ||
value = aws_ecs_task_definition.defaults.arn | ||
description = "The ARN for the ECS Task Definition" | ||
} | ||
|
||
output "task_definition_string" { | ||
value = var.ignore_changes ? "${aws_ecs_task_definition.ignore_changes[0].id}:${aws_ecs_task_definition.ignore_changes[0].revision}" : "${aws_ecs_task_definition.default[0].id}:${aws_ecs_task_definition.default[0].revision}" | ||
value = "${aws_ecs_task_definition.default.id}:${aws_ecs_task_definition.default.revision}" | ||
description = "The JSON formatted container definition" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters