diff --git a/modules/dataproc/README.md b/modules/dataproc/README.md
index 0a975612..80835dd1 100644
--- a/modules/dataproc/README.md
+++ b/modules/dataproc/README.md
@@ -110,7 +110,6 @@ module "processing-dp-cluster" {
}
# tftest modules=1 resources=2
```
-
## Variables
@@ -128,4 +127,13 @@ module "processing-dp-cluster" {
| [prefix](variables.tf#L216) | Optional prefix used to generate project id and name. | string
| | null
|
| [service_account](variables.tf#L236) | Service account to set on the Dataproc cluster. | string
| | null
|
+## Outputs
+
+| name | description | sensitive |
+|---|---|:---:|
+| [bucket_names](outputs.tf#L19) | List of bucket names which have been assigned to the cluster. | |
+| [http_ports](outputs.tf#L24) | The map of port descriptions to URLs. | |
+| [instance_names](outputs.tf#L29) | List of instance names which have been assigned to the cluster. | |
+| [name](outputs.tf#L38) | The name of the cluster. | |
+
diff --git a/modules/dataproc/output.tf b/modules/dataproc/outputs.tf
similarity index 100%
rename from modules/dataproc/output.tf
rename to modules/dataproc/outputs.tf
index 797637d2..755b6dd5 100644
--- a/modules/dataproc/output.tf
+++ b/modules/dataproc/outputs.tf
@@ -21,11 +21,6 @@ output "bucket_names" {
value = google_dataproc_cluster.cluster.cluster_config.0.bucket
}
-output "name" {
- description = "The name of the cluster."
- value = google_dataproc_cluster.cluster.cluster_config.0.bucket
-}
-
output "http_ports" {
description = "The map of port descriptions to URLs."
value = google_dataproc_cluster.cluster.cluster_config.0.endpoint_config.0.http_ports
@@ -40,3 +35,8 @@ output "instance_names" {
}
}
+output "name" {
+ description = "The name of the cluster."
+ value = google_dataproc_cluster.cluster.cluster_config.0.bucket
+}
+