Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the dataflow zone from us-central1-f to us-east5-b #7125

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-beta/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
Loading