Skip to content

Commit d3ec87f

Browse files
available componenets (#7567) (#14167)
Signed-off-by: Modular Magician <[email protected]>
1 parent c1193ee commit d3ec87f

File tree

3 files changed

+4
-15
lines changed

3 files changed

+4
-15
lines changed

.changelog/7567.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
dataproc: fix validation of `optional_components`
3+
```

google/resource_dataproc_cluster.go

-2
Original file line numberDiff line numberDiff line change
@@ -950,8 +950,6 @@ by Dataproc`,
950950
Description: `The set of optional components to activate on the cluster.`,
951951
Elem: &schema.Schema{
952952
Type: schema.TypeString,
953-
ValidateFunc: validation.StringInSlice([]string{"COMPONENT_UNSPECIFIED", "ANACONDA", "DOCKER", "DRUID", "HBASE", "FLINK",
954-
"HIVE_WEBHCAT", "JUPYTER", "KERBEROS", "PRESTO", "RANGER", "SOLR", "ZEPPELIN", "ZOOKEEPER"}, false),
955953
},
956954
},
957955
},

website/docs/r/dataproc_cluster.html.markdown

+1-13
Original file line numberDiff line numberDiff line change
@@ -657,19 +657,7 @@ cluster_config {
657657
a cluster. For a list of valid properties please see
658658
[Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties)
659659

660-
* `optional_components` - (Optional) The set of optional components to activate on the cluster.
661-
Accepted values are:
662-
* ANACONDA
663-
* DRUID
664-
* FLINK
665-
* HBASE
666-
* HIVE_WEBHCAT
667-
* JUPYTER
668-
* PRESTO
669-
* RANGER
670-
* SOLR
671-
* ZEPPELIN
672-
* ZOOKEEPER
660+
* `optional_components` - (Optional) The set of optional components to activate on the cluster. See [Available Optional Components](https://cloud.google.com/dataproc/docs/concepts/components/overview#available_optional_components).
673661

674662
- - -
675663

0 commit comments

Comments
 (0)