Skip to content

Commit b6f4c1e

Browse files
committed
doc: guide increase timeouts
1 parent c61b406 commit b6f4c1e

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

docs/guides/increase-resources-timeout.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ When deploying resources with the Scaleway Terraform provider, operations like c
77
Most Scaleway Terraform resources support a timeouts block where you can specify how long Terraform should wait for each operation.
88

99
#### Timeout keywords supported
10+
1011
- `create` — Timeout duration for creating the resource.
1112
- `update` — Timeout duration for updating the resource.
1213
- `delete` — Timeout duration for deleting the resource.
@@ -40,10 +41,18 @@ resource "scaleway_k8s_pool" "pool" {
4041
4142
```
4243

43-
### Example: Using the default Timeout
44+
### Example: Using the default Timeout
4445

4546
```terraform
46-
47+
resource "scaleway_object_bucket" "test" {
48+
name = "this-is-a-test"
49+
tags = {
50+
TestName = "TestAccSCW_WebsiteConfig_basic"
51+
}
52+
timeouts {
53+
default = "5m"
54+
}
55+
}
4756
```
4857

4958
If both default and one of create, update, or delete are set, the specific key overrides the default value.

0 commit comments

Comments
 (0)