Skip to content

Commit

Permalink
Fix Error: Inconsistent dependency lock file error in test (GoogleC…
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahFrench authored Aug 1, 2024
1 parent 3e74944 commit 0e6e861
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -368,12 +368,14 @@ resource "google_project_service" "test" {
func testAccProjectService_checkUsage(service string, pid, org string, checkIfServiceHasUsage string) string {
return fmt.Sprintf(`
resource "google_project" "acceptance" {
provider = google-beta
project_id = "%s"
name = "%s"
org_id = "%s"
}

resource "google_project_service" "test" {
provider = google-beta
project = google_project.acceptance.project_id
service = "%s"

Expand Down

0 comments on commit 0e6e861

Please sign in to comment.