Skip to content

Commit 5ca9b4a

Browse files
enhancement: set hcloud_machine timeout to 10m
1 parent bb496b2 commit 5ca9b4a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

servers.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ resource "hcloud_server" "github_runner" {
5555
"su github-runner -c 'export CUSTOM_HOSTNAME=${self.name}; export GH_USERNAME=${var.github_authentication_user}; export GH_TOKEN=${var.github_authentication_token}; export GH_OWNER=${var.github_owner}; export GH_NAME=${var.github_repository_name}; export GH_LABELS=${var.github_actions_runner_labels}; export GH_REPLACE_RUNNERS=${var.github_actions_runner_replace_existing}; export GH_RUNNER_TYPE=${var.github_runner_type}; /srv/setup-runner.sh'"
5656
]
5757
}
58+
59+
timeouts {
60+
create = "10m"
61+
}
5862
}
5963

6064
resource "null_resource" "deprovision" {

0 commit comments

Comments
 (0)