You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
timeoutMethods=append(timeoutMethods, fmt.Sprintf("* `create` - (Defaults to `%s`) Used when creating the resource.", timeoutStr))
180
+
}
181
+
182
+
ifresource.Timeouts.Read!=nil {
183
+
timeoutStr:=resource.Timeouts.Read.String()
184
+
ifstrings.Contains(timeoutStr, "m") {
185
+
parts:=strings.Split(timeoutStr, "m")
186
+
iflen(parts) >0 {
187
+
timeoutStr=parts[0] +"m"
188
+
}
189
+
}
190
+
191
+
timeoutMethods=append(timeoutMethods, fmt.Sprintf("* `read` - (Defaults to `%s`) Used when reading the resource.", timeoutStr))
192
+
}
193
+
194
+
ifresource.Timeouts.Update!=nil {
195
+
timeoutStr:=resource.Timeouts.Update.String()
196
+
ifstrings.Contains(timeoutStr, "m") {
197
+
parts:=strings.Split(timeoutStr, "m")
198
+
iflen(parts) >0 {
199
+
timeoutStr=parts[0] +"m"
200
+
}
201
+
}
202
+
203
+
timeoutMethods=append(timeoutMethods, fmt.Sprintf("* `update` - (Defaults to `%s`) Used when updating the resource.", timeoutStr))
204
+
}
205
+
206
+
ifresource.Timeouts.Delete!=nil {
207
+
timeoutStr:=resource.Timeouts.Delete.String()
208
+
ifstrings.Contains(timeoutStr, "m") {
209
+
parts:=strings.Split(timeoutStr, "m")
210
+
iflen(parts) >0 {
211
+
timeoutStr=parts[0] +"m"
212
+
}
213
+
}
214
+
215
+
timeoutMethods=append(timeoutMethods, fmt.Sprintf("* `delete` - (Defaults to `%s`) Used when deleting the resource.", timeoutStr))
216
+
}
217
+
218
+
iflen(timeoutMethods) >0 {
219
+
data["timeouts"] =strings.TrimSpace(fmt.Sprintf("The `timeouts` block allows you to specify [timeouts](https://developer.hashicorp.com/terraform/language/resources/syntax#operation-timeouts) for certain actions:\n\n%s", strings.Join(timeoutMethods, "\n")))
Copy file name to clipboardExpand all lines: website/docs/r/as_start_instance_refresh.html.markdown
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,4 +62,9 @@ In addition to all arguments above, the following attributes are exported:
62
62
*`id` - ID of the resource.
63
63
64
64
65
+
## Timeouts
66
+
67
+
The `timeouts` block allows you to specify [timeouts](https://developer.hashicorp.com/terraform/language/resources/syntax#operation-timeouts) for certain actions:
68
+
69
+
*`create` - (Defaults to `5m`) Used when creating the resource.
Copy file name to clipboardExpand all lines: website/docs/r/cynosdb_cluster_slave_zone.html.markdown
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,6 +131,13 @@ In addition to all arguments above, the following attributes are exported:
131
131
*`id` - ID of the resource.
132
132
133
133
134
+
## Timeouts
135
+
136
+
The `timeouts` block allows you to specify [timeouts](https://developer.hashicorp.com/terraform/language/resources/syntax#operation-timeouts) for certain actions:
137
+
138
+
*`create` - (Defaults to `5m`) Used when creating the resource.
139
+
*`update` - (Defaults to `5m`) Used when updating the resource.
140
+
*`delete` - (Defaults to `5m`) Used when deleting the resource.
Copy file name to clipboardExpand all lines: website/docs/r/instance.html.markdown
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -409,6 +409,11 @@ In addition to all arguments above, the following attributes are exported:
409
409
*`public_ipv6_addresses` - The public IPv6 address to which the instance is bound.
410
410
*`uuid` - Globally unique ID of the instance.
411
411
412
+
## Timeouts
413
+
414
+
The `timeouts` block allows you to specify [timeouts](https://developer.hashicorp.com/terraform/language/resources/syntax#operation-timeouts) for certain actions:
415
+
416
+
*`create` - (Defaults to `15m`) Used when creating the resource.
Copy file name to clipboardExpand all lines: website/docs/r/instance_set.html.markdown
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,4 +118,12 @@ In addition to all arguments above, the following attributes are exported:
118
118
*`instance_status` - Current status of the instance.
119
119
*`public_ip` - Public IP of the instance.
120
120
121
+
## Timeouts
122
+
123
+
The `timeouts` block allows you to specify [timeouts](https://developer.hashicorp.com/terraform/language/resources/syntax#operation-timeouts) for certain actions:
124
+
125
+
*`create` - (Defaults to `10m`) Used when creating the resource.
126
+
*`read` - (Defaults to `10m`) Used when reading the resource.
127
+
*`update` - (Defaults to `10m`) Used when updating the resource.
128
+
*`delete` - (Defaults to `10m`) Used when deleting the resource.
Copy file name to clipboardExpand all lines: website/docs/r/kubernetes_addon.html.markdown
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,13 @@ In addition to all arguments above, the following attributes are exported:
54
54
*`phase` - Status of addon.
55
55
*`reason` - Reason of addon failed.
56
56
57
+
## Timeouts
58
+
59
+
The `timeouts` block allows you to specify [timeouts](https://developer.hashicorp.com/terraform/language/resources/syntax#operation-timeouts) for certain actions:
60
+
61
+
*`create` - (Defaults to `3m`) Used when creating the resource.
62
+
*`update` - (Defaults to `3m`) Used when updating the resource.
63
+
*`delete` - (Defaults to `3m`) Used when deleting the resource.
Copy file name to clipboardExpand all lines: website/docs/r/kubernetes_node_pool.html.markdown
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -461,6 +461,12 @@ In addition to all arguments above, the following attributes are exported:
461
461
*`node_count` - The total node count.
462
462
*`status` - Status of the node pool.
463
463
464
+
## Timeouts
465
+
466
+
The `timeouts` block allows you to specify [timeouts](https://developer.hashicorp.com/terraform/language/resources/syntax#operation-timeouts) for certain actions:
467
+
468
+
*`create` - (Defaults to `30m`) Used when creating the resource.
469
+
*`update` - (Defaults to `30m`) Used when updating the resource.
Copy file name to clipboardExpand all lines: website/docs/r/mongodb_instance_backup.html.markdown
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,4 +36,9 @@ In addition to all arguments above, the following attributes are exported:
36
36
*`id` - ID of the resource.
37
37
38
38
39
+
## Timeouts
40
+
41
+
The `timeouts` block allows you to specify [timeouts](https://developer.hashicorp.com/terraform/language/resources/syntax#operation-timeouts) for certain actions:
42
+
43
+
*`create` - (Defaults to `3m`) Used when creating the resource.
0 commit comments