From 8b971b39be6d121d7b5ff0227c69ef5648aa4c28 Mon Sep 17 00:00:00 2001 From: Denis Volkov Date: Mon, 20 Nov 2023 06:15:56 +0000 Subject: [PATCH] Pull request #1032: add mongodb create timeout Merge in CLOUD/terraform-provider-yandex-mirror from add-create-timeout-to-mongodb to master Squashed commit of the following: commit 0823db806a0cc8a6167b8252e8b1a12e92627ce9 Author: denchick Date: Tue Nov 14 10:29:05 2023 +0500 update CHANGELOG commit 6dd12dcfaf3c372d72ccc46563e6125f48bd16ec Author: denchick Date: Sun Nov 12 18:43:45 2023 +0500 add mongodb create timeout --- CHANGELOG.md | 7 ++----- yandex/resource_yandex_mdb_mongodb_cluster.go | 1 + 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f40fbb3f8..0059997b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,9 @@ FEATURES: * **New Data Source:** `yandex_mdb_opensearch_cluster` * **New Resource:** `yandex_mdb_opensearch_cluster` - -FEATURES: * yandex_ydb_database: added the ability to change networks +* serverless: `log_group` trigger is deprecated. Use `logging` trigger instead. +* mongodb: add create cluster timeout ENHANCEMENTS: * managed-kubernetes: support update of `master.master_locations` section for `yandex_kubernetes_cluster` @@ -13,9 +13,6 @@ BUG FIXES: * yandex_ydb_database: Add additional wait duration after database was created * yandex_ydb_topic: Fix consumer type in tf scheme -FEATURES: -* serverless: `log_group` trigger is deprecated. Use `logging` trigger instead. - ## 0.102.0 (November 8, 2023) FEATURES: diff --git a/yandex/resource_yandex_mdb_mongodb_cluster.go b/yandex/resource_yandex_mdb_mongodb_cluster.go index 5f6aed92d..e137686ed 100644 --- a/yandex/resource_yandex_mdb_mongodb_cluster.go +++ b/yandex/resource_yandex_mdb_mongodb_cluster.go @@ -27,6 +27,7 @@ func resourceYandexMDBMongodbCluster() *schema.Resource { }, Timeouts: &schema.ResourceTimeout{ + Create: schema.DefaultTimeout(30 * time.Minute), Update: schema.DefaultTimeout(60 * time.Minute), Default: schema.DefaultTimeout(30 * time.Minute), },