Skip to content
Open
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
7 changes: 5 additions & 2 deletions mmv1/products/dataproc/Batch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ timeouts:
async:
operation:
base_url: '{{op_id}}'
result:
resource_inside_response: true
autogen_async: true
include_in_tgc_next: true
custom_code:
Expand Down Expand Up @@ -137,14 +139,15 @@ parameters:
The location in which the batch will be created in.
immutable: true
url_param_only: true
properties:
- name: batchId
type: String
description: |
The ID to use for the batch, which will become the final component of the batch's resource name.
This value must be 4-63 characters. Valid characters are /[a-z][0-9]-/.
immutable: true
url_param_only: true
properties:
default_from_api: true
custom_flatten: templates/terraform/custom_flatten/id_from_name.tmpl
- name: name
type: String
description: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
resource "google_dataproc_batch" "{{$.PrimaryResourceId}}" {

batch_id = "tf-test-batch%{random_suffix}"
location = "us-central1"
labels = {"batch_test": "terraform"}

Expand Down