Skip to content

Commit

Permalink
replace for_each with count
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-cit committed Oct 23, 2024
1 parent e7c36a6 commit 3d34271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/cloudbuild_repo_connection/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ resource "random_id" "suffix" {
}

data "google_secret_manager_secret_version_access" "app_installation_id" {
for_each = local.is_github ? [1] : []
count = local.is_github ? 1 : 0

secret = var.connection_config.github_app_id_secret_id
}
Expand Down

0 comments on commit 3d34271

Please sign in to comment.