Skip to content

Commit 86f5ce4

Browse files
Add new enum values to dataproc cluster. (#3483) (#2049)
Signed-off-by: Modular Magician <[email protected]>
1 parent 68c4f9a commit 86f5ce4

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.changelog/3483.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
```release-note:enhancement
2+
dataproc: Updated `google_dataproc_cluster.software_config.optional_components` to include new options.
3+
4+
```

google-beta/resource_dataproc_cluster.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,8 +451,8 @@ by Dataproc`,
451451
AtLeastOneOf: clusterSoftwareConfigKeys,
452452
Elem: &schema.Schema{
453453
Type: schema.TypeString,
454-
ValidateFunc: validation.StringInSlice([]string{"COMPONENT_UNSPECIFIED", "ANACONDA", "DRUID", "HIVE_WEBHCAT",
455-
"JUPYTER", "KERBEROS", "PRESTO", "ZEPPELIN", "ZOOKEEPER"}, false),
454+
ValidateFunc: validation.StringInSlice([]string{"COMPONENT_UNSPECIFIED", "ANACONDA", "DRUID", "HBASE", "HIVE_WEBHCAT",
455+
"JUPYTER", "KERBEROS", "PRESTO", "RANGER", "SOLR", "ZEPPELIN", "ZOOKEEPER"}, false),
456456
},
457457
},
458458
},

website/docs/r/dataproc_cluster.html.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,10 +438,13 @@ cluster_config {
438438
Accepted values are:
439439
* ANACONDA
440440
* DRUID
441+
* HBASE
441442
* HIVE_WEBHCAT
442443
* JUPYTER
443444
* KERBEROS
444445
* PRESTO
446+
* RANGER
447+
* SOLR
445448
* ZEPPELIN
446449
* ZOOKEEPER
447450

0 commit comments

Comments
 (0)