Skip to content

Commit

Permalink
Add GCE dataproc tests to E2E
Browse files Browse the repository at this point in the history
  • Loading branch information
wiktorn committed Mar 11, 2024
1 parent 67382f5 commit 7753b1f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions modules/dataproc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ module "processing-dp-cluster" {
module.dataproc-service-account, # ensure all grants are done before creating the cluster
]
}
# tftest modules=3 resources=7
# tftest modules=3 resources=7 e2e
```

### Cluster configuration on GCE with CMEK encryption
Expand Down Expand Up @@ -137,7 +137,7 @@ module "processing-dp-cluster" {
module.dataproc-service-account, # ensure all grants are done before creating the cluster
]
}
# tftest modules=3 resources=8
# tftest modules=3 resources=8 e2e
```

### Cluster configuration on GKE
Expand Down
11 changes: 6 additions & 5 deletions tests/examples_e2e/setup_module/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,12 @@ resource "google_compute_network" "network" {
}

resource "google_compute_subnetwork" "subnetwork" {
ip_cidr_range = "10.0.16.0/24"
name = "e2e-test-1"
network = google_compute_network.network.name
project = google_project.project.project_id
region = var.region
ip_cidr_range = "10.0.16.0/24"
name = "e2e-test-1"
network = google_compute_network.network.name
project = google_project.project.project_id
private_ip_google_access = true
region = var.region
secondary_ip_range {
range_name = "pods"
ip_cidr_range = "100.68.0.0/16"
Expand Down

0 comments on commit 7753b1f

Please sign in to comment.