File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments