Skip to content

Commit

Permalink
correct function names
Browse files Browse the repository at this point in the history
  • Loading branch information
jabez007 committed Jul 28, 2024
1 parent c497aee commit ee77bd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resource "github_repository_environment" "environments" {
# local.repo_environments is a list of objects
# so we must project that into a map
# where each key is unique
for_each = toMap({
for_each = tomap({
for env in local.repo_environments : "${env.repository} - ${env.environment}" => env
})

Expand Down

0 comments on commit ee77bd8

Please sign in to comment.