Skip to content

Commit

Permalink
Merge pull request #75 from ministryofjustice/fix-typing
Browse files Browse the repository at this point in the history
Fix typing of repos_envs
  • Loading branch information
jakemulley authored May 5, 2023
2 parents fa475ff + 2bcadf1 commit e604a82
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 @@ -311,7 +311,7 @@ resource "github_actions_variable" "ecr_repository" {

# Environments
resource "github_actions_environment_secret" "role_to_assume" {
for_each = contains(var.oidc_providers, "github") ? local.github_repo_envs : []
for_each = contains(var.oidc_providers, "github") ? local.github_repo_envs : {}

repository = each.value.repository
environment = each.value.environment
Expand Down

0 comments on commit e604a82

Please sign in to comment.