Skip to content

Commit fc63160

Browse files
add timeout attr in config (#3202)
1 parent 8a13fc2 commit fc63160

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

docs/resources/cloud_backup_snapshot.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ resource "mongodbatlas_cloud_backup_snapshot" "test" {
3434
cluster_name = mongodbatlas_advanced_cluster.my_cluster.name
3535
description = "myDescription"
3636
retention_in_days = 1
37+
38+
timeouts { // optional
39+
create = "1h15m"
40+
}
3741
}
3842
3943
resource "mongodbatlas_cloud_backup_snapshot_restore_job" "test" {

examples/mongodbatlas_cloud_provider_snapshot_restore_job/point-in-time-advanced-cluster/main.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ resource "mongodbatlas_cloud_backup_snapshot" "test" {
3535
cluster_name = mongodbatlas_advanced_cluster.advanced_cluster_test.name
3636
description = "My description"
3737
retention_in_days = "1"
38+
timeouts { // optional
39+
create = "1h15m"
40+
}
3841
}
3942

4043
resource "mongodbatlas_cloud_backup_snapshot_restore_job" "test" {

examples/mongodbatlas_cloud_provider_snapshot_restore_job/point-in-time/main.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ resource "mongodbatlas_cloud_backup_snapshot" "test" {
3232
cluster_name = mongodbatlas_advanced_cluster.cluster_test.name
3333
description = "My description"
3434
retention_in_days = "1"
35+
timeouts { // optional
36+
create = "1h15m"
37+
}
3538
}
3639

3740
resource "mongodbatlas_cloud_backup_snapshot_restore_job" "test" {

0 commit comments

Comments
 (0)