From e42bf135e79a84a08828be8616301b68a7aac9cd Mon Sep 17 00:00:00 2001 From: duha2060 Date: Wed, 1 May 2024 19:07:25 +0300 Subject: [PATCH 01/12] Add main.tf --- main.tf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 main.tf diff --git a/main.tf b/main.tf new file mode 100644 index 00000000..0789babc --- /dev/null +++ b/main.tf @@ -0,0 +1,15 @@ +terraform { + required_providers { + yandex = { + source = "yandex-cloud/yandex" + } + } + required_version = ">= 0.13" +} + +provider "yandex" { + token = "toke" + cloud_id = "token" + folder_id = "token" + zone = "ru-central1-a" +} From ce7f191a891f1f9f9e700a41e3368f0239bfc711 Mon Sep 17 00:00:00 2001 From: duha2060 Date: Wed, 1 May 2024 20:02:53 +0300 Subject: [PATCH 02/12] Create app01.tf and app02.tf --- app01.tf | 28 ++++++++++++++++++++++++++++ app02.tf | 27 +++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 app01.tf create mode 100644 app02.tf diff --git a/app01.tf b/app01.tf new file mode 100644 index 00000000..2375ea1e --- /dev/null +++ b/app01.tf @@ -0,0 +1,28 @@ +resource "yandex_compute_instance" "app-01" { + name = "app-01" + allow_stopping_for_update = true + platform_id = "standard-v2" + zone = "ru-central1-a" + + resources { + cores = 2 + core_fraction = 20 + memory = 2 + } + + boot_disk { + initialize_params { + image_id = "fd830gae25ve4glajdsj" + size = 10 + } + } + + network_interface { + subnet_id = "${yandex_vpc_subnet.subnet-app01.id}" + nat = true + } + + metadata = { + user-data = file("./meta.yml") + } +} \ No newline at end of file diff --git a/app02.tf b/app02.tf new file mode 100644 index 00000000..2967fbe7 --- /dev/null +++ b/app02.tf @@ -0,0 +1,27 @@ +resource "yandex_compute_instance" "app-02" { + name = "app-02" + allow_stopping_for_update = true + platform_id = "standard-v2" + zone = "ru-central1-b" + + resources { + cores = 2 + core_fraction = 20 + memory = 2 + } + + boot_disk { + initialize_params { + image_id = "fd830gae25ve4glajdsj" + size = 10 + } + } + + network_interface { + subnet_id = "${yandex_vpc_subnet.subnet-app02.id}" + nat = true + } + metadata = { + user-data = file("./meta.yml") + } +} \ No newline at end of file From e7f0123878176c4abb93db03e29cfdfc24d25291 Mon Sep 17 00:00:00 2001 From: duha2060 Date: Wed, 1 May 2024 20:21:18 +0300 Subject: [PATCH 03/12] Update app01.tf --- app01.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app01.tf b/app01.tf index 2375ea1e..dac10c27 100644 --- a/app01.tf +++ b/app01.tf @@ -5,7 +5,7 @@ resource "yandex_compute_instance" "app-01" { zone = "ru-central1-a" resources { - cores = 2 + cores = 2 core_fraction = 20 memory = 2 } From b69008868ae2951b9790d289d256724b12547e12 Mon Sep 17 00:00:00 2001 From: duha2060 Date: Wed, 1 May 2024 20:22:08 +0300 Subject: [PATCH 04/12] Add networks.tf and zabbix.tf --- networks.tf | 24 ++++++++++++++++++++++++ zabbix.tf | 28 ++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 networks.tf create mode 100644 zabbix.tf diff --git a/networks.tf b/networks.tf new file mode 100644 index 00000000..13c2d969 --- /dev/null +++ b/networks.tf @@ -0,0 +1,24 @@ +#Сеть для app01 +resource "yandex_vpc_subnet" "subnet-app01" { + name = "subnet-app01" + v4_cidr_blocks = ["192.168.1.0/24"] + network_id = "${yandex_vpc_network.network-1.id}" +} + +#Сеть для app02 +resource "yandex_vpc_subnet" "subnet-app02" { + name = "subnet-app02" + v4_cidr_blocks = ["192.168.2.0/24"] + network_id = "${yandex_vpc_network.network-1.id}" +} +#Сеть для zabbix +resource "yandex_vpc_subnet" "subnet-zabbix" { + name = "subnet-zabbix" + v4_cidr_blocks = ["192.168.3.0/24"] + network_id = "${yandex_vpc_network.network-1.id}" +} + + +resource "yandex_vpc_network" "network-1" { + name = "network-1" +} \ No newline at end of file diff --git a/zabbix.tf b/zabbix.tf new file mode 100644 index 00000000..75dcf551 --- /dev/null +++ b/zabbix.tf @@ -0,0 +1,28 @@ +resource "yandex_compute_instance" "zabbix" { + name = "zabbix" + allow_stopping_for_update = true + platform_id = "standard-v2" + zone = "ru-central1-d" + + resources { + cores = 2 + core_fraction = 20 + memory = 2 + } + + boot_disk { + initialize_params { + image_id ="fd830gae25ve4glajds" + size = 10 + } + } + + network_interface { + subnet_id = "${yandex_vpc_subnet.subnet-zabbix.id}" + nat = true + } + + metadata = { + user-data = file("./meta.yml") + } +} From 0b2d216a33fd8c9304922e8c6f001c99e0c96fbd Mon Sep 17 00:00:00 2001 From: duha2060 Date: Wed, 1 May 2024 20:28:29 +0300 Subject: [PATCH 05/12] Update networks.tf and zabbix.tf --- networks.tf | 16 +++++++++++----- zabbix.tf | 2 +- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/networks.tf b/networks.tf index 13c2d969..ec7aa4e9 100644 --- a/networks.tf +++ b/networks.tf @@ -1,3 +1,7 @@ +resource "yandex_vpc_network" "network-1" { + name = "network-1" +} + #Сеть для app01 resource "yandex_vpc_subnet" "subnet-app01" { name = "subnet-app01" @@ -11,14 +15,16 @@ resource "yandex_vpc_subnet" "subnet-app02" { v4_cidr_blocks = ["192.168.2.0/24"] network_id = "${yandex_vpc_network.network-1.id}" } -#Сеть для zabbix -resource "yandex_vpc_subnet" "subnet-zabbix" { +#private +resource "yandex_vpc_subnet" "subnet-private" { name = "subnet-zabbix" v4_cidr_blocks = ["192.168.3.0/24"] network_id = "${yandex_vpc_network.network-1.id}" } - -resource "yandex_vpc_network" "network-1" { - name = "network-1" +#public +resource "yandex_vpc_subnet" "subnet-public" { + name = "subnet-zabbix" + v4_cidr_blocks = ["192.168.3.0/24"] + network_id = "${yandex_vpc_network.network-1.id}" } \ No newline at end of file diff --git a/zabbix.tf b/zabbix.tf index 75dcf551..2d7ffe51 100644 --- a/zabbix.tf +++ b/zabbix.tf @@ -18,7 +18,7 @@ resource "yandex_compute_instance" "zabbix" { } network_interface { - subnet_id = "${yandex_vpc_subnet.subnet-zabbix.id}" + subnet_id = "${yandex_vpc_subnet.subnet-public.id}" nat = true } From 7c213408154e6d79de4ca3dbbb0615be7662d879 Mon Sep 17 00:00:00 2001 From: duha2060 Date: Fri, 10 May 2024 16:32:04 +0300 Subject: [PATCH 06/12] add app.tf/ mod networks.tf / del app01.tf app02.tf --- app.tf | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++ app01.tf | 28 ---------------------- app02.tf | 27 --------------------- networks.tf | 28 +++++++++++++++++++++- 4 files changed, 96 insertions(+), 56 deletions(-) create mode 100644 app.tf delete mode 100644 app01.tf delete mode 100644 app02.tf diff --git a/app.tf b/app.tf new file mode 100644 index 00000000..b4743d02 --- /dev/null +++ b/app.tf @@ -0,0 +1,69 @@ +resource "yandex_alb_target_group" "web" { + name = "web" + target { + ip_address = yandex_compute_instance.app02.network_interface.0.ip_address + subnet_id = yandex_vpc_subnet.subnet-app02.id + } + + target { + ip_address = yandex_compute_instance.app01.network_interface.0.ip_address + subnet_id = yandex_vpc_subnet.subnet-app01.id + } +} + +resource "yandex_compute_instance" "app01" { + name = "app-01" + allow_stopping_for_update = true + platform_id = "standard-v2" + zone = "ru-central1-a" + + resources { + cores = 2 + core_fraction = 20 + memory = 2 + } + + boot_disk { + initialize_params { + image_id = "fd830gae25ve4glajdsj" + size = 10 + } + } + + network_interface { + subnet_id = "${yandex_vpc_subnet.subnet-app01.id}" + nat = true + } + + metadata = { + user-data = file("./meta.yml") + } +} + +resource "yandex_compute_instance" "app02" { + name = "app-02" + allow_stopping_for_update = true + platform_id = "standard-v2" + zone = "ru-central1-b" + + resources { + cores = 2 + core_fraction = 20 + memory = 2 + } + + boot_disk { + initialize_params { + image_id = "fd830gae25ve4glajdsj" + size = 10 + } + } + + network_interface { + subnet_id = "${yandex_vpc_subnet.subnet-app02.id}" + nat = true + } + metadata = { + user-data = file("./meta.yml") + } +} \ No newline at end of file diff --git a/app01.tf b/app01.tf deleted file mode 100644 index dac10c27..00000000 --- a/app01.tf +++ /dev/null @@ -1,28 +0,0 @@ -resource "yandex_compute_instance" "app-01" { - name = "app-01" - allow_stopping_for_update = true - platform_id = "standard-v2" - zone = "ru-central1-a" - - resources { - cores = 2 - core_fraction = 20 - memory = 2 - } - - boot_disk { - initialize_params { - image_id = "fd830gae25ve4glajdsj" - size = 10 - } - } - - network_interface { - subnet_id = "${yandex_vpc_subnet.subnet-app01.id}" - nat = true - } - - metadata = { - user-data = file("./meta.yml") - } -} \ No newline at end of file diff --git a/app02.tf b/app02.tf deleted file mode 100644 index 2967fbe7..00000000 --- a/app02.tf +++ /dev/null @@ -1,27 +0,0 @@ -resource "yandex_compute_instance" "app-02" { - name = "app-02" - allow_stopping_for_update = true - platform_id = "standard-v2" - zone = "ru-central1-b" - - resources { - cores = 2 - core_fraction = 20 - memory = 2 - } - - boot_disk { - initialize_params { - image_id = "fd830gae25ve4glajdsj" - size = 10 - } - } - - network_interface { - subnet_id = "${yandex_vpc_subnet.subnet-app02.id}" - nat = true - } - metadata = { - user-data = file("./meta.yml") - } -} \ No newline at end of file diff --git a/networks.tf b/networks.tf index ec7aa4e9..2782f795 100644 --- a/networks.tf +++ b/networks.tf @@ -27,4 +27,30 @@ resource "yandex_vpc_subnet" "subnet-public" { name = "subnet-zabbix" v4_cidr_blocks = ["192.168.3.0/24"] network_id = "${yandex_vpc_network.network-1.id}" -} \ No newline at end of file +} + + +resource "yandex_alb_backend_group" "backend-group" { + name = "backend-group" + + http_backend { + name = "backend" + weight = 1 + port = 80 + target_group_ids = [yandex_alb_target_group.web.id] + + load_balancing_config { + panic_threshold = 90 + } + + healthcheck { + timeout = "15s" + interval = "2s" + healthy_threshold = 10 + unhealthy_threshold = 15 + http_healthcheck { + path = "/" + } + } + } +} From c9d459e6a2ed66658646f28f1d26d554cbb9f027 Mon Sep 17 00:00:00 2001 From: duha2060 Date: Fri, 10 May 2024 16:33:11 +0300 Subject: [PATCH 07/12] add elasticsearch.tf kibana.tf --- elasticsearch.tf | 27 +++++++++++++++++++++++++++ kibana.tf | 28 ++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 elasticsearch.tf create mode 100644 kibana.tf diff --git a/elasticsearch.tf b/elasticsearch.tf new file mode 100644 index 00000000..c09334a9 --- /dev/null +++ b/elasticsearch.tf @@ -0,0 +1,27 @@ +resource "yandex_compute_instance" "elasticsearch" { + name = "elasticsearch" + allow_stopping_for_update = true + platform_id = "standard-v2" + zone = "ru-central1-b" + + resources { + cores = 2 + core_fraction = 20 + memory = 2 + } + + boot_disk { + initialize_params { + image_id = "fd830gae25ve4glajdsj" + size = 10 + } + } + + network_interface { + subnet_id = "${yandex_vpc_subnet.subnet-private.id}" + nat = true + } + metadata = { + user-data = file("./meta.yml") + } +} \ No newline at end of file diff --git a/kibana.tf b/kibana.tf new file mode 100644 index 00000000..51280f51 --- /dev/null +++ b/kibana.tf @@ -0,0 +1,28 @@ +resource "yandex_compute_instance" "kibana" { + name = "kibana" + allow_stopping_for_update = true + platform_id = "standard-v2" + zone = "ru-central1-d" + + resources { + cores = 2 + core_fraction = 20 + memory = 2 + } + + boot_disk { + initialize_params { + image_id = "fd830gae25ve4glajds" + size = 10 + } + } + + network_interface { + subnet_id = "${yandex_vpc_subnet.subnet-public.id}" + } + + metadata = { + user-data = file("./meta.yml") + } +} + From 56bd844c240b51ae02766223cc139e28702cb389 Mon Sep 17 00:00:00 2001 From: duha2060 Date: Wed, 22 May 2024 22:14:55 +0300 Subject: [PATCH 08/12] big_update --- .terraform.lock.hcl | 9 + .../yandex/0.117.0/linux_amd64/CHANGELOG.md | 1653 +++++++++++++++++ .../yandex/0.117.0/linux_amd64/LICENSE | 373 ++++ .../yandex/0.117.0/linux_amd64/README.md | 71 + .../terraform-provider-yandex_v0.117.0 | Bin 0 -> 64327680 bytes app.tf | 16 +- app01.tfold | 36 + bastion.tf | 33 + elasticsearch.tf | 14 +- kibana.tf | 10 +- main.tf | 6 +- meta.yml | 8 + networks.tf | 89 +- securitygroup.tf | 122 ++ zabbix.tf | 9 +- 15 files changed, 2425 insertions(+), 24 deletions(-) create mode 100644 .terraform.lock.hcl create mode 100644 .terraform/providers/registry.terraform.io/yandex-cloud/yandex/0.117.0/linux_amd64/CHANGELOG.md create mode 100644 .terraform/providers/registry.terraform.io/yandex-cloud/yandex/0.117.0/linux_amd64/LICENSE create mode 100644 .terraform/providers/registry.terraform.io/yandex-cloud/yandex/0.117.0/linux_amd64/README.md create mode 100755 .terraform/providers/registry.terraform.io/yandex-cloud/yandex/0.117.0/linux_amd64/terraform-provider-yandex_v0.117.0 create mode 100644 app01.tfold create mode 100644 bastion.tf create mode 100644 meta.yml create mode 100644 securitygroup.tf diff --git a/.terraform.lock.hcl b/.terraform.lock.hcl new file mode 100644 index 00000000..7135457c --- /dev/null +++ b/.terraform.lock.hcl @@ -0,0 +1,9 @@ +# This file is maintained automatically by "terraform init". +# Manual edits may be lost in future updates. + +provider "registry.terraform.io/yandex-cloud/yandex" { + version = "0.117.0" + hashes = [ + "h1:aY4RVxy7ZriALqIcNgp5PMFZ682X7HYltzqxE1DVK2k=", + ] +} diff --git a/.terraform/providers/registry.terraform.io/yandex-cloud/yandex/0.117.0/linux_amd64/CHANGELOG.md b/.terraform/providers/registry.terraform.io/yandex-cloud/yandex/0.117.0/linux_amd64/CHANGELOG.md new file mode 100644 index 00000000..b5ea9cd1 --- /dev/null +++ b/.terraform/providers/registry.terraform.io/yandex-cloud/yandex/0.117.0/linux_amd64/CHANGELOG.md @@ -0,0 +1,1653 @@ +## 0.117.0 (April 25, 2024) + +FEATURES: +* add provider_cname in cdn resource schema and set it for read and update operations. + +ENHANCEMENTS: +* opensearch: add `hosts` computed attribute +* opensearch: replace deprecated methods and logger + +## 0.116.0 (April 18, 2024) + +FEATURES: +* add MongoDB parameter minSnapshotHistoryWindowInSeconds +* serverless: support `tmpfs_size` attribute in `yandex_function` resource + +BUG FIXES: +* storage: added grant validation in `yandex_storage_bucket` resource +* terraform import resource_yandex_mdb_postgresql_cluster fix +* fix documentation for `yandex_cm_certificate` resource +* clickhouse: fixed default shard-name parameter when create cluster + +## 0.115.0 (April 10, 2024) + +FEATURES: +* mongodb: added delete timeout +* mongodb: added DISABLED value to net.Compressors + +BUG FIXES: +* update terraform-plugin-framework terraform-plugin-mux +* fix test in yandex_mdb_mongodb_user +* fix nil pointer panic during the process of the opensearch resource deployment + +ENHANCEMENTS: +* loadtesting: added `update` method for `yandex_loadtesting_agent` resource +* add exponential MDB().PostgreSQL().Cluster().ListHosts() retry +* added seffion affinity documentation for `yandex_alb_backend_group` resource and datasource + +## 0.114.0 (April 3, 2024) + +BUG FIXES: +* yandex_ydb_table_changefeed: change `supported_codecs` type. +* vpc: fixed parameters of `dns_record` in `yandex_vpc_update` resource +* redis: fixed `upgrade` version problem +* postgresql: host.name field changing works + +ENHANCEMENTS: +* dns: added `deletion_protection` parameter to `yandex_dns_zone` resource and datasource. +* kms: support for resolving by name in `yandex_kms_symmetric_key` data source + +## 0.113.0 (March 26, 2024) + +FEATURES: +* **New Resource:** `yandex_audit_trails_trail` +* **New Data Source:** `yandex_audit_trails_trail` +* serverless: complete update support for triggers + +BUG FIXES: +* greenplum: fixed `pxf_config` fetching in yandex_mdb_greenplum_cluster datasource. + +ENHANCEMENTS: +* loadtesting: added `labels` parameter to `yandex_loadtesting_agent` resource. +* compute: change `secondary_disk` attribute type from List to Set in `instance` resource. +* greenplum: fixed `pxf_config` fetching in yandex_mdb_greenplum_cluster datasource. +* vpc: allow to change cidrs in subnet (v4_cidr_blocks) +* vpc: add `dns_record` attribute in `yandex_vpc_address` resource and data source + +## 0.112.0 (March 12, 2024) +BUG FIXES: +* open_search: fix nil pointer panic during the process of the yandex_mdb_opensearch_cluster resourse deployment +* mongodb: fix empty default mongod/mongos compressors +* storage: removed default value from optional `object_lock_legal_hold_status` attribute in `object` resource + +ENHANCEMENTS: +* datatransfer: added `yds_source` and `yds_target` in `yandex_datatransfer_endpoint` resource. +* datatransfer: added `runtime` and `transformation` parameters in `yandex_datatransfer_transfer` resource. +* datatransfer: added `changefeed_custom_name` parameter to ydb_source in `yandex_datatransfer_endpoint` resource. +* datatransfer: added `unescape_string_values` parameter to `tskv_parser` and `json_parser` in `yandex_datatransfer_endpoint` resource. +* kubernetes: deprecate version 1.25 + +## 0.111.0 (March 06, 2024) +BUG FIXES: +* k8s: fixed type of EtcdClusterSize + +## 0.110.0 (March 04, 2024) +FEATURES: +* **New Resource:** `yandex_dns_zone_iam_binding` +* compute: support `metadata_options` in `instance_template` in `compute_instance_group` resource and datasource + +ENHANCEMENTS: +* ydb: add documentation for `yandex_ydb_table_changefeed` and `yandex_ydb_table` +* dns: added example in docs for dns zone import +* dns: added example in docs for dsn zone import + +## 0.109.0 (February 27, 2024) +BUG FIXES: +* alb: fixed validation of listener types + +## 0.108.1 (February 19, 2024) +BUG FIXES: +* clickhouse: fixed resetting kafka_topics timeout settings to zero when adding a new topic +* storage: fix lifecycle state upgrader +* mongodb: fixed mongocfg/mongos terraform configs behaviour with mongoinfra hosts + +ENHANCEMENTS: +* yandex_ydb_table: add auth interface parameters for static creds + +## 0.108.0 (February 14, 2024) +FEATURES: +* redis: added `enable_sharding` feature, it works when cluster was not sharded and new value of sharded is true +* storage: support `tags` and `and` operator in bucket lifecycle configuration in `yandex_storage_bucket` resource +* kafka: added `subnet_ids` field for update method in `resource_yandex_mdb_kafka_cluster` +* **New Resource:** `yandex_mdb_mongodb_database` +* **New Resource:** `yandex_mdb_mongodb_user` +* **New Resource:** `yandex_organizationmanager_os_login_settings` +* **New Resource:** `yandex_organizationmanager_user_ssh_key` +* **New Data Source:** `yandex_mdb_mongodb_database` +* **New Data Source:** `yandex_mdb_mongodb_user` +* **New Data Source:** `yandex_organizationmanager_os_login_settings` +* **New Data Source:** `yandex_organizationmanager_user_ssh_key` + +BUG FIXES: +* fix ydb_table type +* serverless: fix YDS trigger creation. +* lockbox: support `import` + +WARNING: +* mongodb: `database` and `user` sections for `yandex_mdb_mongodb_cluster` are now deprecated + +## 0.107.0 (January 31, 2024) +FEATURES: +* mongodb: added `enable_flow_control`, `compressors`, `prefix_compression`, `slow_op_sample_rate` parameters to mongodb config +ENHANCEMENTS: +* added running of sweepers and tests for yandex-framework package. +* compute: change `disk_ids` attribute type from List to Set in `snapshot_schedule` resource. +BUG FIXES: +* serverless: fix integer overflow in function memory computation + +## 0.106.0 (January 23, 2024) +FEATURES: +* compute: support `placement_strategy` for `yandex_compute_placement_group` resource and data source. +* compute: support `placement_group_partition` for `yandex_compute_instance` resource and data source. +* iot: support `log_options` in `yandex_iot_core_broker` resource and data source +* iot: support `log_options` in `yandex_iot_core_registry` resource and data source +* cdn: add `ip_address_acl.excepted_values` and `ip_address_acl.policy_type` parameters to resource options. + +## 0.105.0 (January 10, 2024) +FEATURES: +* alb: support `security_profile_id` in `route_options` for `yandex_alb_virtual_host` resource and data source. +* serverless: support `log_options` in `yandex_serverless_container` resource and data source +* serverless: support `log_options` in `yandex_function` resource and data source +* serverless: support `log_options` in `yandex_api_gateway` resource and data source +* mongodb: do not change user's password if no state changes + +BUG FIXES: +* mdb: changed `disk_size_limit` value type from bytes to gibibytes in `disk_size_autoscaling` attribute in `yandex_mdb_postgresql_cluster` resource. + +ENHANCEMENTS: +* added documentation for k8s cluster scheme attribute - `master_location` + +## 0.104.0 (December 12, 2023) +FEATURES: +* serverless: support Container Registry, Yandex Data Streams and Mail triggers. +* serverless: support `storage_mounts` in `yandex_function` resource and data source +* serverless: support `storage_mounts` in `yandex_serverless_container` resource and data source +* cdn: add `secure_key` and `enable_ip_url_signing` parameters to resource options. +* greenplum: add PXF daemon settings to config +* compute: changes in instance's DNS records are now done without instance restart +* yandex_datatransfer_endpoint: added cleanup_policy into postgres_target and mysql_target +* yandex_datatransfer_endpoint: added service_database into mysql_target +* yandex_datatransfer_endpoint: added topic_names into kafka_source +* yandex_datatransfer_endpoint: added round_robin into clickhouse_target.sharding + +BUG FIXES: +* provider: automatically pick up zone records after updating zone visibility + +## 0.103.0 (November 28, 2023) +FEATURES: +* **New Data Source:** `yandex_mdb_opensearch_cluster` +* **New Resource:** `yandex_mdb_opensearch_cluster` +* yandex_ydb_database: added the ability to change networks +* serverless: `log_group` trigger is deprecated. Use `logging` trigger instead. +* mongodb: add create cluster timeout +* compute: add `name` attribute to `instance_template.boot_disk` in `yandex_compute_instance_group` resource and data source +* compute: add `name` attribute to `instance_template.secondary_disk` in `yandex_compute_instance_group` resource and data source + +ENHANCEMENTS: +* managed-kubernetes: support update of `master.master_locations` section for `yandex_kubernetes_cluster` + +BUG FIXES: +* yandex_ydb_database: Add additional wait duration after database was created +* yandex_ydb_topic: Fix consumer type in tf scheme + +## 0.102.0 (November 8, 2023) + +FEATURES: +* provider: allow creating `public` dns zones along with `private` and `public-private` once +* provider: allow updating dns zone visibility (all transitions are allowed except `public-private -> public` one) + +BUG FIXES: +* clickhouse: updating only the changed user settings +* alb: fix bug leading to panic when `log_options` block is empty +* storage: fix bug not allowing to remove grants and acl by removing `grant` and `acl` fields +* certificate-manager: `yandex_cm_certificate` resource now handles the case when the service does not provide challenges of the required type + +## 0.101.0 (October 31, 2023) + +ENHANCEMENTS: +* mdb: add `disk_size_autoscaling` attribute to `config` entity in `yandex_mdb_postgresql_cluster` resource and data source +* datasphere: add documentation for datasphere resources and data sources +* kafka: small tests refactor, change kafka version to 3.5 in acc-tests. + +FEATURES: +* compute: added support for `instance_tags_pool` in `yandex_compute_instance_group` +* compute: added support for `ignore_health_checks` in `yandex_compute_instance_group` +* managed-kubernetes: add `master_location`, `etcd_cluster_size` in `yandex_kubernetes_cluster` resource and data source +* kafka: support Kafka 3.3,3.4,3.5 in `yandex_mdb_kafka_cluster` +* postgresql: add postgresql 16 support + +* **New Resource:** `yandex_loadtesting_agent` + +BUG FIXES: +* kafka: fix bug with update of field `schema_registry` in `yandex_mdb_kafka_cluster` resource +* compute: fix `filesystem` in `compute_instance_group` resource +* greenplum: add Cloud Storage support +* postgresql: do not recreate cluster on network change +* kafka: fix bug with import of resource `yandex_mdb_kafka_connector` +* mongodb: fix update `feature_compatibility_version` in `yandex_mdb_mongodb_cluster` resource + +WARNING: +* managed-kafka: 'unmanaged_topics' cluster flag are now deprecated + +ENHANCEMENTS: +* managed-kubernetes: supprort update of `allocation_policy.locations` section for `yandex_kubernetes_node_group` + +## 0.100.0 (October 11, 2023) + +FEATURES: + +* clickhouse: added `remote_filesystem_read_method`, `max_read_buffer_size`, `insert_keeper_max_retries`, `max_temporary_data_on_disk_size_for_user`, `max_temporary_data_on_disk_size_for_query`, `max_parser_depth`, `memory_overcommit_ratio_denominator`, `memory_overcommit_ratio_denominator_for_user`, `memory_usage_overcommit_max_wait_microseconds` for user settings, `geobase_enabled`, `background_merges_mutations_concurrency_ratio` for server configuration, `max_avg_part_size_for_too_many_parts`, `min_age_to_force_merge_seconds`, `min_age_to_force_merge_on_partition_only`, `merge_selecting_sleep_ms` for merge tree configuration, `enable_ssl_certificate_verification`, `max_poll_interval_ms`, `session_timeout_ms` for kafka_topic configuration, `level` for compression configuration, `prefer_not_to_merge` for cloud storage configratuion +* clickhouse: fix update merge_tree settings +* hadoop: support `initialization_action` section +* serverless: add `async_invocation` attribute in `yandex_function` resources and data sources +* greenplum: add Greenplum 6.25 support +* compute: support `filesystem` in `compute_instance_group` resource and data source +* **New Resource:** `yandex_datasphere_community` +* **New Resource:** `yandex_datasphere_project` +* **New Resource:** `yandex_datasphere_community_iam_binding` +* **New Resource:** `yandex_datasphere_project_iam_binding` + +BUG FIXES: +* dataproc: fix autoscaling subcluster update +* yandex_ydb_table: add trim slashes in table path + +ENHANCEMENTS: +* migration: switched tests imports for helpers modules from SDKv2 to the testing module. [Following](https://developer.hashicorp.com/terraform/plugin/testing/migrating#migration-steps) + +## 0.99.1 (September 25, 2023) + +BUG FIXES: + +* kafka: fix for `allow_hosts` attribute processing + +## 0.99.0 (September 22, 2023) + +FEATURES: + +* clickhouse: added `input_format_import_nested_json`, `input_format_parallel_parsing`, `max_read_buffer_size`, `max_final_threads`, `local_filesystem_read_method` for user settings, `input_format_import_nested_json` for server configuration, `merge_with_ttl_timeout`, `merge_with_recompression_ttl_timeout`, `max_parts_in_total`, `max_number_of_merges_with_ttl_in_pool`, `cleanup_delay_period` for merge tree configuration +* clickhouse: changing `folder_id` attribute in `yandex_mdb_clickhouse_cluster` moves ClickHouse cluster to new folder +* serverless: added `variables` and `canary` attribute to `api_gateway` resource and data source +* mongodb: support `backup_retain_period_days` in `yandex_mdb_mongodb_cluster` +* mongodb: changing `folder_id` attribute in `yandex_mdb_mongodb_cluster` moves MongoDB cluster to new folder +* redis: changing `folder_id` attribute in `yandex_mdb_redis_cluster` moves Redis cluster to new folder +* kafka: changing `folder_id` attribute in `yandex_mdb_kafka_cluster` moves Kafka cluster to new folder +* kafka: add `allow_hosts` attribute for kafka user permission in `yandex_mdb_kafka_user` and `yandex_mdb_kafka_cluster` resources and data sources + +BUG FIXES: + +* docs: method of resetting `placement_policy` field in `compute_instance` resource +* backup: added `yandex_backup_policy` resource +* clickhouse: fix cluster version upgrade +* clickhouse: fix reset secrets to default for `kafka_topics` on cluster update + +ENHANCEMENTS: +* getting lockbox data source via `name` and `folder_id` + +## 0.98.0 (September 11, 2023) + +FEATURES: + +* mongodb: support `performance_diagnostics` in `yandex_mdb_mongodb_cluster` +* serverless: support `stream_names` attribute in logging triggers +* serverless: support batching in `IoT` and `S3` triggers +* k8s: added `gpu_environment` property to `gpu_settings` attribute of `node_group` resource and data source +* clickhouse: fix reset secrets to default for `kafka_topics` on cluster update + +BUG FIXES: + +* fix `Provider produced inconsistent final plan` error with `resource_yandex_dns_recordset` + +## 0.97.0 (August 16, 2023) + +FEATURES: + +* k8s: added `gpu_settings` attribute with `gpu_cluster_id` to `node_group` resource and data source + +ENHANCEMENTS: + +* combined provider via muxing (simultaneous support of `terraform-plugin-sdk/v2` and `terraform-plugin-framework`). +* migrate `yandex_billing_cloud_binding` to `terraform-plugin-framework` provider + +## 0.96.1 (July 31, 2023) +BUG FIXES: +* compute: revoke support updating host_affinity_rules in the `yandex_compute_instance` resource due to breaking changes in tf state. + +## 0.96.0 (July 31, 2023) +FEATURES: +* added `shared_credentials_file` and `profile` provider properties +* storage: support configuration of `storage_access_key`/`storage_secret_key` keys from shared credentials file +* redis: support `maxmemory_percent` in `yandex_mdb_redis_cluster` +* compute: support updating host_affinity_rules in the `yandex_compute_instance` resource. +* storage: added `source_hash` property to `storage_object` resource + +BUG FIXES: +* compute: fixed problem with changing health check type for `yandex_compute_instance_group` +* certificate-manager: in `yandex_cm_certificate` resource, `domains` is not `Computed`, to avoid unwanted updates + +ENHANCEMENTS: +* provider: the default development, testing and building of the provider is now done with Go 1.20 + +## 0.95.0 (July 13, 2023) +FEATURES: +* storage: allow `transition`/`noncurrent_version_transition` to `ICE` storage class in bucket lifecycle config. +* datatransfer: added `ydb_source` and `ydb_target` endpoints + +BUG FIXES: +* certificate-manager: fixed problem with read `deletion_protection` to `data.yandex_cm_certificate` +* `terraform-provider-ydb` add ttl support for integral types of columns + +## 0.94.0 (July 4, 2023) +FEATURES: +* redis: update requests to grpcapi with unified config +* provider: upgrade go-genproto to the latest version. This is needed for migrate redis to unified config. +* **New Resource:** `yandex_kms_asymmetric_encryption_key` +* **New Resource:** `yandex_kms_asymmetric_signature_key` +* **New Resource:** `yandex_kms_asymmetric_encryption_key_iam_binding` +* **New Resource:** `yandex_kms_asymmetric_signature_key_iam_binding` + +BUG FIXES: +* vpc: security group rule import fixed +* datatransfer: added `serializer` field for `kafka_target` endpoints +* docs: updated description for `yandex_compute_snapshot_schedule` +* lockbox: better examples for `yandex_lockbox_secret_version` data source + +ENHANCEMENTS: +* use ListUserAccounts filter parameter in `yandex_organizationmanager_saml_federation_user_account` data source instead of loop. +* fixed `yandex_organizationmanager_saml_federation_user_account` data source acceptance tests. +* `*_iam_member`, `*_iam_binding`, `*_iam_policy` resources are now context-aware +* Error messages and handling updated for `*_iam_member`, `*_iam_binding`, `*_iam_policy` resources +* `*_iam_member` resources now use update-access-bindings method instead of set-access-bindings + +## 0.93.0 (June 14, 2023) +FEATURES: +* provider: the default development, testing and building of the provider is now done with Go 1.18 +* clickhouse: minor refactoring of clickhouse tests +* clickhouse: add check Clickhouse config + +BUG FIXES: +* organizationmanager: data source `yandex_organizationmanager_saml_federation_user_account` account creation behaviour fixed. + + +## 0.92.0 (May 31, 2023) +FEATURES: +* mongodb: update mongodb version in tests from deprecated `4.2` to actual `6.0` +* organizationmanager: saml user organization membership management via dedicated resource `yandex_organizationmanager_saml_federation_user_account` is implemented +* dataproc: update dataproc tests +* kms: add `deletion_protection` attribute in `yandex_kms_symmetric_key` resource +* **New Data Source:** `yandex_kms_symmetric_key` +* storage: added bucket and object `tagging` +* k8s: add `container_network` attribute with `pod_mtu` to `node_group` resource and data source +* k8s: add `audit_enabled` field to `master_logging` attribute in `cluster` resource and data source +* clickhouse: minor refactoring of clickhouse tests +* **New Resource** `yandex_lockbox_secret_iam_binding` +* All supported subjects specified in docs for `*_iam_member`, `*_iam_binding` and other iam access policy resources +* cdn: added support to set custom headers in requests to origin in `static_request_headers` + +BUG FIXES: +* organizationmanager: data source `yandex_organizationmanager_saml_federation_user_account` account creation behaviour deprecation notice added +* clickhouse: fix actual ClickHouse versions in tests +* yandex_ydb_table: add option for disable auto partitioning by size +* compute_instance: fix static ip address unbinding +* cdn: fix documentation + +## 0.91.0 (May 18, 2023) +FEATURES: +* mdb: Kafka user management via dedicated resource `yandex_mdb_kafka_user` is implemented +* clickhouse: minor refactoring of clickhouse tests + +BUG FIXES: +* mongodb: fix migrate from `resources` to `resources_*` without changes +* logging: fix refresh failure if logging group has been deleted externally +* clickhouse: fix bug with count zookeepers +* kafka: fix bug in terraform acc tests, data source kafka cluster test. +* redis: fix fail on create when maintance_window equals ANYTIME + +## 0.90.0 (May 4, 2023) +FEATURES: +* redis: support `announce_hostnames` in `yandex_mdb_redis_cluster` +* datatransfer: added `kafka_source` and `kafka_target` endpoints +* mongodb: add the ability to enable sharding in created clusters +* mongodb: support for adding and deleting shards in a sharded mongodb +* serverless: support `payload` for timer triggers + +BUG FIXES: +* clickhouse: fix bug with resource's configuration +* clickhouse: fix bug with setting background_pool_size in config +* mongodb: fix `yandex_mdb_mongodb_cluster` restore test +* docs: updated description for `yandex_compute_snapshot_schedule` +* certificate-manager: fix import for `yandex_cm_certificate` +* certificate-manager: add tests for self-managed `yandex_cm_certificate` +* certificate-manager: fix documentation +* **New Resource** `yandex_ydb_table` +* yandex-message-queue: fixed queue creation after manual deletion + +## 0.89.0 (April 6, 2023) +FEATURES: +* mongodb: `resources` section for `yandex_mdb_mongodb_cluster` is now deprecated +* mongodb: add new sections `resources_mongod`, `resources_mongos`, `resources_mongocfg`, `resources_mongoinfra` for `yandex_mdb_mongodb_cluster` +* mongodb: add support `MONGOINFRA` host type +* mongodb: allow changing settings for `MONGOS` and `MONGOCFG` host types +* mongodb: support `6.0` enterprise and community versions in `yandex_mdb_mongodb_cluster` +* greenplum: add new 6.22 Greenplum version and remove old 6.17 Greenplum version +* postgresql: add `deletion_protection` attribute to `yandex_mdb_postgresql_user` and `yandex_mdb_postgresql_database` resources + +BUG FIXES: +* datatransfer: fixed the setting of `source_id` and `target_id` on the transfer importing +* yandex message queue: fixed invalid VisibilityTimeout in queue settings when `visibility_timeout_seconds` attribute was set to `0` + +## 0.88.0 (March 23, 2023) +FEATURES: +* **New Resource** `yandex_monitoring_dashboard` +* **New Data Source** `yandex_monitoring_dashboard` +* postgresql: fix host recreation when assigning public ip +* postgresql: do not change user's password if no state changes +* logging: support data_stream attribute +* mysql: fix host recreation when assigning public ip +* postgresql: add `database` and `user` attributes to `yandex_mdb_postgresql_cluster` data source +* **New Resource** `yandex_compute_gpu_cluster` +* **New Data Source** `yandex_compute_gpu_cluster` +* compute: add `gpu_cluster_id` attribute in `yandex_compute_instance` resource and data source +* postgresql: add `pool_mode` attribute to `settings` in `yandex_mdb_postgresql_user` + +## 0.87.0 (March 14, 2023) +BUG FIXES: +* postgresql: fix owner permissions drop in `yandex_mdb_postgresql_user` + +FEATURES: +* **New Resource** `yandex_billing_cloud_binding` +* **New Data Source** `yandex_billing_cloud_binding` +* ydb: add new parameters for serverless database + +## 0.86.0 (March 7, 2023) +BUG FIXES: +* provider config: make `storage_secret_key` and `token` attributes sensitive +* serverless: fix documentation of required attributes for `yandex_function` resource +* postgresql: fix adding `shared_preload_libraries` to cluster +* clickhouse: fix bug with empty user settings. +* compute: fix updating `snapshot_schedule` disks +* storage: minor logging fixes + +FEATURES: +* clickhouse: add new parameters for user settings, server config. +* clickhouse: add feature to configure resources for shards. +* serverless: add `container` support in `yandex_function_trigger` resource and data source +* vpc: add `deletion_protection` attribute in `yandex_vpc_address` resource and data source +* vpc: add `deletion_protection` attribute in `yandex_lb_network_load_balancer` resource and data source +* vpc: Use the default region if the `region_id` attribute is omitted in `yandex_lb_network_load_balanacer` and `yandex_lb_target_group` +* alb: add `rewrite_request_id` support in `HTTPHandler` +* postgresql: add new parameters for user settings. + +## 0.85.0 (January 31, 2023) +FEATURES: +* storage: add `object_lock_configuration` attribute in `bucket` resource +* storage: add `object_lock_legal_hold_status`, `object_lock_mode` and `object_lock_retain_until_date` attributes in `object` resource +* storage: add information about `storage_endpoint` in documents +* storage: add `config_read` property to `anonymous_access_flags` structure. +* **New Resource:** `yandex_ydb_topic` + +BUG FIXES: +* storage: import bucket state now does not requires reapply because it's properly syncs acl and grants. +* mongodb: add `restore` entity in `yandex_mdb_mongodb_cluster` resource +* k8s: add `master_logging` attribute to `cluster` resource and data source +* **New Data Source:** `yandex_container_registry_ip_permission` +* **New Resource:** `yandex_container_registry_ip_permission` +* clickhouse: add possibility to update `version` and `resources` in single apply +* alb: add `regex` support in `StringMatch` +* clickhouse: added the feature to set maintenance_window when creating a cluster. +* clickhouse: support cloud_storage with advanced settings +* postgresql: add possibility to rename `yandex_mdb_postgresql_database` +* api_gateway: add `custom_domains` attribute to `api_gateway` resource and data source +* serverless: add `connectivity` attribute to `api_gateway` resource and data source +* serverless: add `connectivity` attribute to `yandex_functions` resource and data source +* serverless: add `connectivity` attribute to `yandex_serverless_container` resource and data source +* clickhouse: add feature to set weight for shards. + +## 0.84.0 (December 16, 2022) +BUG FIXES: +* mysql: fix bug leading to cluster recreation when changing folder_id +* mdb: fix bug when description cannot be set to null in `yandex_mdb_postgresql_cluster` and `yandex_mdb_mongodb_cluster` +* clickhouse: fix bug leading to failed updating cluster when set cloud_storage(enabled: false) +* compute: fix validation of local_disk in yandex_compute_instance resource + +FEATURES: +* compute: support `metadata_options` in `yandex_compute_instance` +* **New Data Source:** `yandex_compute_filesystem` +* **New Resource:** `yandex_compute_filesystem` +* compute: support `yandex_compute_filesystem` in `yandex_compute_instance` + +## 0.83.0 (December 1, 2022) +BUG FIXES: +* compute: fix bug leading to failed instance update when changing subnet_id of a network_interface +* clickhouse: fix bug leading to failed creating cluster when set maintenance_window + +FEATURES +* alb: add `log_options` attribute in `yandex_alb_load_balancer` resource and data source. + +FEATURES: +* **New Data Source:** `yandex_cm_certificate` +* **New Data Source:** `yandex_cm_certificate_content` +* **New Resource:** `yandex_cm_certificate` + +## 0.82.0 (November 11, 2022) +BUG FIXES: +* lockbox: display error cause, when creating resource `yandex_lockbox_secret_version` fails +* greenplum: add default values for pooler_config. Fix bug with greenplum cluster creation. +* postgresql: fix bug leading to cluster recreation when dropping users or databases in `yandex_mdb_postgresql_cluster` resource +* postgresql: fix bug leading to panic when creating user with grants = [""] +* serverless: check retry attributes when creating message queue trigger + +FEATURES: +* postgresql: add postgresql 15 support +* datatransfer: add `on_create_activate_mode` for incremental transfers +* datatransfer: ignore deactivation error on destroy +* **New Data Source:** `yandex_compute_snapshot_schedule` +* **New Resource:** `yandex_compute_snapshot_schedule` + +ENHANCEMENTS: +* add `sasl_enabled_mechanisms` attribute in `yandex_mdb_kafka_cluster` resource and data source + +## 0.81.0 (October 20, 2022) +BUG FIXES: +* compute: fix size validation in `resource_yandex_compute_disk` +* vpc: fix region_id validation in `resource_yandex_lb_network_load_balanacer` and `resource_yandex_lb_target_group` +* postgresql: fix `host_master_name` wrong behaviour in `yandex_mdb_postgresql_cluster` again +* alb: fix `value` wrong behaviour in `yandex_alb_http_router` and `yandex_alb_virtual_host` +* alb: fix default `path` value in `yandex_alb_backend_group` +* greenplum: add expanding greenplum cluster in a case of changing segments host numbers, details in `resource_yandex_mdb_greenplum_cluster` + +ENHANCEMENTS: +* provider: Upgrade go-sdk and go-genproto to the latest version. This is needed for ALB RBAC feature. +* add `message_max_bytes`, `replica_fetch_max_bytes`, `ssl_cipher_suites`, `offsets_retention_minutes` attributes in `yandex_mdb_kafka_cluster` resource and data source +* clickhouse: use version 22.8 for tests + +FEATURES: +* mdb: add `backup_retain_period_days` attribute to `config` entity in `yandex_mdb_mysql_cluster` resource and data source +* alb: support `route_options` attribute in `yandex_alb_http_router` and `yandex_alb_virtual_host` resource and data source +* **New Data Source:** `yandex_lockbox_secret` +* **New Data Source:** `yandex_lockbox_secret_version` +* **New Resource:** `yandex_lockbox_secret` +* **New Resource:** `yandex_lockbox_secret_version` +* serverless: add `secrets` attribute in `yandex_function` resource and data source +* serverless: add `secrets` attribute in `yandex_serverless_container` resource and data source +* kafka: support S3-Sink Kafka connector in `yandex_mdb_kafka_connector` resource + +## 0.80.0 (September 22, 2022) +BUG FIXES: +* postgresql: fix `host_master_name` wrong behaviour in in `yandex_mdb_postgresql_cluster` +* postgresql: fix `yandex_mdb_postgresql_database` resource wrong behaviour in 0.78.1 + +FEATURES: +* **New Resource:** `yandex_organizationmanager_group_iam_member` + +## 0.79.0 (September 20, 2022) +FEATURES: +* redis: support for Redis 7.0 +* **New Data Source:** `yandex_organizationmanager_group` +* **New Resource:** `yandex_organizationmanager_group` +* **New Resource:** `yandex_organizationmanager_group_membership` +* ydb: support `deletion_protection` attribute to `yandex_ydb_database_serverless` and `yandex_ydb_database_dedicated` resources. +* **New Data Source:** `yandex_container_repository_lifecycle_policy` +* **New Resource:** `yandex_container_repository_lifecycle_policy` + +BUG FIXES: +* `yandex_container_repository`: fixed bug with orphant `yandex_container_repository` after taint of `yandex_container_registry` + + +## 0.78.2 (September 9, 2022) +BUG FIXES: +* kafka: sort hosts in listKafkaHosts method to avoid non - deterministic list of hosts. + +FEATURES: +* kafka: support Kafka 3.0,3.1,3.2 in `yandex_mdb_kafka_cluster` +* postgresql: added 13-1c, 14-1c Postgresql versions + +## 0.78.1 (September 6, 2022) +BUG FIXES: +* dns: fixed `proto: not found` error when creating, updating or deleting `yandex_dns_recordset` + +## 0.78.0 (September 1, 2022) +BUG FIXES: +* cdn: fixed wrong documentation example +* postgresql: fix `login` and `conn_limit` wrong behaviour in `yandex_mdb_postgresql_user` +* data source `yandex_organizationmanager_saml_federation_user_account` now works for federations with more than a hundred of users and with viewer role + +ENHANCEMENTS: +* vpc: allow usage of `yandex_vpc_gateway` in `yandex_vpc_route_table.static_route` as `gateway_id` next hop + +FEATURES: +* greenplum: add `maintenance_window` attribute to resource and data source +* greenplum: support for changing the user's password +* greenplum: support for changing segment and master resources +* mdb: add `template_db` attribute to `yandex_mdb_postgresql_cluster` resource and data source +* clickhouse: add `assign_public_ip` attribute to `host` declaration in resource and data source +* clickhouse: support hosts update +* mdb: add `backup_retain_period_days` attribute to `config` entity in `yandex_mdb_mysql_cluster` resource and data source +* **New Data Source:** `yandex_iot_core_broker` +* **New Data Source:** `yandex_vpc_gateway` +* **New Resource:** `yandex_iot_core_broker` +* **New Resource:** `yandex_vpc_gateway` +* `data_transfer` flag in `ClusterConfig.access` for ClickHouse, Greenplum, MySQL, PostgreSQL, Kafka, MongoDB +* `yandex_query` flag in `ClusterConfig.access` for ClickHouse + +WARNING: +* mdb: remove 5 and 6 from supported versions for redis + +## 0.77.0 (July 27, 2022) +BUG FIXES: +* iam: fix access bindings deletion +* ydb: fixed panic if database was removed outside of terraform +* storage: fix issue when error, returned from reading extend bucket settings treated as important. + It will be printed as log output now instead of interrupting plan execution. +* greenplum: fix bug with not setting `security groups_ids` in `resource_yandex_mdb_greenplum_cluster` +* greenplum: fix bug with not setting `access` in `resource_yandex_mdb_greenplum_cluster` + +ENHANCEMENTS: +* mdb: add `sqlcollation` attribute to `yandex_mdb_sqlserver_cluster` resource and data source +* serverless: increase operation timeouts in `yandex_function` resource +* cdn: added the ability to set custom `folder_id` attribute for resources `yandex_cdn_origin_group` and `yandex_cdn_resource` + +FEATURES: +* k8s: add `instance_template.name` attribute to `node group` resource and data source +* k8s: add `instance_template.ipv4_dns_records`, `instance_template.ipv6_dns_records` attributes to `node group` resource and data source +* k8s: add `instance_template.labels` attribute to `node group` resource and data source +* greenplum: add fields `greenplum_config` and `pooler_config` in `resource_yandex_mdb_greenplum_cluster` +* **New Resource:** `yandex_serverless_container_iam_binding` +* **New Resource:** `yandex_ydb_database_iam_binding` + +## 0.76.0 (July 01, 2022) +BUG FIXES: +* alb: `send` and `receive` attributes can be empty now in `yandex_alb_backend_group` resource and data source +* alb: fixed `yandex_alb_load_balancer` resource and data source documentation +* alb: support `mode` attribute in `load_balancing_config` entity in `yandex_alb_backend_group` resource and data source +* mysql: `mysql_config.sql_mode` is setting now when creating a cluster +* mdb: fix changing `maintenance_window` only in `yandex_mdb_redis_cluster` +* clickhouse: fix issue with `shard_group` update +* serverless: fix issue with `retention_period` update in `yandex_logging_group` resource + +ENHANCEMENTS: +* alb: refactoring `yandex_alb_backend_group` resource and data source +* alb: extra validation added to `yandex_alb_load_balancer` and `yandex_alb_virtual_host` resources and data sources +* mdb: add `client_output_buffer_limit_normal` and `client_output_buffer_limit_pubsub` attributes to `yandex_mdb_redis_cluster` resource and data source +* mdb: add `replica_priority` attribute to `yandex_mdb_redis_cluster` resource and data source +* mdb: add `assign_public_ip` attribute to `yandex_mdb_redis_cluster` resource and data source +* ymq: add `region_id` attribute to resource + +FEATURES: +* compute: support for creating `yandex_compute_instance` with local disks + +## 0.75.0 (May 31, 2022) +ENHANCEMENTS: +* compute: support instance's scheduling policy update in-place + +FEATURES: +* datatransfer: add ClickHouse endpoint into `yandex_datatransfer_endpoint` resource +* alb: support `session_affinity` attribute in `yandex_alb_backend_group` resource and data source. +* **New Resource:** `yandex_mdb_postgresql_database` +* **New Resource:** `yandex_mdb_postgresql_user` +* **New Resource:** `yandex_mdb_mysql_database` +* **New Resource:** `yandex_mdb_mysql_user` +* **New Data Source:** `yandex_mdb_postgresql_database` +* **New Data Source:** `yandex_mdb_postgresql_user` +* **New Data Source:** `yandex_mdb_mysql_database` +* **New Data Source:** `yandex_mdb_mysql_user` +* storage: support `folder_id`, `max_size`, `anonymous_access_flags`, `https` and `default_storage_class` attributes in bucket. +See `storage_bucket` documentation for important information. + +BUG FIXES: +* postgresql: fix bug with applying cluster's settings in PostgreSQL 14 +* iam: return error when access bindings not applied +* storage: fix bug of wrong handling permission error denied on reading policy +* mdb: fix setting timeout and slowlog_max_len to 0 value in `yandex_mdb_redis_cluster` + +WARNING: +* postgresql: `database` and `user` sections for `yandex_mdb_postgresql_cluster` are now deprecated +* mysql: `database` and `user` sections for `yandex_mdb_mysql_cluster` are now deprecated + +## 0.74.0 (April 19, 2022) +ENHANCEMENTS: +* iam: support for changing description of `yandex_iam_service_account_key` without recreation +* mdb: add `performance_diagnostics` section in `yandex_mdb_mysql_cluster` resource and data source +* mdb: change attribute `yandex_mdb_mysql_cluster.user.global_permissions` type from List to Set +* alb: add `enable_proxy_protocol` attribute to `stream_backend` entity in `yandex_alb_backend_group` resource and data source + +BUG FIXES: +* postgresql: fix unpredictable behaviour when changing `assign_public_ip` without name +* storage: fix not saving bucket's `policy` to tfstate +* datatransfer: allow updating `tls_mode` attribute of `yandex_datatransfer_endpoint` resource from `enabled` to `disabled` value + +FEATURES: +* compute: changing `folder_id` attribute leads to move operation for `yandex_compute_instance` and `yandex_compute_disk` resources if `allow_recreate` flag is set to false (or not set). Otherwise, resource will be recreated. +* mdb: new mysql configuration options added +* mdb: support audit log (filter, audit_authorization_success) and security (enable, kmip) settings in `yandex_mdb_mongodb_cluster` +* add `host_group_ids` attribute in `yandex_mdb_mysql_cluster` resource and data source +* add `host_group_ids` attribute in `yandex_mdb_postgresql_cluster` resource and data source +* datatransfer: add MongoDB endpoint into `yandex_datatransfer_endpoint` resource + +## 0.73.0 (March 28, 2022) +ENHANCEMENTS: +* compute: add `host_affinity_rules` attribute to `placement_policy` in `yandex_compute_instance` resource and data source +* alb: support `storage_bucket` as a target in `yandex_alb_backend_group` resource and data source + +BUG FIXES: +* compute: avoid unnecessary start/stop operations for instance while updating secondary disk configuration +* compute: detach secondary disk from instance before deleting +* dataproc: add `assign_public_ip` attribute to `subcluster_spec` entity. If set to `true` then public ip addresses will be assigned to hosts of the subcluster +* docs: fixed exported attributes for `yandex_vpc_network` datasource +* docs: fixed `yandex_vpc_address` resource documentation +* dns: fixed `yandex_dns_recordset` resource record data length restriction + +FEATURES: +* mdb: support `persistence_mode` in `yandex_mdb_redis_cluster` +* kafka: support connector resource and data source in Kafka clusters + +## 0.72.0 (March 02, 2022) +ENHANCEMENTS: +* mdb: add `serverless` attribute to `access` entity in `yandex_mdb_postgresql_cluster` resource and data source +* add `ssl_certificate` attribute in `yandex_cdn_resource` resource and data source +* alb: change `http_backend` and `grpc_backend` and `stream_backend` and `healthcheck` attribute types from Set to List in `yandex_alb_backend_group` resource +* mdb: add `priority` and `backup_priority` attributes to `host` entity in `yandex_mdb_mysql_cluster` resource and data source +* mdb: add `embedded_keeper` attribute in `yandex_mdb_clickhouse_cluster` resource and data_source + +FEATURES: +* mdb: support MongoDB enterprise 4.4 and 5.0 in `yandex_mdb_mongodb_cluster` +* kafka: support change `assign_public_ip` flag in Kafka clusters +* resource-manager: add `yandex_resourcemanager_cloud` resource. + +BUG FIXES: +* alb: fix behavior of attribute `validation_context` of `tls` entity in `yandex_alb_backend_group` resource +* alb: fix behavior of `send` and `receive` attributes of `stream_healthcheck` entity in `yandex_alb_backend_group` resource +* docs: Fixed few minor inaccuracies of `yandex_alb_load_balancer` resource + +## 0.71.0 (February 08, 2021) +ENHANCEMENTS: +* allow `initial` of `0` for `yandex_kubernetes_node_group` `auto_scale` policy. +* dataproc: now cluster version specified in create cluster request is treated as a semantic version prefix. So specified version `2.0` may lead to creation of cluster version `2.0.30` and this will not be considered a change in terraform state. +* add `host_group_ids` attribute in `yandex_mdb_sqlserver_cluster` resource and data source + +BUG FIXES: +* alb: fix behavior of attribute `weight` in `http_backend` and `grpc_backend` and `stream_backend` in `yandex_alb_backend_group` resource +* datatransfer: make `yandex_datatransfer_transfer` importable in accordance with the documentation +* mdb: fix the optional parameter `preallocate` for kafka topic config when it is absent + +## 0.70.0 (January 17, 2022) +FEATURES: +* **New Resource:** `yandex_datatransfer_endpoint` +* **New Resource:** `yandex_datatransfer_transfer` +* managed-kubernetes: add `container_runtime` attribute to `yandex_kubernetes_node_group` resource and data source +* managed-elasticsearch: add `maintenance_window` section in `yandex_mdb_elasticsearch_cluster` resource and data source +* dns: support for resolving by name in `yandex_dns_zone` data source + +BUG FIXES: +* mdb: fix error when simultaneously deleting `yandex_mdb_kafka_topic` resource and modifying `yandex_mdb_kafka_cluster` resource + +ENHANCEMENTS: +* mdb: add `maintenance_window` section in `yandex_mdb_kafka_cluster` resource and data source + +## 0.69.0 (December 27, 2021) +FEATURES: +* **New Data Source:** `yandex_cdn_origin_group` +* **New Data Source:** `yandex_cdn_resource` +* **New Data Source:** `yandex_serverless_container` +* **New Resource:** `yandex_cdn_origin_group` +* **New Resource:** `yandex_cdn_resource` +* **New Resource:** `yandex_serverless_container` +* alb: add `stream_backend` attribute to `yandex_alb_backend_group` resource and data source +* alb: add `stream` attribute to `listener` entity in `yandex_alb_load_balancer` resource and data source + +BUG FIXES: +* docs: Fixed few minor inaccuracies of `yandex_alb_virtual_host` resource + +FEATURES: +* compute: added `block_size` in `yandex_compute_disk` and `yandex_compute_instance` resources. + +## 0.68.0 (December 10, 2021) +FEATURES: +* mdb: added the ability to upgrade Kafka version using the `version` attribute of `yandex_mdb_kafka_cluster` resource. + +BUG FIXES: +* alb: fix behavior of attribute `address_type` in `yandex_alb_target_group` resource +* alb: fix behavior of attribute `route.http_route.http_route_action.host_rewrite` in `yandex_alb_virtual_host` resource +* mdb: fix crash when empty config is specified for Kafka topic within `yandex_mdb_kafka_topic` and `yandex_mdb_kafka_cluster` resources + +ENHANCEMENTS: +* alb: add `private_ipv4_address` attribute to `target` entity in `yandex_alb_target_group` resource and data source +* compute: add `pooled` attribute in `yandex_compute_image` resource and data source + +## 0.67.0 (November 22, 2021) +ENHANCEMENTS: +* provider: Upgrade to Terraform Plugin SDK V2. There should be no breaking changes from a practitioner's perspective. + +BUG FIXES: +* alb: fix behavior of attribute `modify_request_headers.append` in `yandex_alb_virtual_host` resource +* alb: fix error when `route.http_route.http_match.http_method` attribute of `yandex_alb_virtual_host` resource is used. +* alb: fix behavior of attribute `route.http_route.http_match.path` in `yandex_alb_virtual_host` resource. +* mdb: fix `name` update in `yandex_mdb_mongodb_cluster` + +FEATURES: +* add new resource and data-source `yandex_organizationmanager_saml_federation` +* add new data-source `yandex_organizationmanager_saml_federation_user_account` + +## 0.66.0 (November 3, 2021) +FEATURES: +* mdb: Kafka topic management via dedicated resource `yandex_mdb_kafka_topic` is implemented +* mdb: support update `name`, `description`, `labels`, `config.access.data_lens`, `config.access.web_sql`, `deletion_protection` in `yandex_mdb_greenplum_cluster` resource +* mdb: add `access` and `backup_window_start` entities in `yandex_mdb_greenplum_cluster` resource and data source +* mdb: support MongoDB 5.0 in `yandex_mdb_mongodb_cluster` +* mdb: add `backup_retain_period_days` attribute to `config` entity in `yandex_mdb_postgresql_cluster` resource and data source + + +ENHANCEMENTS: +* add docs on k8s node group placement groups. +* ydb: increase the default timeout to create serverless database +* add `name`, `replication_source`, `replication_source_name` attributes to `host` entity in `yandex_mdb_mysql_cluster` resource and data source +* mysql, postgresql: support updating `assign_public_ip` without host recreation + +WARNING: +* `allow_regeneration_host` for mysql host is now DEPRECATED. + +BUG FIXES: +* mdb: fix behavior of attribute `user.settings.log_min_duration_statement` in `yandex_mdb_postgresql_cluster` resource + +## 0.65.0 (October 14, 2021) +FEATURES: +* mdb: support Schema Registry in `yandex_mdb_kafka_cluster` + +FEATURES: +* **New Resource:** `yandex_kms_symmetric_key_iam_binding` + +ENHANCEMENTS: +* elasticsearch: update go-sdk version, add tests +* serverless: supported logging trigger + +BUG FIXES: +* mdb: invalid plan was generated when user didn't specify zookeeper resources for multibroker Kafka cluster + +## 0.64.1 (September 24, 2021) +BUG FIXES: +* mdb: fix password change in Redis + +## 0.64.0 (September 22, 2021) +FEATURES: +* **New Resource:** `yandex_logging_group` +* **New Data Source:** `yandex_logging_group` + +BUG FIXES: +* fix sni handler expanding +* fix `internal_ipv4_address` missing `subnet_id` field +* fix non empty plan when `yandex_vpc_security_group_rule` protocol written in non uppercase + +## 0.63.1 (September 10, 2021) +BUG FIXES: +* fix alb backend group with empty tls. + +## 0.63.0 (September 07, 2021) +FEATURES: +* **New Data Source:** `yandex_mdb_greenplum_cluster` +* **New Resource:** `yandex_mdb_greenplum_cluster` +* docs: add info about internal address for `lb_network_load_balancer` +* docs: add info about loadbalancer_healthchecks predefined target for `vpc_security_group` + +BUG FIXES: +* mdb: fix terraform crash when using big integers as Kafka broker and topic config values + +## 0.62.0 (August 30, 2021) +FEATURES: +* storage: `yandex_storage_bucket` resource supports website routing rules configuraion +* mdb: support Redis 6.2 in `yandex_mdb_redis_cluster` +* mdb: support Kafka 2.8 in `yandex_mdb_kafka_cluster` +* add yandex_organizationmanager_organization_iam_member and yandex_organizationmanager_organization_iam_binding resources. + +BUG FIXES: +* vpc: fix dirty plan of `labels` in vpc resources +* vpc: fix `yandex_vpc_security_group_rule` doc +* vpc: fix ignoring description when changing at inline rules of `yandex_vpc_security_group` +* mdb: ensure that `network_id` is not empty if provided +* mdb: fix host creating with empty `subnet_id` in `yandex_mdb_postgresql_cluster` +* mdb: suppress master nodes config changes if no master node used in `yandex_mdb_elasticsearch_cluster` +* apigateway: fixed spec updating in `yandex_api_gateway` + +ENHANCEMENTS: +* add `deletion_protection` attribute to `yandex_mdb_clickhouse_cluster`, `yandex_mdb_elasticsearch_cluster`, `yandex_mdb_kafka_cluster`, `yandex_mdb_mongodb_cluster`, `yandex_mdb_mysql_cluster`, `yandex_mdb_postgresql_cluster`, `yandex_mdb_redis_cluster`, `yandex_mdb_sqlserver_cluster` resources and data sources +* add `deletion_protection` attribute to `yandex_dataproc_cluster` data source +* support updating of k8s node group `node_labels` without recreation. +* docs: added a description of the port to the documentation for `yandex_mdb_postgresql_cluster` +* support version updaing for `yandex_mdb_elasticsearch_cluster` + +## 0.61.0 (July 9, 2021) +FEATURES: +* **New Data Source:** `yandex_alb_load_balancer` +* **New Data Source:** `yandex_function_scaling_policy` +* **New Data Source:** `yandex_vpc_security_group_rule` for getting info about security group rules +* **New Resource:** `yandex_alb_load_balancer` +* **New Resource:** `yandex_resourcemanager_folder` +* **New Resource:** `yandex_function_scaling_policy` +* **New Resource** `yandex_vpc_security_group_rule` for security group rule managment + +ENHANCEMENTS: +* add `application_load_balancer` entity in `yandex_compute_instance_group` resource and data source +* add `max_checking_health_duration` and `max_opening_traffic_duration` in `yandex_compute_instance_group` +* add `service` attribute to `auto_scale.custom_rule` in `yandex_compute_instance_group` resource and data source +* add `folder_id` attribute to `auto_scale.custom_rule` in `yandex_compute_instance_group` resource and data source +* add `nat_ip_address` attribute to `instance_template.network_interface` in `yandex_compute_instance_group` resource and data source +* add `disk_id` attribute to `instance_template.boot_disk`,`instance_template.secondary_disk` in `yandex_compute_instance_group` +* support of changing `cloud_storage` attribute in `yandex_mdb_clickhouse_cluster` resource +* apigateway: change `spec` attribute from filename to string +* docs: add info about timeouts for `yandex_compute_snapshot` +* docs: add `yandex_api_gateway` +* add `content_type` attribute in `yandex_storage_object` resource + +BUG FIXES: +* compute: Remove restrictions for `type` attribute at `instance_template.boot_disk.initialize_params`,`instance_template.secondary_disk.initialize_params` in `yandex_compute_instance_group` +* functions: `execution_timeout` attribute change now provides `yandex_function` resource update + +## 0.60.0 (June 17, 2021) +FEATURES: +* **New Data Source:** `yandex_alb_virtual_host` +* **New Resource:** `yandex_alb_virtual_host` +* **New Data Source:** `yandex_mdb_elasticsearch_cluster` +* **New Resource:** `yandex_mdb_elasticsearch_cluster` + +ENHANCEMENTS: +* mdb: add `maintenance_window` section in `yandex_mdb_mongodb_cluster`, `yandex_mdb_postgresql_cluster` resource and data source +* dataproc: added support for properties modification +* k8s: support `network_acceleration_type` in k8s node group resource and data source. +* k8s: support Cilium network implementation in k8s cluster and data source. + +BUG FIXES: +* mdb: fixed some errors in implementation of Kafka topics modification +* dns: fixed field name error +* dns: fixed diff with compact ipv6 data records in `yndex_dns_recordset` + +## 0.59.0 (June 6, 2021) +FEATURES: +* **New Data Source:** `yandex_alb_http_router` +* **New Resource:** `yandex_alb_http_router` +* **New Data Source:** `yandex_alb_backend_group` +* **New Resource:** `yandex_alb_backend_group` +* add `autoscaling_config` to Data Proc subcluster specification +* add `ip_address` and `ipv6_address` attributes to `network_interface` entity in `yandex_compute_instance_group` +* **New Resource** `yandex_vpc_default_security_group` for network's default security group managment + +ENHANCEMENTS: +* managed-redis: added `notify_keyspace_events`, `slowlog_log_slower_than`, `slowlog_max_len` and `databases` fields +* mdb: add `maintenance_window` section in `yandex_mdb_clickhouse_cluster`, `yandex_mdb_mysql_cluster` and `yandex_mdb_redis_cluster` resource and data source +* add `num_partitions` and `default_replication_factor` attributes in `yandex_mdb_kafka_cluster` resource and data source +* change of `dns_record`, `ipv6_dns_record` and `nat_dns_record` in `network_interface` entity of `yandex_compute_instance` + without instance drop + +BUG FIXES: +* mdb: throw error when trying to modify `owner` in `database` block in `yandex_mdb_postgresql_cluster` + +## 0.58.0 (May 14, 2021) +FEATURES: +* **New Data Source:** `yandex_alb_target_group` +* **New Resource:** `yandex_alb_target_group` +* add `ipv6` and `ipv4` attributes to yandex_kubernetes_node_group network interfaces both in resource and the data source. + +## 0.57.0 (April 29, 2021) +FEATURES: +* support k8s node group placement groups both in resource and data source. +* add cluster_ipv6_range and service_ipv6_range attributes both to resource yandex_kubernetes_cluster and data source yandex_kubernetes_cluster +* add `host_group_ids` attribute in `yandex_mdb_kafka_cluster` resource and data source +* add `host_group_ids` attribute in `yandex_dataproc_cluster` resource and data source + +ENHANCEMENTS: +* add `dns_record`, `ipv6_dns_record` and `nat_dns_record` to `network_interface` entity in `yandex_compute_instance` + +## 0.56.0 (April 15, 2021) +ENHANCEMENTS: +* dataproc: supported `security_group_ids` +* add `dns_record`, `ipv6_dns_record` and `nat_dns_record` to `network_interface` entity in `yandex_compute_instance_group` +* ydb: support for Yandex Database clusters +* compute: increase disk size limit from 4096Gb to 8192Gb +* vpc: add `name` field description at vpc_security_group datasource and example of it usage + +BUG FIXES: +* compute: placement_policy update in `yandex_compute_instance_group` + +## 0.55.0 (April 1, 2021) +FEATURES: +* storage: `yandex_storage_bucket` resource supports bucket policy configuration + +ENHANCEMENTS: +* add extended API logging. Use TF_ENABLE_API_LOGGING=1 with TF_LOG=debug to see extended output. +* support IAM token in tests +* managed-redis: added 'tls_enabled' field +* managed-kafka: added 'unmanaged_topics' cluster flag and some cluster config flags +* mdb: add `host` attribute in `yandex_mdb_kafka_cluster` resource and data source + +BUG FIXES: +* serverless: fix API Gateway specification update + +## 0.54.0 (March 23, 2021) +ENHANCEMENTS: +* provider: the default development, testing and building of the provider is now done with Go 1.16. +* serverless: supported API Gateway + +BUG FIXES: +* mdb: fix user settings diff for ClickHouse cluster + +## 0.53.0 (March 19, 2021) +ENHANCEMENTS: +* mdb: add example and update documentation for `yandex_mdb_postgresql_cluster` resource +* serverless: supported log-group trigger + +BUG FIXES: +* dns: fix recordset update in `yandex_dns_recordset` +* storage: Fix timeout while applying CORS settings with empty fields + +## 0.52.0 (March 10, 2021) +FEATURES: +* **New Resource:** `yandex_mdb_sqlserver_cluster` +* managed-kubernetes: support `security_group_ids` for `yandex_kubernetes_node_group` resource and data source +* **New Resource:** `yandex_dns_zone` +* **New Resource:** `yandex_dns_recordset` +* **New Data Source:** `yandex_dns_zone` +* serverless: support import for all resources +* **New Resource:** `yandex_container_repository` +* **New Resource:** `yandex_container_repository_iam_binding` +* **New Data Source:** `yandex_container_repository` + +ENHANCEMENTS: +* mdb: add `service_account_id` section in `yandex_mdb_clickhouse_cluster` resource and data source +* mdb: add `cloud_storage` section in `yandex_mdb_clickhouse_cluster` resource and data source +* managed-kubernetes: added `network_interface` section for `yandex_kubernetes_node_group` +* managed-redis: added 'disk_type_id' field + +WARNING: +* managed-kubernetes: `nat` entitiy and `subnet_id` entity in `allocation_policy` section for `yandex_kubernetes_node_group` is now deprecated +* mdb: when changing the `assign_public_ip` attribute to `host` entity in `yandex_mdb_mysql_cluster`, the old host is deleted and a new host is created +* mdb: add `allow_regeneration_host` attribute in `yandex_mdb_mysql_cluster` resource + +BUG FIXES: +* mdb: fix host delete in `yandex_mdb_mysql_cluster` + +## 0.51.1 (February 20, 2021) +ENHANCEMENTS: +* compute: add documentation and example for non-replicated disk + +## 0.51.0 (February 19, 2021) +FEATURES: +* compute: support yandex_disk_placement_group resource and data source. +* compute: integrate yandex_disk_placement_group with compute disk resource and data source. +* mdb: added the ability to upgrade the Mysql version using the `version` attribute in `yandex_mdb_mysql_cluster` + +ENHANCEMENTS: +* mdb: add `restore` entity in `yandex_mdb_mysql_cluster` resource +* mdb: add `connection_limits`, `global_permissions` and `authentication_plugin` attributes to `user` entity in `yandex_mdb_mysql_cluster` resource and data source +* mdb: add `restore` entity in `yandex_mdb_postgresql_cluster` resource +* mdb: add `settings` and `quota` sections to `user` entity in `yandex_mdb_clickhouse_cluster` resource and data source. +* iam: corrected documentation for `yandex_resourcemanager_cloud_iam_binding` resource. +* iam: corrected documentation for `yandex_resourcemanager_folder_iam_binding` resource. + +BUG FIXES: +* mdb: fix updating user permissions for Kafka cluster + +WARNING: +* mdb: replace sets with lists for users in `yandex_mdb_mysql_cluster`. There can appear changes in diff for users, which will not change anything and will disappear after apply + +## 0.50.0 (February 5, 2021) +FEATURES: +* **New Resource:** `yandex_container_registry_iam_binding` +* mdb: version 13 is available in `yandex_mdb_postgresql_cluster` +* storage: `yandex_storage_bucket` resource supports versioning configuration +* storage: `yandex_storage_bucket` resource supports logging configuration +* vpc: add example for ddos protected address documentation +* compute: support yandex_placement_group resource and data source. +* compute: integrate yandex_placement_group with compute instance and instance group resources and data source. + +ENHANCEMENTS: +* storage: add bucket configuration example +* mdb: support `security_group_ids` for managed service for kafka +* mdb: add `web_sql` and `data_lens` attribute to `access` entity in `yandex_mdb_mysql_cluster` resource and data source +* mdb: add `mysql_config` attribute in `yandex_mdb_mysql_cluster` resource and data source +* mdb: add `format_schema` section in `yandex_mdb_clickhouse_cluster` resource and data source +* mdb: add `ml_model` section in `yandex_mdb_clickhouse_cluster` resource and data source +* mdb: add `replication_source_name`, `priority` attributes to `host`entity and `host_master_name` attribute in `yandex_mdb_postgresql_cluster` resource and data source +* mdb: add `sql_user_management` and `sql_database_management` attributes in `yandex_mdb_clickhouse_cluster` resource and data_source +* mdb: add `admin_password` attribute in `yandex_mdb_clickhouse_cluster` resource +* kms: add sensitive flag for `plaintext` attribute in `yandex_kms_secret_ciphertext` resource +* managed-kubernetes: support `security_group_ids` for `yandex_kubernetes_cluster` resource and data source + +## 0.49.0 (January 15, 2021) +FEATURES: +* storage: `yandex_storage_bucket` resource supports lifecycle configuration + +ENHANCEMENTS: +* mdb: changing `folder_id` attribute in `yandex_mdb_postgresql_cluster` moves PostgreSQL cluster to new folder +* mdb: add `web_sql` attribute to `config.access` entity in `yandex_mdb_postgresql_cluster` resource and data source +* mdb: add `performance_diagnostics` attribute to `config` entity in `yandex_mdb_postgresql_cluster` resource and data source +* mdb: add `settings` attribute to `user` entity in `yandex_mdb_postgresql_cluster` resource and data source +* mdb: add `postgresql_config` attribute to `config` entity in `yandex_mdb_postgresql_cluster` resource and data +* mdb: support `security_group_ids` in all database cluster resources and data sources +* compute: `strategy` attribute to `deploy_policy` entity in `yandex_compute_instance_group` resource and data source +* vpc: extend validation for listener spec in `yandex_lb_network_load_balancer` resource + +## 0.48.0 (December 22, 2020) +BUG FIXES: +* mdb: fix setting of folder_id field for MongoDB cluster +* dataproc: add documentation for the `ui_proxy` attribute +* vpc: fix panic on reading `yandex_vpc_address` resource + +ENHANCEMENTS: +* mdb: add `conn_limit` attribute to `user` entity in `yandex_mdb_postgresql_cluster` resource and data source +* mdb: add `config` section in `yandex_mdb_clickhouse_cluster` resource and data source + +## 0.47.0 (November 10, 2020) +BUG FIXES: +* kms: fix import operation +* serverless: folder_id can be using from yandex_function, yandex_function_trigger, yandex_iot_core_registry +* serverless: crash fix for dlq option in yandex_function_trigger + +ENHANCEMENTS: +* vpc: default_security_group_id field was added to network resource and data source +* provider: support authentication via IAM token + +FEATURES: +* mdb: support ClickHouse shard groups in `yandex_mdb_clickhouse_cluster` + +## 0.46.0 (October 19, 2020) +BUG FIXES: +* vpc: Security group rule port bugfix: can create rules without specifying a port +* vpc: Fix internal_address_spec block in network load balancer resource doc +* vpc: Security group ANY port bug fix +* dataproc: support for UI Proxy + +ENHANCEMENTS: +* serverless: improved zip archive content size limit excession error message + +## 0.45.1 (October 06, 2020) + +BUG FIXES: +* fix release issue + +## 0.45.0 (October 05, 2020) +FEATURES: +* mdb: support MongoDB 4.4 in `yandex_mdb_mongodb_cluster` +* vpc: address resource & data source + +ENHANCEMENTS: +* lb: improve NLB sweeper and tests + +BUG FIXES: +* vpc: `static_route` in `yandex_vpc_route_table` is optional now + +## 0.44.1 (September 24, 2020) + +BUG FIXES: +* vpc: fix "security_group" data source + +## 0.44.0 (September 22, 2020) + +FEATURES: +* vpc: security group rule targets `security_group_id` and `predefined_target` are supported +* storage: `yandex_storage_bucket` resource can manage SSE + +ENHANCEMENTS: +* some changes in security group resource + +BUG FIXES: +* lb: fix modifying listener settings + +## 0.43.0 (August 20, 2020) + +FEATURES: +* iam: support for resolving by name in `yandex_iam_service_account` data source + +BUG FIXES: +* compute: fix `yandex_compute_instance` update trying to re-configure dymanic NAT +* mdb: replace sets with lists for users and databases in `yandex_mdb_postgresql_cluster`. +WARNING: there can appear changes in diff for users and databases, which will not change anything and will disappear after apply + +## 0.42.1 (August 04, 2020) + +BUG FIXES: +* compute: fix panic on parsing `instance_template.network_interface.security_group_ids` attribute in `yandex_compute_instance_group` resource + +## 0.42.0 (July 27, 2020) +FEATURES: +* mdb: support Redis 6.0 in `yandex_mdb_redis_cluster` + +FEATURES: +* **New Data Source:** `yandex_client_config` + +ENHANCEMENTS: +* mdb: add `role` attribute to `host` entity in `yandex_mdb_postgresql_cluster` resource and data source +* compute: support update of `network_interface` attribute for `yandex_compute_instance` resource + +BUG FIXES: +* compute: fix `secondary_disk` validation in `yandex_compute_instance_group` resource +* compute: remove `secondary_disk.security_group_ids` attribute from `yandex_compute_instance` data source + +## 0.41.1 (June 24, 2020) + +BUG FIXES: +* vpc: fix panic on empty subnet dhcp options on `yandex_vpc_subnet` resource ([#82](https://github.com/terraform-providers/terraform-provider-yandex/issues/82)) + +## 0.41.0 (June 23, 2020) +FEATURES: +* **New Data Source:** `yandex_message_queue` +* **New Resource:** `yandex_message_queue` +* vpc: allow setting dhcp options for `yandex_vpc_subnet` + +ENHANCEMENTS: +* mdb: document mdb enumerables for Redis, MongoDB and ClickHouse +* provider: support set 'service_account_key_file' as either the path to or the contents of a Service Account key file in JSON format +* managed-kubernetes: support `gpus` attribute for `yandex_kubernetes_node_group` +* compute: add `instance_template.scale_policy.test_auto_scale` attribute in `yandex_compute_instance_group` resource and data source +* compute: add `deletion_protection` attribute in `yandex_compute_instance_group` resource and data source +* compute: add `instance_template.network_interface.security_group_ids` attribute in `yandex_compute_instance_group` resource and data source +* compute: add `network_interface.security_group_ids` attribute in `yandex_compute_instance` resource and data source + +BUG FIXES: +* mdb: fix typo in using mdb api by `resource_yandex_mdb_postgresql_cluster` +* vpc: fix removing `yandex_vpc_subnet` attribute `route_table_id` + +## 0.40.0 (May 22, 2020) +FEATURES: +* **New Resource:** `yandex_function_iam_binding` + +BUG FIXES: +* compute: add `ipv4` flag in `yandex_compute_instance` data source +* mdb: fix disk size change on `mdb_mongodb` resource update +* mdb: adding database with its owner to existing `resource_yandex_mdb_postgresql_cluster` simultaneously + +## 0.39.0 (May 05, 2020) +ENHANCEMENTS: +* mdb: add `roles` attribute to `user` entity in `mdb_mongodb` resource and data source +* compute: change allowed disk type from `network-nvme` to `network-ssd` +* compute: `ipv4` flag determines whether to assign a IPv4 address for `network_interface` in `yandex_compute_instance` and `yandex_compute_instance_group` + +## 0.38.0 (April 22, 2020) +FEATURES: +* **New Data Source:** `yandex_vpc_security_group` +* **New Resource:** `yandex_vpc_security_group` + +ENHANCEMENTS: +* managed-kubernetes: allow to create cluster with KMS provider for secrets encryption. + +## 0.37.0 (April 16, 2020) +ENHANCEMENTS: +* storage: support custom acl grants for `yandex_storage_bucket` + +## 0.36.0 (April 16, 2020) +ENHANCEMENTS: +* compute: add `variables` attribute in `yandex_compute_instance_group` resource and data source +* compute: add `status` attribute in `yandex_compute_instance_group` resource and data source +* compute: add `instance_template.name` attribute in `yandex_compute_instance_group` resource and data source +* compute: add `instance_template.hostname` attribute in `yandex_compute_instance_group` resource and data source +* compute: add `instances.status_changed_at` attribute in `yandex_compute_instance_group` resource and data source +* managed-kubernetes: add `node_ipv4_cidr_mask_size` attribute to `yandex_kubernetes_cluster` resource and data source +* managed-kubernetes: add `deploy_policy.max_unavailable` and `deploy_policy.max_expansion` attributes to `yandex_kubernetes_node_group` resource and data source +* serverless: add `environment` attribute in `yandex_function` resource and data source + +BUG FIXES: +* mdb: fix modifying `yandex_mdb_mysql_cluster` attribute `backup_window_start` + +## 0.35.0 (March 31, 2020) +FEATURES: +* **New Resource:** `yandex_kms_secret_ciphertext` + +ENHANCEMENTS: +* mdb: add `config_spec.access.serverless` attribute in `resource_yandex_mdb_clickhouse_cluster` resource and data source + +BUG FIXES: +* mdb: forbidden to change user settings that are not present in the scheme of `resource_yandex_mdb_postgresql_cluster` +* compute: compute instance attribute `hostname` is now filled when imported + +## 0.34.0 (March 18, 2020) +FEATURES: +* **New Data Source:** `yandex_function` +* **New Data Source:** `yandex_function_trigger` +* **New Resource:** `yandex_function` +* **New Resource:** `yandex_function_trigger` + +ENHANCEMENTS: +* compute: add `instance_template.network_settings` attribute in `yandex_compute_instance_group` resource and data source + +## 0.33.0 (March 06, 2020) +FEATURES: +* **New Data Source:** `yandex_iot_core_registry` +* **New Data Source:** `yandex_iot_core_device` +* **New Resource:** `yandex_iot_core_registry` +* **New Resource:** `yandex_iot_core_device` + +ENHANCEMENTS: +* managed-kubernetes: support network policy provider for `yandex_kubernetes_cluster` ([#45](https://github.com/terraform-providers/terraform-provider-yandex/issues/45)) +* managed-kubernetes: add `node_labels`, `node_taints` and `allowed_unsafe_sysctls` fields for `yandex_kubernetes_node_group` + +BUG FIXES: +* mdb: throw error when trying to modify `assign_public_ip` in `resource_yandex_mdb_postgresql_cluster`,`resource_yandex_mdb_mysql_cluster` + +## 0.32.0 (February 28, 2020) +FEATURES: +* compute: allow setting public IP address for `yandex_compute_instance` +* mdb: support ClickHouse cluster access for Yandex.Metrica + +BUG FIXES: +* mdb: disallow change `lc_collate` and `lc_ctype` in `yandex_mdb_postgresql_cluster` after creation. +* container-registry: prevent terraform crash during `terraform destroy` execution for non-existent container registry. +* resourcemanager: data source folder. fixed folder_id resolve by name (would fail without folder_id in provider config) +* managed-kubernetes: k8s cluster version update no longer requires destroying of resource +* managed-kubernetes: update of maintenance window `start_time` and `duration` will now trigger resource update + +## 0.31.0 (February 14, 2020) +FEATURES: +* compute: software network acceleration for `yandex_compute_instance` +* mdb: support roles for users in `yandex_mdb_mysql_cluster` + +ENHANCEMENTS: +* compute: support metric labels for custom rules in `yandex_compute_instance_group` resource `scale_policy.auto_scale` attribute + +BUG FIXES: +* lb: fix modifying health check settings + +## 0.30.0 (February 04, 2020) +FEATURES: +* **New Data Source:** `yandex_dataproc_cluster` +* **New Resource:** `yandex_dataproc_cluster` + +ENHANCEMENTS: +* managed-kubernetes: support autoscaled `yandex_kubernetes_node_group` + +## 0.29.1 (January 29, 2020) +BUG FIXES: +* resourcemanager: data source cloud. fixed cloud_id resolve by name (would fail without folder_id in provider config) + +## 0.29.0 (January 24, 2020) +FEATURES: +* **New Data Source:** `yandex_mdb_mysql_cluster` +* **New Data Source:** `yandex_mdb_postgresql_cluster` +* **New Resource:** `yandex_mdb_mysql_cluster` +* **New Resource:** `yandex_mdb_postgresql_cluster` + +## 0.28.0 (January 13, 2020) +FEATURES: +* **New Resource:** `yandex_kms_symmetric_key` + +ENHANCEMENTS: +* managed-kubernetes: support maintenance policy for `yandex_kubernetes_cluster` and `yandex_kubernetes_node_group` +* lb: `yandex_lb_network_load_balancer` now supports UDP for `protocol` attribute. + +BUG FIXES: +* provider: fix `message type "google.protobuf.Empty" isn't linked in` ([#35](https://github.com/terraform-providers/terraform-provider-yandex/issues/35)) + +## 0.27.0 (December 20, 2019) +FEATURES: +* **New Data Source:** `yandex_mdb_mongodb_cluster` +* **New Resource:** `yandex_mdb_mongodb_cluster` + +ENHANCEMENTS: +* mdb: support sharding in `yandex_mdb_clickhouse_cluster` +* lb: changes in `yandex_lb_network_load_balancer` support ipv6 at listener.0.external_address_spec.ip_version + +## 0.26.0 (December 06, 2019) +ENHANCEMENTS: +* compute: support for custom rules in `yandex_compute_instance_group.scale_policy.auto_scale` + +## 0.25.0 (December 05, 2019) +FEATURES: +* **New Data Source:** `yandex_mdb_clickhouse_cluster` +* **New Resource:** `yandex_mdb_clickhouse_cluster` + +## 0.24.0 (December 03, 2019) +BUG FIXES: +* managed-kubernetes: changes in `yandex_kubernetes_node_group` allocation_policy should trigger destroy/add. +* managed-kubernetes: changes in `yandex_kubernetes_cluster` location, release_channel should trigger destroy/add. +* managed-kubernetes: changes in `yandex_kubernetes_cluster` master.0.version should NOT trigger destroy/add, and use update instead. +* managed-kubernetes: forbidden zero values in `yandex_kubernetes_node_group`, in instance_template.0.resources.0.memory(cores) +* managed-kubernetes: fill `instance_group_id` field in `yandex_kubernetes_node_group` datasource and resource. + +ENHANCEMENTS: +* compute: support update of service_account_id in `yandex_compute_instance` without resource recreation. +* datasource resolving by name now uses folder_id from its config (when provided), affected datasources: +`yandex_compute_disk`, `yandex_compute_image`, `yandex_compute_instance`, `yandex_compute_snapshot`, +`yandex_container_registry`, `yandex_kubernetes_cluster`, `yandex_kubernetes_node_group`, +`yandex_lb_network_load_balancer`, `yandex_lb_target_group`, `yandex_mdb_redis_cluster`, +`yandex_vpc_network`, `yandex_vpc_route_table`, `yandex_vpc_subnet`. + +## 0.23.0 (November 05, 2019) +ENHANCEMENTS: +* mdb: support sharding in `yandex_mdb_redis_cluster` +* compute: increase `yandex_compute_snapshot` timeout from 5 to 20 minutes + +BUG FIXES: +* managed-kubernetes: mark as computable `version` and `public_ip` in `yandex_kubernetes_cluster` resource + +## 0.22.0 (October 24, 2019) +ENHANCEMENTS: +* compute: add `instances` to `yandex_compute_instance_group` resource +* mdb: add fqdns of hosts in `yandex_mdb_redis_cluster` resource and data source +* managed-kubernetes: add `version` to `yandex_kubernetes_node_group` resource + +## 0.21.0 (October 17, 2019) +ENHANCEMENTS: +* storage: `yandex_storage_bucket` and `yandex_storage_object` resources can manage ACL + +## 0.20.0 (October 15, 2019) +FEATURES: +* **New Resource:** `yandex_storage_bucket` +* **New Resource:** `yandex_storage_object` + +## 0.19.0 (October 15, 2019) +ENHANCEMENTS: +* managed-kubernetes: `yandex_kubernetes_node_group` resource can now be imported +* managed-kubernetes: `yandex_kubernetes_cluster` resource can now be imported + +BUG FIXES: +* minor documentation fixes for Kubernetes cluster resource and instance group datasource. + +## 0.18.0 (October 11, 2019) +ENHANCEMENTS: +* provider: support authentication via instance service account from inside an instance + +BUG FIXES: +* container: increase default timeout + +## 0.17.0 (October 02, 2019) +FEATURES: +* compute: auto_scale support added for `yandex_compute_instance_group` resource and data source + +## 0.16.0 (October 01, 2019) +* **New Data Source:** `yandex_mdb_redis_cluster` +* **New Resource:** `yandex_mdb_redis_cluster` + +## 0.15.0 (September 30, 2019) +FEATURES: +* **New Data Source:** `yandex_kubernetes_cluster` +* **New Data Source:** `yandex_kubernetes_node_group` +* **New Resource:** `yandex_kubernetes_cluster` +* **New Resource:** `yandex_kubernetes_node_group` + +## 0.14.0 (September 27, 2019) +* provider: migrate to standalone Terraform SDK module ([#22](https://github.com/terraform-providers/terraform-provider-yandex/issues/22)) +* provider: support graceful shutdown +* iam: use logic lock on cloud while create SA to prevent simultaneous IAM membership changes +* container: resolve data source `yandex_container_registry` by name. + +## 0.13.0 (September 23, 2019) +FEATURES: +* **New Resource:** `yandex_iam_service_account_api_key` +* **New Resource:** `yandex_iam_service_account_key` + +ENHANCEMENTS: +* compute: `yandex_compute_snapshot` resource can now be imported +* iam: `yandex_iam_service_account` resource can now be imported +* iam: `yandex_iam_service_account_static_access_key` resource now supports `pgp_key` field. + +## 0.12.0 (September 20, 2019) +FEATURES: +* **New Data Source:** `yandex_container_registry` +* **New Resource:** `yandex_container_registry` + +## 0.11.2 (September 19, 2019) +ENHANCEMENTS: +* provider: provider uses permanent client-request-id identifier while the terraform is running + +BUG FIXES: +* provider: fix provider name and version detection + +## 0.11.1 (September 13, 2019) +ENHANCEMENTS: +* provider: set provider name and version in user agent header. + +BUG FIXES: +* compute: fix flattening of health checks for `yandex_compute_instance_group` resource + +## 0.11.0 (September 11, 2019) +ENHANCEMENTS: +* compute: add `resources.0.gpus` attribute in `yandex_compute_instance` resource and data source +* compute: add `resources.0.gpus` attribute in `yandex_compute_instance_group` resource and data source + +## 0.10.2 (September 09, 2019) +ENHANCEMENTS: +* compute: `yandex_compute_snapshot` resource can now be imported +* iam: `yandex_iam_service_account` resource can now be imported + +BUG FIXES: +* compute: fix read operation of `yandex_compute_instance` + +## 0.10.1 (August 26, 2019) +BUG FIXES: +* resourcemanager: resources `yandex_*_iam_binding`, `yandex_•_iam_policy` works with full set of bindings. + +## 0.10.0 (August 21, 2019) +BUG FIXES: +* vpc: remove `v6_cidr_blocks` attr in `yandex_vpc_subnet` resource. This property is not available right now. + +ENHANCEMENTS: +* compute: instance_group data source and resource support new fields in `load_balancer` section. +* resourcemanager: support lookup `yandex_resourcemanager_folder` at specific cloud_id. ([#17](https://github.com/terraform-providers/terraform-provider-yandex/issues/17)) + +## 0.9.1 (August 14, 2019) +ENHANCEMENTS: +* compute: use `min_disk_size` of image or `disk_size` of snapshot to set size of boot_disk on instance template for `yandex_compute_instance_group`. + +## 0.9.0 (August 07, 2019) +FEATURES: +* **New Data Source:** `yandex_lb_network_load_balancer` +* **New Data Source:** `yandex_lb_target_group` +* **New Resource:** `yandex_lb_network_load_balancer` +* **New Resource:** `yandex_lb_target_group` + +ENHANCEMENTS: +* compute: use `min_disk_size` of image or `disk_size` of snapshot to set size of boot_disk on instance create. +* compute: update instance resource spec and platform type in one request. + +BUG FIXES: +* compute: change attribute `folder_id` from Required to Optional for `yandex_compute_instance_group` resource [[#14](https://github.com/terraform-providers/terraform-provider-yandex/issues/14)]. + +## 0.8.1 (July 04, 2019) +BUG FIXES: +* compute: fix `yandex_compute_instance_group` with `load_balancer_spec` defined [[#13](https://github.com/terraform-providers/terraform-provider-yandex/issues/13)]. + +## 0.8.0 (June 25, 2019) +FEATURES: +* **New Data Source**: `yandex_compute_instance_group` +* **New Resource**: `yandex_compute_instance_group` + +## 0.7.0 (June 06, 2019) +ENHANCEMENTS: +* provider: Support SDK retries. + +## 0.6.0 (May 29, 2019) +NOTES: +* provider: This release includes a Terraform SDK upgrade with compatibility for Terraform v0.12. +* provider: Switch dependency management to Go modules. ([#5](https://github.com/terraform-providers/terraform-provider-yandex/issues/5)) + +## 0.5.2 (April 24, 2019) +ENHANCEMENTS: +* compute: fractional values for memory for `yandex_compute_instance`. +* compute: `yandex_compute_instance` support update platform_id in stopped state. + +## 0.5.1 (April 20, 2019) +BUG FIXES: +* compute: fix migration process for `yandex_compute_instance`. + +## 0.5.0 (April 17, 2019) +ENHANCEMENTS: +* all: save new entity identifiers at start of create operation +* compute: `yandex_compute_instance` support update resources in stopped state. +* compute: change attribute `resources` type from Set to List + +## 0.4.1 (April 11, 2019) +BUG FIXES: +* compute: fix properties of `service_account_id` attribute. + +## 0.4.0 (April 09, 2019) +ENHANCEMENTS: +* compute: `yandex_compute_instance` adds a `service_account_id` attribute. + +## 0.3.0 (April 03, 2019) +FEATURES: +* **New Datasource**: `yandex_vpc_route_table` +* **New Resource**: `yandex_vpc_route_table` + +ENHANCEMENTS: +* vpc: `yandex_vpc_subnet` adds a `route_table_id` field. + +## 0.2.0 (March 26, 2019) +ENHANCEMENTS: +* provider: authentication with service account key file. ([#3](https://github.com/terraform-providers/terraform-provider-yandex/issues/3)) +* vpc: increase subnet create/update/delete timeout. +* vpc: resolve data source `network`, `subnet` by name. +* compute: resolve data source `instance`, `disk`, `image`, `snapshot` objects by names. +* resourcemanager: resolve data source `folder` by name. + +## 0.1.16 (March 14, 2019) +ENHANCEMENTS: +* compute: support preemptible instance type. + +BUG FIXES: +* compute: fix update method on compute resources for description attribute. + +## 0.1.15 (February 22, 2019) + +BACKWARDS INCOMPATIBILITIES: +* compute: `yandex_compute_disk.source_image_id` and `yandex_compute_disk.source_snapshot_id` has been removed. +* iam: `iam_service_account_key` was renamed to `iam_service_account_static_access_key`. + +ENHANCEMENTS: +* provider: more descriptive error messages. +* compute: `yandex_compute_disk` support for increasing size without force recreation of the resource. + +BUG FIXES: +* compute: make consistent disk type attribute name `type_id` -> `type`. +* compute: remove attr `instance_id` from `yandex_compute_instance`. +* compute: make `yandex_compute_instancenet.network_interface.*.nat` ForceNew. + +## 0.1.14 (December 26, 2018) + +FEATURES: +* **New Data Source:** `yandex_compute_disk` +* **New Data Source:** `yandex_compute_image` +* **New Data Source:** `yandex_compute_instance` +* **New Data Source:** `yandex_compute_snapshot` +* **New Data Source:** `yandex_iam_policy` +* **New Data Source:** `yandex_iam_role` +* **New Data Source:** `yandex_iam_service_account` +* **New Data Source:** `yandex_iam_user` +* **New Data Source:** `yandex_resourcemanager_cloud` +* **New Data Source:** `yandex_resourcemanager_folder` +* **New Data Source:** `yandex_vpc_network` +* **New Data Source:** `yandex_vpc_subnet` +* **New Resource:** `yandex_compute_disk` +* **New Resource:** `yandex_compute_image` +* **New Resource:** `yandex_compute_instance` +* **New Resource:** `yandex_compute_snapshot` +* **New Resource:** `yandex_iam_service_account` +* **New Resource:** `yandex_iam_service_account_iam_binding` +* **New Resource:** `yandex_iam_service_account_iam_member` +* **New Resource:** `yandex_iam_service_account_iam_policy` +* **New Resource:** `yandex_iam_service_account_key` +* **New Resource:** `yandex_vpc_network` +* **New Resource:** `yandex_vpc_subnet` +* **New Resource:** `yandex_resourcemanager_cloud_iam_binding` +* **New Resource:** `yandex_resourcemanager_cloud_iam_member` +* **New Resource:** `yandex_resourcemanager_folder_iam_binding` +* **New Resource:** `yandex_resourcemanager_folder_iam_member` +* **New Resource:** `yandex_resourcemanager_folder_iam_policy` + +ENHANCEMENTS: +* compute: support IPv6 addresses +* vpc: support IPv6 addresses diff --git a/.terraform/providers/registry.terraform.io/yandex-cloud/yandex/0.117.0/linux_amd64/LICENSE b/.terraform/providers/registry.terraform.io/yandex-cloud/yandex/0.117.0/linux_amd64/LICENSE new file mode 100644 index 00000000..a612ad98 --- /dev/null +++ b/.terraform/providers/registry.terraform.io/yandex-cloud/yandex/0.117.0/linux_amd64/LICENSE @@ -0,0 +1,373 @@ +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. diff --git a/.terraform/providers/registry.terraform.io/yandex-cloud/yandex/0.117.0/linux_amd64/README.md b/.terraform/providers/registry.terraform.io/yandex-cloud/yandex/0.117.0/linux_amd64/README.md new file mode 100644 index 00000000..feba4bf5 --- /dev/null +++ b/.terraform/providers/registry.terraform.io/yandex-cloud/yandex/0.117.0/linux_amd64/README.md @@ -0,0 +1,71 @@ +Terraform Provider +================== + +- Documentation: https://registry.terraform.io/providers/yandex-cloud/yandex/latest/docs + +Requirements +------------ + +- [Terraform](https://www.terraform.io/downloads.html) 0.12+ +- [Go](https://golang.org/doc/install) 1.20 (to build the provider plugin) + +Building The Provider +--------------------- + +Clone repository to: `$GOPATH/src/github.com/yandex-cloud/terraform-provider-yandex` + +```sh +$ mkdir -p $GOPATH/src/github.com/yandex-cloud; cd $GOPATH/src/github.com/yandex-cloud +$ git clone git@github.com:yandex-cloud/terraform-provider-yandex +``` + +Enter the provider directory and build the provider + +```sh +$ cd $GOPATH/src/github.com/yandex-cloud/terraform-provider-yandex +$ make build +``` + +Using the provider +---------------------- +If you're building the provider, follow the instructions to [install it as a plugin.](https://www.terraform.io/docs/plugins/basics.html#installing-plugins) After placing it into your plugins directory, run `terraform init` to initialize it. Documentation about the provider specific configuration options can be found on the [provider's website](https://registry.terraform.io/providers/yandex-cloud/yandex/latest/docs). +An example of using an installed provider from local directory: + +Write following config into `~/.terraformrc` +``` +provider_installation { + dev_overrides { + "yandex-cloud/yandex" = "/path/to/local/provider" + } + + direct {} + } +``` + +Developing the Provider +--------------------------- + +If you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.11+ is *required*). You'll also need to correctly setup a [GOPATH](http://golang.org/doc/code.html#GOPATH), as well as adding `$GOPATH/bin` to your `$PATH`. + +To compile the provider, run `make build`. This will build the provider and put the provider binary in the `$GOPATH/bin` directory. + +```sh +$ make build +... +$ $GOPATH/bin/terraform-provider-yandex +... +``` + +In order to test the provider, you can simply run `make test`. + +```sh +$ make test +``` + +In order to run the full suite of [Acceptance tests](https://www.terraform.io/docs/extend/testing/acceptance-tests/index.html), run `make testacc`. + +*Note:* Acceptance tests create real resources, and often cost money to run. + +```sh +$ make testacc +``` diff --git a/.terraform/providers/registry.terraform.io/yandex-cloud/yandex/0.117.0/linux_amd64/terraform-provider-yandex_v0.117.0 b/.terraform/providers/registry.terraform.io/yandex-cloud/yandex/0.117.0/linux_amd64/terraform-provider-yandex_v0.117.0 new file mode 100755 index 0000000000000000000000000000000000000000..4edc512ca34e491ef8cdb03196336bed5128e91f GIT binary patch literal 64327680 zcmeFadwf*Y)doDd3=EKP1_cQMGU%v@q9zEK5u+1G;0#PKDryAZHWo}{MMaoE1eAnH zAjk38s94)#Tddl<)!vYcmxN0a5H)}z7psVhdmO7#ECi_Jd!D_|OlFdRzVG*a|24l~ z=IpaCYp=cb+H0@1_T?-s^iN7oO0q@&l5JPp__liGBpKzk5?VU5*u1t}TW|dKx24#6 zAw3oU(R^Mj6n)lN<)TlUQvqZd{y(Xy_a`;43`C!^RkSVoWM2LeoLz>ZKVB=Ko}(_S zl{H46(fSxEVPvaxTlN-(ne}YwmzhjJ(Pw-)w$bK&E`<-9_g{(6shKj`S$BziM$29I zabUJAr((bL*J0(T8kBmw?V@kZ9?K9d7mN5m21pG4$8dIf6(p;_MvbuOrebX_>luCg z4+1PNiO9$peO0;gVJ|Z__UDR)RN!Ge6k!t+s{9iq$e$)g%evyDZpTY}{jQ>AvYe|( zm3RJzshxkW&Y%q4gWve_-orsz-g|hWd>+`ISiqI|YP+vXc~?V?s=uK?KD%V^hJWx| z%CBBrp3neS7l31}@-Z65_*C)j>T?ncSlt?n?A@jO>hCE&U;RB*-ld-x%gcZ(;mu|{ z1MfsIT7ScDoN~A|{H9e#Wq%YM!K$E3Jz~EZ2$7egv`trlOl=nWP z3V5H{E6cZ@mq5O5_)kQ6(jeMdQ8^TqPqUF0|CfkOe9C{r|E0ixDezwk{Feg%rNDnF z@Lvl2mjeH#!2gW`)G=?sKcACfpiIiSJ3BCA+FhPIuP?d0prR~r&%N_6yJh;gA5NN3 zGU@vH(|!5no>_Ai6jfe!?e`1IuA5Zw!?`oY+%WBi{M){N$JnCFZZFF&yuPI5&MWS` zQNL;4giCI^clH#UZ+w|^L9QPBEJHWuxShJmAEUtS(v4f)nPv526|8MN#E1|g#3zEITii&P~OnRyHj!+!Xsb}71T|4 zkI+Md9Ej45>25FL-$G->wKGycM|;PS-pLziAc8(({4B(w|4Z1fE-{L)rv34=`zCL2 zA&VGlrI#{Y7ilVe_D8*vNm-jX@q-kbSU|ub5Y`V!#o@sx(U+i6Ci$ma?72n4{N)6| z9LX}xD8o9-70<2Zt7&(}VE&dc&rO86=^MZd*+(rxn?mWA@PQhNb9P30>%j(>-m#Hg zX+8q@dZ@&yt(iMS59RtpUPo1BhApt)TXQ6EXVrLHMVW3a0iwVRT?pb3$GKvR!m(jc zpX3cgh~s${j+Lt20~L-h?{*|_7|iq(M38=qSrBcRtA~J&9sm#UE_cRcO1m<|-#T zJFnv7@EE-M%!x^Ae6(t2GXaJ2ocBrE48Q}-6@}lT1^RzOdQmMsAE$^cMUpk{VQ%jLLK&8&ro2$sqbSWaXaWFH~ zRjIcx-e&D}6#B^aJ3K5Lwj5$Db*ojjtt#6KGMoK|1-nxuv}Sv;6%6LxvIQQViaxqw z&qiFNzi#GTh=ABw*2~8E3tpWX{d_P11YSNhw?6U=*WbF}Jz;60Lts{e$5 zn2f5?!5H-@Kl~{~`OS$Zd>CF+nhTO0Y(m)tgy8g=VqTRz%}h%!GJVcz=0H5JcVTY8 zb7uB5(~akBw|AO33W2+dry+BZxwO=89J7LR{l*Cue6lF7an)SBd<;)Q_4MmC-e9wp&Elw5^)yq+UL zKa@<`M=sEfqabA;LcjTTQnmxHCw2n5j@PLC4YsFf=JypVR?d&IqWyLTL+N+(0ahFr z<-to{0}qz}Me^WvNDSu9kl2v@bMP*CFcSf>X%<^F+)W7P)DwE+2X?)=z#-*883GyP z>8l_J2IBvED1O86oaxfdF?cS>_M54WBGZdbNW;@t>_ST0t}Wz_aS0F62&L7?IeE{Vea88;7CEnwwDm# zNCE_ZAlD2Fq8H(7Er^oknh}vlh>rt=8XK1p;&KaOxf~XNSV@R)Hn8agm~H_qMYy9? zwH*wHQGtjy0e}S(ATfR)>0+z|SmPkWQ4p3j*EoKPC&5-qux#y553uDc9aV_O>u)9G zl@7^o93T+-704o*ZzHx};I)Rp*Wy)gPIVKUm-$+GrC;@!J)qQ(J$)hW{k|_rd>}_#cS>!T2A7|1|BO)5AL!IxBUFoJ(n!669#LGzV@1DrUV`{O9?_%xJelN|VuHhwt5cGc(17Mo9qm*=P}~94FHQS32<(KWI1pNQ2Bwu^o1~7i4)xizq*kOl5SylA zW9rNHX2b(ITi5t#4r!m>0^P<%-6n&&O@J?xJ95RUm1|omZASlJRx^ux?XHd7#fY#2Uxdf68!>rf+i*;k06uhB;gGzOhKa@HI znsPsf&+}!)bqqQEA&A8y&yI=-RC@bmP=|J86z1-z$dM64WW*3gpwj86#%QO7Y<#KY z=i-4>%C*}2pxUUGxzMsq+2v>tQRQn~L&JIT4Go`-f>COBe?EB1o>6(1XPm0%RC=51 z^cmV5r%!*-QL|Nhyy29Ud|UmYZ^8fD(pQ`wz3tzY4mHr&)298UueP$sMtocPiVS1V zDH{(Gw~ahKf^B_HpKk1J(;73()FG#+ME@27eQWx+5J>;FbYr6q0_vxtAj%{C6v%@< zu&YqG5rU)VCZ4*a;@@ve*Fz57)9)0W%lf}9-DuQz2z~vH)}KDIRUf%cheaS|M>tvE zaJluTkKC(|+@&Y&RVk@@(hhySX8o}ctjfku9gL>f2|HsUh^*8B!2?TsXbfkD(+v?n zbUZI4gmU2(QBke_%!@*F;pOsaT2Hv}bi9kcx-`Il2^DAqb!Ty`7zTKNu_2X(G@