Skip to content

Commit

Permalink
change the dataflow zone from us-central1-f to us-east5-b (GoogleClou…
Browse files Browse the repository at this point in the history
  • Loading branch information
liferoad authored and BBBmau committed Mar 27, 2024
1 parent f71b375 commit 41b3220
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func TestAccDataflowJob_basic(t *testing.T) {
randStr := acctest.RandString(t, 10)
bucket := "tf-test-dataflow-gcs-" + randStr
job := "tf-test-dataflow-job-" + randStr
zone := "us-central1-f"
zone := "us-east5-b"

acctest.VcrTest(t, resource.TestCase{
PreCheck: func() { acctest.AccTestPreCheck(t) },
Expand Down Expand Up @@ -69,7 +69,7 @@ func TestAccDataflowJobSkipWait_basic(t *testing.T) {
randStr := acctest.RandString(t, 10)
bucket := "tf-test-dataflow-gcs-" + randStr
job := "tf-test-dataflow-job-" + randStr
zone := "us-central1-f"
zone := "us-east5-b"

acctest.VcrTest(t, resource.TestCase{
PreCheck: func() { acctest.AccTestPreCheck(t) },
Expand Down Expand Up @@ -259,14 +259,14 @@ func TestAccDataflowJob_withLabels(t *testing.T) {

func TestAccDataflowJob_withProviderDefaultLabels(t *testing.T) {
// The test failed if VCR testing is enabled, because the cached provider config is used.
// With the cached provider config, any changes in the provider default labels will not be applied.
// With the cached provider config, any changes in the provider default labels will not be applied.
acctest.SkipIfVcr(t)
t.Parallel()

randStr := acctest.RandString(t, 10)
bucket := "tf-test-dataflow-gcs-" + randStr
job := "tf-test-dataflow-job-" + randStr
zone := "us-central1-f"
zone := "us-east5-b"

acctest.VcrTest(t, resource.TestCase{
PreCheck: func() { acctest.AccTestPreCheck(t) },
Expand Down Expand Up @@ -420,7 +420,7 @@ func TestAccDataflowJob_withKmsKey(t *testing.T) {
crypto_key := "tf-test-dataflow-kms-key-" + randStr
bucket := "tf-test-dataflow-gcs-" + randStr
job := "tf-test-dataflow-job-" + randStr
zone := "us-central1-f"
zone := "us-east5-b"

if acctest.BootstrapPSARole(t, "service-", "compute-system", "roles/cloudkms.cryptoKeyEncrypterDecrypter") {
t.Fatal("Stopping the test because a role was added to the policy.")
Expand Down Expand Up @@ -870,7 +870,7 @@ resource "google_storage_bucket" "temp" {

resource "google_dataflow_job" "big_data" {
name = "%s"

zone = "%s"

machine_type = "e2-standard-2"
Expand All @@ -895,7 +895,7 @@ resource "google_storage_bucket" "temp" {

resource "google_dataflow_job" "big_data" {
name = "%s"

zone = "%s"

machine_type = "e2-standard-2"
Expand Down Expand Up @@ -1029,7 +1029,7 @@ resource "google_project_iam_member" "dataflow-worker" {
resource "google_dataflow_job" "big_data" {
name = "%s"
depends_on = [
google_storage_bucket_iam_member.dataflow-gcs,
google_storage_bucket_iam_member.dataflow-gcs,
google_project_iam_member.dataflow-worker
]

Expand Down Expand Up @@ -1226,7 +1226,7 @@ resource "google_storage_bucket" "temp" {

resource "google_dataflow_job" "big_data" {
name = "%s"

zone = "%s"

machine_type = "e2-standard-2"
Expand Down

0 comments on commit 41b3220

Please sign in to comment.