Skip to content

Commit d637840

Browse files
committed
Increase default timeouts for CH
1 parent 6617f8c commit d637840

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

docs/resources/container_host.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ resource "hsdp_container_host" "zahadoom" {
2626
script_path = "/home/${var.user}/bootstrap.bash"
2727
}
2828
29+
tags {
30+
"created_by" = "terraform"
31+
}
32+
2933
provisioner "remote-exec" {
3034
inline = [
3135
"ifconfig",
@@ -51,7 +55,7 @@ The following arguments are supported:
5155
* `volume_size` - (Optional) Volume size in GB.
5256
* `security_groups` - (Optional) list(string) of Security groups to attach. Default `[]`
5357
* `user_groups` - (Optional) list(string) of User groups to attach. Default `[]`
54-
58+
* `tags` - (Optional) Map of tags to assign to the instances
5559

5660
## Attributes Reference
5761

hsdp/resource_container_host.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ func resourceContainerHost() *schema.Resource {
4040
Delete: resourceContainerHostDelete,
4141

4242
Timeouts: &schema.ResourceTimeout{
43-
Create: schema.DefaultTimeout(12 * time.Minute),
44-
Update: schema.DefaultTimeout(12 * time.Minute),
45-
Delete: schema.DefaultTimeout(22 * time.Minute),
43+
Create: schema.DefaultTimeout(30 * time.Minute),
44+
Update: schema.DefaultTimeout(15 * time.Minute),
45+
Delete: schema.DefaultTimeout(30 * time.Minute),
4646
},
4747

4848
Schema: map[string]*schema.Schema{

0 commit comments

Comments
 (0)