-
-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update outputs.tf * Update examples_complete_test.go * Updated README.md * Update outputs.tf * Update main.tf * Update main.tf * Executed 'terraform fmt' * Update outputs.tf Co-authored-by: actions-bot <[email protected]>
- Loading branch information
1 parent
581492f
commit b698e23
Showing
8 changed files
with
57 additions
and
61 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
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
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
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,9 +1,14 @@ | ||
output "json" { | ||
output "json_map_encoded_list" { | ||
description = "JSON encoded list of container definitions for use with other terraform resources such as aws_ecs_task_definition" | ||
value = module.container.json | ||
value = module.container.json_map_encoded_list | ||
} | ||
|
||
output "json_map" { | ||
output "json_map_encoded" { | ||
description = "JSON encoded container definitions for use with other terraform resources such as aws_ecs_task_definition" | ||
value = module.container.json_map | ||
value = module.container.json_map_encoded | ||
} | ||
|
||
output "json_map_object" { | ||
description = "JSON map encoded container definition" | ||
value = module.container.json_map_object | ||
} |
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
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
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,9 +1,14 @@ | ||
output "json" { | ||
description = "JSON encoded list of container definitions for use with other terraform resources such as aws_ecs_task_definition" | ||
output "json_map_encoded_list" { | ||
description = "JSON string encoded list of container definitions for use with other terraform resources such as aws_ecs_task_definition" | ||
value = "[${local.json_map}]" | ||
} | ||
|
||
output "json_map" { | ||
description = "JSON encoded container definitions for use with other terraform resources such as aws_ecs_task_definition" | ||
output "json_map_encoded" { | ||
description = "JSON string encoded container definitions for use with other terraform resources such as aws_ecs_task_definition" | ||
value = local.json_map | ||
} | ||
|
||
output "json_map_object" { | ||
description = "JSON map encoded container definition" | ||
value = jsondecode(local.json_map) | ||
} |
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