An open API service indexing awesome lists of open source software.

https://github.com/terraform-yacloud-modules/terraform-yandex-mdb-dataproc

Terraform module to manage Data Proc resources within the Yandex.Cloud. Resources
https://github.com/terraform-yacloud-modules/terraform-yandex-mdb-dataproc

hacktoberfest yandex yandex-cloud

Last synced: 8 months ago
JSON representation

Terraform module to manage Data Proc resources within the Yandex.Cloud. Resources

Awesome Lists containing this project

README

          

# Yandex Cloud Terraform module

Terraform module which creates Yandex Cloud resources.

## Examples

Examples codified under
the [`examples`](https://github.com/terraform-yacloud-modules/terraform-yandex-module-template/tree/main/examples) are intended
to give users references for how to use the module(s) as well as testing/validating changes to the source code of the
module. If contributing to the project, please be sure to make any appropriate updates to the relevant examples to allow
maintainers to test your changes and to keep the examples up to date for users. Thank you!

## Requirements

| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.3 |
| [yandex](#requirement\_yandex) | >= 0.72.0 |

## Providers

| Name | Version |
|------|---------|
| [yandex](#provider\_yandex) | >= 0.72.0 |

## Modules

No modules.

## Resources

| Name | Type |
|------|------|
| [yandex_dataproc_cluster.dataproc_cluster](https://registry.terraform.io/providers/yandex-cloud/yandex/latest/docs/resources/dataproc_cluster) | resource |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [cluster\_version](#input\_cluster\_version) | Version of Data Proc image | `string` | `"2.0"` | no |
| [deletion\_protection](#input\_deletion\_protection) | Inhibits deletion of the cluster | `bool` | `false` | no |
| [description](#input\_description) | Description of the Data Proc cluster | `string` | `"Dataproc Cluster created by Terraform"` | no |
| [hadoop\_properties](#input\_hadoop\_properties) | A set of key/value pairs that are used to configure cluster services | `map(string)` | `{}` | no |
| [hadoop\_services](#input\_hadoop\_services) | List of services to run on Data Proc cluster | `list(string)` |

[
"HDFS",
"YARN",
"SPARK",
"TEZ",
"MAPREDUCE",
"HIVE"
]
| no |
| [initialization\_actions](#input\_initialization\_actions) | List of initialization scripts |
list(object({
uri = string
args = list(string)
timeout = number
}))
| `[]` | no |
| [labels](#input\_labels) | A set of key/value label pairs to assign to the Data Proc cluster | `map(string)` | `{}` | no |
| [name](#input\_name) | Name of the Data Proc cluster | `string` | n/a | yes |
| [security\_group\_ids](#input\_security\_group\_ids) | A list of security group IDs that the cluster belongs to | `list(string)` | `[]` | no |
| [service\_account\_id](#input\_service\_account\_id) | Service account ID to be used by the Data Proc agent | `string` | n/a | yes |
| [ssh\_public\_keys](#input\_ssh\_public\_keys) | List of SSH public keys to put to the hosts of the cluster | `list(string)` | `[]` | no |
| [subcluster\_specs](#input\_subcluster\_specs) | Configuration of the Data Proc subcluster |
list(object({
name = string
role = string
resources = object({
resource_preset_id = string
disk_type_id = string
disk_size = number
})
subnet_id = string
hosts_count = number
assign_public_ip = bool
autoscaling_config = list(object({
max_hosts_count = number
preemptible = bool
warmup_duration = number
stabilization_duration = number
measurement_duration = number
cpu_utilization_target = number
decommission_timeout = number
}))
}))
| `[]` | no |
| [ui\_proxy](#input\_ui\_proxy) | Whether to enable UI Proxy feature | `bool` | `false` | no |
| [zone\_id](#input\_zone\_id) | ID of the availability zone to create cluster in | `string` | `"ru-central1-b"` | no |

## Outputs

| Name | Description |
|------|-------------|
| [created\_at](#output\_created\_at) | Creation timestamp of the Data Proc cluster. |
| [id](#output\_id) | ID of the Data Proc cluster. |
| [name](#output\_name) | Name of the Data Proc cluster. |
| [service\_account\_id](#output\_service\_account\_id) | Service account ID used by the Data Proc cluster. |
| [zone\_id](#output\_zone\_id) | Zone ID of the Data Proc cluster. |

## License

Apache-2.0 Licensed.
See [LICENSE](https://github.com/terraform-yacloud-modules/terraform-yandex-module-template/blob/main/LICENSE).