Added create timeout for compute images and instances

- Prevents the corresponding terraform resource from timing out when the
  images or instances take longer than the default of 4 minutes to be
  created
This commit is contained in:
Aditya Anchuri 2016-11-12 18:01:32 -08:00
parent 824dbd3a18
commit 7053606e93
2 changed files with 6 additions and 0 deletions

View File

@ -53,6 +53,9 @@ The following arguments are supported: (Note that one of either source_disk or
Changing this forces a new resource to be created. Structure is documented
below.
* `create_timeout` - Configurable timeout in minutes for creating images. Default is 4 minutes.
Changing this forces a new resource to be created.
The `raw_disk` block supports:
* `source` - (Required) The full Google Cloud Storage URL where the disk

View File

@ -105,6 +105,9 @@ The following arguments are supported:
* `tags` - (Optional) Tags to attach to the instance.
* `create_timeout` - (Optional) Configurable timeout in minutes for creating instances. Default is 4 minutes.
Changing this forces a new resource to be created.
The `disk` block supports: (Note that either disk or image is required, unless
the type is "local-ssd", in which case scratch must be true).