Skip to content

Commit fc05b63

Browse files
authored
MINOR: Merge pull request #14 from Datatamer/DEV-14999-update-dataproc-config
DEV-14999 remove initialization script from dataproc workflow template
2 parents 73d8276 + 1f8619f commit fc05b63

File tree

6 files changed

+16
-14
lines changed

6 files changed

+16
-14
lines changed

CHANGELOG.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
1-
# Tamr Terraform Template Repo - v0.3.1 - August 4nd 2021
1+
# GCP Tamr VM module
2+
3+
## v0.4.1 - August 31st 2021
4+
* Updates dataproc workflow template to remove use of public initialization script
5+
* Bumps dataproc version to 1.4
6+
7+
## v0.3.1 - August 4nd 2021
28
* Correct content of shutdown-script resource
39

4-
# Tamr Terraform Template Repo - v0.3.0 - August 2nd 2020
10+
## v0.3.0 - August 2nd 2020
511
* Added support for external IPs
612
* Added support for deletion protection
713

8-
# Tamr Terraform Template Repo - v0.2.1 - August 6th 2020
14+
## v0.2.1 - August 6th 2020
915
* Add zone/region flags into dataproc workflow template
1016

11-
# Tamr Terraform Template Repo - v0.2.0 - August 4th 2020
17+
## v0.2.0 - August 4th 2020
1218
* Upgrade to spark 2.4
1319
* Pin GCS connector version
1420
* Use default spark event log directory
1521

16-
# Tamr Terraform Template Repo - v0.1.0 - July 28th 2020
22+
## v0.1.0 - July 28th 2020
1723
* Initing project

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ This modules creates:
8989
| tamr\_dataproc\_cluster\_master\_instance\_type | Instance type to use as dataproc master This only used if using the built in tamr\_dataproc\_cluster\_config configuration | `string` | `"n1-highmem-4"` | no |
9090
| tamr\_dataproc\_cluster\_service\_account | Service account to attach to dataproc workers. If not set will use the tamr\_instance\_service\_account as the default value. This only used if using the built in tamr\_dataproc\_cluster\_config configuration | `string` | `""` | no |
9191
| tamr\_dataproc\_cluster\_subnetwork\_uri | Subnetwork URI for dataproc to use. If not set will use the tamr\_instance\_subnet as the default value. This only used if using the built in tamr\_dataproc\_cluster\_config configuration | `string` | `""` | no |
92-
| tamr\_dataproc\_cluster\_version | Version of dataproc to use. This only used if using the built in tamr\_dataproc\_cluster\_config configuration | `string` | `"1.3"` | no |
92+
| tamr\_dataproc\_cluster\_version | Version of dataproc to use. This only used if using the built in tamr\_dataproc\_cluster\_config configuration | `string` | `"1.4"` | no |
9393
| tamr\_dataproc\_cluster\_worker\_machine\_type | machine type of default worker pool. This only used if using the built in tamr\_dataproc\_cluster\_config configuration | `string` | `"n1-standard-16"` | no |
9494
| tamr\_dataproc\_cluster\_worker\_num\_instances | Number of default workers to use. This only used if using the built in tamr\_dataproc\_cluster\_config configuration | `number` | `4` | no |
9595
| tamr\_dataproc\_cluster\_worker\_num\_local\_ssds | Number of localssds to attach to each worker node. This only used if using the built in tamr\_dataproc\_cluster\_config configuration | `number` | `2` | no |

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.0
1+
0.4.1

examples/basic/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module "sample" {
2525
tamr_cloud_sql_location = local.default_region
2626
tamr_cloud_sql_name = "tamr-db"
2727
tamr_sql_user = "tamr"
28-
tamr_sql_password = "super_secure_password"
28+
tamr_sql_password = "super_secure_password" # tfsec:ignore:GEN003
2929
# filesystem
3030
tamr_filesystem_bucket = "tamr_application_home"
3131
}

templates/dataproc.yaml.tmpl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ gceClusterConfig:
55
internalIpOnly: true
66
serviceAccount: ${service_account}
77
metadata:
8-
gcs-connector-version: 2.1.4
9-
initializationActions:
10-
# see https://github.com/GoogleCloudDataproc/initialization-actions/tree/master/connectors
11-
- executableFile: gs://goog-dataproc-initialization-actions-${region}/connectors/connectors.sh
12-
executionTimeout: 500s
8+
GCS_CONNECTOR_VERSION: 2.2.0
139
softwareConfig:
1410
imageVersion: 1.4
1511
properties:

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ variable "tamr_dataproc_cluster_enable_stackdriver_logging" {
173173
}
174174

175175
variable "tamr_dataproc_cluster_version" {
176-
default = "1.3"
176+
default = "1.4"
177177
type = string
178178
description = "Version of dataproc to use. This only used if using the built in tamr_dataproc_cluster_config configuration"
179179
}

0 commit comments

Comments
 (0)