Skip to content

Commit

Permalink
Add dataproc component gateway (#2526) (#6299)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored May 5, 2020
1 parent cc66c53 commit 216ea02
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/2526.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
[beta-only]dataproc: added component gateway support to `google_dataproc_cluster`
```
21 changes: 21 additions & 0 deletions website/docs/r/dataproc_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ The `cluster_config` block supports:
# You can define multiple initialization_action blocks
initialization_action { ... }
encryption_config { ... }
endpoint_config { ... }
}
```

Expand Down Expand Up @@ -186,6 +187,8 @@ The `cluster_config` block supports:
* `lifecycle_config` (Optional, Beta) The settings for auto deletion cluster schedule.
Structure defined below.

* `endpoint_config` (Optional, Beta) The config settings for port access on the cluster.
Structure defined below.
- - -

The `cluster_config.gce_cluster_config` block supports:
Expand Down Expand Up @@ -583,6 +586,21 @@ cluster_config {
A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
Example: "2014-10-02T15:01:23.045123456Z".

- - -

The `endpoint_config` block (Optional, Computed, Beta) supports:

```hcl
cluster_config {
endpoint_config {
enable_http_port_access = "true"
}
}
```

* `enable_http_port_access` - (Optional) The flag to enable http access to specific ports
on the cluster from external sources (aka Component Gateway). Defaults to false.

## Attributes Reference

In addition to the arguments listed above, the following computed attributes are
Expand All @@ -607,6 +625,9 @@ exported:
* `cluster_config.0.lifecycle_config.0.idle_start_time` - Time when the cluster became idle
(most recent job finished) and became eligible for deletion due to idleness.

* `cluster_config.0.endpoint_config.0.http_ports` - The map of port descriptions to URLs. Will only be populated if
`enable_http_port_access` is true.

## Timeouts

This resource provides the following
Expand Down

0 comments on commit 216ea02

Please sign in to comment.