Skip to content

Commit

Permalink
change the dataflow zone from us-central1-f to us-east5-b (#10205) (#…
Browse files Browse the repository at this point in the history
…17636)

[upstream:2aafbc049f9e84f2e9766c3660d5ff3e0b4eeed3]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Mar 20, 2024
1 parent b257858 commit e577611
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .changelog/10205.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
16 changes: 8 additions & 8 deletions google/services/dataflow/resource_dataflow_job_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,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 @@ -66,7 +66,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 @@ -263,7 +263,7 @@ func TestAccDataflowJob_withProviderDefaultLabels(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 @@ -417,7 +417,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 @@ -867,7 +867,7 @@ resource "google_storage_bucket" "temp" {
resource "google_dataflow_job" "big_data" {
name = "%s"
zone = "%s"
machine_type = "e2-standard-2"
Expand All @@ -892,7 +892,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 @@ -1026,7 +1026,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 @@ -1223,7 +1223,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 e577611

Please sign in to comment.