Skip to content

Commit

Permalink
Fix CodeStar output
Browse files Browse the repository at this point in the history
* Needs to use the map key rather than value
  • Loading branch information
Stretch96 committed May 22, 2024
1 parent 94c6684 commit 91aff11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ output "resource_map" {
codestar_connections = {
_description = "CodeStar connection ARNs"
arns = {
for connection in local.codestar_connections : connection.value => aws_codestarconnections_connection.connections[connection.value].arn
for k, connection in local.codestar_connections : k => aws_codestarconnections_connection.connections[k].arn
}
}
alerts = {
Expand Down

0 comments on commit 91aff11

Please sign in to comment.