Skip to content

terraform-yacloud-modules/terraform-yandex-mdb-dataproc

Repository files navigation

Yandex Cloud Terraform module

Terraform module which creates Yandex Cloud resources.

Examples

Examples codified under the 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 >= 1.3
yandex >= 0.72.0

Providers

Name Version
yandex >= 0.72.0

Modules

No modules.

Resources

Name Type
yandex_dataproc_cluster.dataproc_cluster resource

Inputs

Name Description Type Default Required
cluster_version Version of Data Proc image string "2.0" no
deletion_protection Inhibits deletion of the cluster bool false no
description Description of the Data Proc cluster string "Dataproc Cluster created by Terraform" no
hadoop_properties A set of key/value pairs that are used to configure cluster services map(string) {} no
hadoop_services List of services to run on Data Proc cluster list(string)
[
"HDFS",
"YARN",
"SPARK",
"TEZ",
"MAPREDUCE",
"HIVE"
]
no
initialization_actions List of initialization scripts
list(object({
uri = string
args = list(string)
timeout = number
}))
[] no
labels A set of key/value label pairs to assign to the Data Proc cluster map(string) {} no
name Name of the Data Proc cluster string n/a yes
security_group_ids A list of security group IDs that the cluster belongs to list(string) [] no
service_account_id Service account ID to be used by the Data Proc agent string n/a yes
ssh_public_keys List of SSH public keys to put to the hosts of the cluster list(string) [] no
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 Whether to enable UI Proxy feature bool false no
zone_id ID of the availability zone to create cluster in string "ru-central1-b" no

Outputs

Name Description
created_at Creation timestamp of the Data Proc cluster.
id ID of the Data Proc cluster.
name Name of the Data Proc cluster.
service_account_id Service account ID used by the Data Proc cluster.
zone_id Zone ID of the Data Proc cluster.

License

Apache-2.0 Licensed. See LICENSE.

About

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

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages