From 9c26760773a1765e1278bd9a39acc048d1756d60 Mon Sep 17 00:00:00 2001 From: Jose Luis Bermudez <109610214+jose-bermudez-digitalfemsa@users.noreply.github.com> Date: Wed, 21 Jun 2023 16:19:48 -0600 Subject: [PATCH 1/2] add missing variable image_uri For master_config, the variable image_uri is missing --- modules/dataproc/variables.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/dataproc/variables.tf b/modules/dataproc/variables.tf index 753a0523..926169b9 100644 --- a/modules/dataproc/variables.tf +++ b/modules/dataproc/variables.tf @@ -49,6 +49,7 @@ variable "dataproc_config" { num_instances = number machine_type = string min_cpu_platform = string + image_uri = string disk_config = optional(object({ boot_disk_type = string boot_disk_size_gb = number From 925a2883168754767ebb986c2d0481dbe3657478 Mon Sep 17 00:00:00 2001 From: Julio Castillo Date: Wed, 28 Jun 2023 20:09:18 +0200 Subject: [PATCH 2/2] Update README --- modules/dataproc/README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/modules/dataproc/README.md b/modules/dataproc/README.md index 668f38f5..f848db57 100644 --- a/modules/dataproc/README.md +++ b/modules/dataproc/README.md @@ -145,16 +145,16 @@ module "processing-dp-cluster" { | name | description | type | required | default | |---|---|:---:|:---:|:---:| -| [name](variables.tf#L211) | Cluster name. | string | ✓ | | -| [project_id](variables.tf#L226) | Project ID. | string | ✓ | | -| [region](variables.tf#L231) | Dataproc region. | string | ✓ | | -| [dataproc_config](variables.tf#L17) | Dataproc cluster config. | object({…}) | | {} | -| [group_iam](variables.tf#L184) | Authoritative IAM binding for organization groups, in {GROUP_EMAIL => [ROLES]} format. Group emails need to be static. Can be used in combination with the `iam` variable. | map(list(string)) | | {} | -| [iam](variables.tf#L191) | IAM bindings in {ROLE => [MEMBERS]} format. | map(list(string)) | | {} | -| [iam_additive](variables.tf#L198) | IAM additive bindings in {ROLE => [MEMBERS]} format. | map(list(string)) | | {} | -| [labels](variables.tf#L205) | The resource labels for instance to use to annotate any related underlying resources, such as Compute Engine VMs. | map(string) | | {} | -| [prefix](variables.tf#L216) | Optional prefix used to generate project id and name. | string | | null | -| [service_account](variables.tf#L236) | Service account to set on the Dataproc cluster. | string | | null | +| [name](variables.tf#L212) | Cluster name. | string | ✓ | | +| [project_id](variables.tf#L227) | Project ID. | string | ✓ | | +| [region](variables.tf#L232) | Dataproc region. | string | ✓ | | +| [dataproc_config](variables.tf#L17) | Dataproc cluster config. | object({…}) | | {} | +| [group_iam](variables.tf#L185) | Authoritative IAM binding for organization groups, in {GROUP_EMAIL => [ROLES]} format. Group emails need to be static. Can be used in combination with the `iam` variable. | map(list(string)) | | {} | +| [iam](variables.tf#L192) | IAM bindings in {ROLE => [MEMBERS]} format. | map(list(string)) | | {} | +| [iam_additive](variables.tf#L199) | IAM additive bindings in {ROLE => [MEMBERS]} format. | map(list(string)) | | {} | +| [labels](variables.tf#L206) | The resource labels for instance to use to annotate any related underlying resources, such as Compute Engine VMs. | map(string) | | {} | +| [prefix](variables.tf#L217) | Optional prefix used to generate project id and name. | string | | null | +| [service_account](variables.tf#L237) | Service account to set on the Dataproc cluster. | string | | null | ## Outputs