Skip to content

Commit ac853db

Browse files
committed
fix: increase default timeout to 20 minutes
1 parent fdb2a09 commit ac853db

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.web-docs/components/builder/upcloud/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ The upcloud builder is used to generate storage templates on UpCloud.
5555
- `storage_tier` (string) - The storage tier to use. Available options are `maxiops`, `archive`, and `standard`. Defaults to `maxiops`.
5656
For most production workloads, MaxIOPS is recommended for best performance.
5757

58-
- `state_timeout_duration` (duration string | ex: "1h5m2s") - The amount of time to wait for resource state changes. Defaults to `5m`.
58+
- `state_timeout_duration` (duration string | ex: "1h5m2s") - The amount of time to wait for resource state changes. Defaults to `20m`.
5959

6060
- `boot_wait` (duration string | ex: "1h5m2s") - The amount of time to wait after booting the server. Defaults to '0s'
6161

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ See updating [Changelog example here](https://keepachangelog.com/en/1.0.0/)
55

66
## [Unreleased]
77

8+
### Changed
9+
10+
- Increase default timeout to `20m`.
11+
812
## [1.9.1] - 2025-08-29
913

1014
### Fixed

builder/upcloud/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const (
2626
DefaultSSHUsername = "root"
2727
DefaultCommunicator = "ssh"
2828
DefaultStorageSize = 25
29-
DefaultTimeout = 5 * time.Minute
29+
DefaultTimeout = 20 * time.Minute
3030
DefaultStorageTier = upcloud.StorageTierMaxIOPS
3131
InterfaceTypePublic InterfaceType = upcloud.IPAddressAccessPublic
3232
InterfaceTypeUtility InterfaceType = upcloud.IPAddressAccessUtility
@@ -103,7 +103,7 @@ type Config struct {
103103
// For most production workloads, MaxIOPS is recommended for best performance.
104104
StorageTier string `mapstructure:"storage_tier"`
105105

106-
// The amount of time to wait for resource state changes. Defaults to `5m`.
106+
// The amount of time to wait for resource state changes. Defaults to `20m`.
107107
Timeout time.Duration `mapstructure:"state_timeout_duration"`
108108

109109
// The amount of time to wait after booting the server. Defaults to '0s'

docs-partials/builder/upcloud/Config-not-required.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
- `storage_tier` (string) - The storage tier to use. Available options are `maxiops`, `archive`, and `standard`. Defaults to `maxiops`.
2626
For most production workloads, MaxIOPS is recommended for best performance.
2727

28-
- `state_timeout_duration` (duration string | ex: "1h5m2s") - The amount of time to wait for resource state changes. Defaults to `5m`.
28+
- `state_timeout_duration` (duration string | ex: "1h5m2s") - The amount of time to wait for resource state changes. Defaults to `20m`.
2929

3030
- `boot_wait` (duration string | ex: "1h5m2s") - The amount of time to wait after booting the server. Defaults to '0s'
3131

0 commit comments

Comments
 (0)