Skip to content

Commit

Permalink
fix: Add explicit depends_on for budget project data source (#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
bharathkkb authored Mar 11, 2021
1 parent faa7eef commit 454076a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/budget/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ locals {
}

data "google_project" "project" {
depends_on = [var.projects]
count = length(var.projects)
project_id = element(var.projects, count.index)
}
Expand Down

0 comments on commit 454076a

Please sign in to comment.