Note version is required for beta IGM version (#3047)

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2019-02-15 14:25:03 -08:00 committed by emily
parent 6465592a40
commit c5df1527ae
4 changed files with 8 additions and 8 deletions

View File

@ -33,7 +33,7 @@ func resourceComputeInstanceGroupManager() *schema.Resource {
"instance_template": {
Type: schema.TypeString,
Optional: true,
Required: true,
DiffSuppressFunc: compareSelfLinkRelativePaths,
},

View File

@ -44,7 +44,7 @@ func resourceComputeRegionInstanceGroupManager() *schema.Resource {
"instance_template": {
Type: schema.TypeString,
Optional: true,
Required: true,
DiffSuppressFunc: compareSelfLinkRelativePaths,
},

View File

@ -89,11 +89,11 @@ The following arguments are supported:
appending a hyphen and a random four-character string to the base instance
name.
* `instance_template` - (Optional) The full URL to an instance template from
which all new instances will be created. This field is only present in the
`google` provider.
* `instance_template` - (Required, [GA](https://terraform.io/docs/providers/google/provider_versions.html)) The
full URL to an instance template from which all new instances
will be created. This field is only present in the `google` provider.
* `version` - (Optional, [Beta](https://terraform.io/docs/providers/google/provider_versions.html)) Application versions managed by this instance group. Each
* `version` - (Required, [Beta](https://terraform.io/docs/providers/google/provider_versions.html)) Application versions managed by this instance group. Each
version deals with a specific instance template, allowing canary release scenarios.
Structure is documented below.

View File

@ -90,11 +90,11 @@ The following arguments are supported:
appending a hyphen and a random four-character string to the base instance
name.
* `instance_template` - (Optional) The full URL to an instance template from
* `instance_template` - (Required, [GA](https://terraform.io/docs/providers/google/provider_versions.html)) The full URL to an instance template from
which all new instances will be created. This field is only present in the
`google` provider.
* `version` - (Optional, [Beta](https://terraform.io/docs/providers/google/provider_versions.html)) Application versions managed by this instance group. Each
* `version` - (Required, [Beta](https://terraform.io/docs/providers/google/provider_versions.html)) Application versions managed by this instance group. Each
version deals with a specific instance template, allowing canary release scenarios.
Structure is documented below.