Skip to content
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
1 change: 1 addition & 0 deletions mmv1/products/metastore/Database.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ examples:
- name: 'dataproc_metastore_service_database_iam'
primary_resource_id: 'dpms_service'
primary_resource_name: 'fmt.Sprintf("tf-test-metastore-srv-%s", context["random_suffix"]), "testdb"'
external_providers: ["time"]
parameters:
properties:
- name: 'name'
Expand Down
1 change: 1 addition & 0 deletions mmv1/products/metastore/Table.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ examples:
- name: 'dataproc_metastore_service_table_iam'
primary_resource_id: 'dpms_service'
primary_resource_name: 'fmt.Sprintf("tf-test-metastore-srv-%s", context["random_suffix"]), "testdb", "testtbl"'
external_providers: ["time"]
parameters:
properties:
- name: 'name'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,11 @@ resource "google_dataproc_job" "hive" {
]
}
}

# There is no simple way to wait on the Dataproc job to be SUCCESS
# rather than RUNNING.
resource "time_sleep" "wait_hive_job" {
create_duration = "90s"
depends_on = [google_dataproc_job.hive]
}

Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,11 @@ resource "google_dataproc_job" "hive" {
]
}
}

# There is no simple way to wait on the Dataproc job to be SUCCESS
# rather than RUNNING.
resource "time_sleep" "wait_hive_job" {
create_duration = "90s"
depends_on = [google_dataproc_job.hive]
}

Loading