Skip to content

Commit

Permalink
fix: add propagation to test/setup (#708)
Browse files Browse the repository at this point in the history
feat: update test/setup to pfactory 13.0
  • Loading branch information
apeabody authored Apr 19, 2022
1 parent 9ad325b commit 321bed2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test/setup/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ resource "google_folder" "ci_pfactory_folder" {

module "pfactory_project" {
source = "terraform-google-modules/project-factory/google"
version = "~> 11.0"
version = "~> 13.0"

name = "ci-pfactory-tests"
random_project_id = true
Expand Down Expand Up @@ -54,3 +54,10 @@ module "pfactory_project" {
resource "random_id" "random_string_for_testing" {
byte_length = 3
}

# propagation time
resource "time_sleep" "wait_180_seconds" {
depends_on = [module.pfactory_project.enabled_apis]

create_duration = "180s"
}
4 changes: 4 additions & 0 deletions test/setup/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,9 @@ terraform {
source = "hashicorp/random"
version = "~> 2.2"
}
time = {
source = "hashicorp/time"
version = ">= 0.5.0"
}
}
}

0 comments on commit 321bed2

Please sign in to comment.