Skip to content

Commit

Permalink
available componenets (#7567) (#14167)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Mar 31, 2023
1 parent c1193ee commit d3ec87f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
3 changes: 3 additions & 0 deletions .changelog/7567.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
dataproc: fix validation of `optional_components`
```
2 changes: 0 additions & 2 deletions google/resource_dataproc_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -950,8 +950,6 @@ by Dataproc`,
Description: `The set of optional components to activate on the cluster.`,
Elem: &schema.Schema{
Type: schema.TypeString,
ValidateFunc: validation.StringInSlice([]string{"COMPONENT_UNSPECIFIED", "ANACONDA", "DOCKER", "DRUID", "HBASE", "FLINK",
"HIVE_WEBHCAT", "JUPYTER", "KERBEROS", "PRESTO", "RANGER", "SOLR", "ZEPPELIN", "ZOOKEEPER"}, false),
},
},
},
Expand Down
14 changes: 1 addition & 13 deletions website/docs/r/dataproc_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -657,19 +657,7 @@ cluster_config {
a cluster. For a list of valid properties please see
[Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties)

* `optional_components` - (Optional) The set of optional components to activate on the cluster.
Accepted values are:
* ANACONDA
* DRUID
* FLINK
* HBASE
* HIVE_WEBHCAT
* JUPYTER
* PRESTO
* RANGER
* SOLR
* ZEPPELIN
* ZOOKEEPER
* `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).

- - -

Expand Down

0 comments on commit d3ec87f

Please sign in to comment.