Skip to content

Commit

Permalink
Deprecate the enable_display field in InstanceTemplate GA (#5285)
Browse files Browse the repository at this point in the history
  • Loading branch information
rileykarson authored Oct 7, 2021
1 parent 20813a9 commit 926a031
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,9 @@ func resourceComputeInstanceTemplate() *schema.Resource {
Type: schema.TypeBool,
Optional: true,
ForceNew: true,
<% if version == 'ga' -%>
Deprecated: "This attribute is currently in beta and will be removed from the google provider. Please use the google-beta provider to continue using this attribute.",
<% end -%>
Description: `Enable Virtual Displays on this instance. Note: allow_stopping_for_update must be set to true in order to update this field.`,
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,13 @@ This field was incorrectly included in the GA `google` provider in past releases
In order to continue to use the feature, add `provider = google-beta` to your
resource definition.

## Resource: `google_compute_instance_template`

### `enable_display` is removed from the GA provider

This field was incorrectly included in the GA `google` provider in past releases.
In order to continue to use the feature, add `provider = google-beta` to your
resource definition.

## Resource: `google_container_cluster`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,8 @@ The following arguments are supported:
* `shielded_instance_config` - (Optional) Enable [Shielded VM](https://cloud.google.com/security/shielded-cloud/shielded-vm) on this instance. Shielded VM provides verifiable integrity to prevent against malware and rootkits. Defaults to disabled. Structure is documented below.
**Note**: [`shielded_instance_config`](#shielded_instance_config) can only be used with boot images with shielded vm support. See the complete list [here](https://cloud.google.com/compute/docs/images#shielded-images).

* `enable_display` - (Optional) Enable [Virtual Displays](https://cloud.google.com/compute/docs/instances/enable-instance-virtual-display#verify_display_driver) on this instance.
**Note**: [`allow_stopping_for_update`](#allow_stopping_for_update) must be set to true in order to update this field.
* `enable_display` - (Optional)) Enable [Virtual Displays](https://cloud.google.com/compute/docs/instances/enable-instance-virtual-display#verify_display_driver) on this instance.
**Note**: [`allow_stopping_for_update`](#allow_stopping_for_update) must be set to true in order to update this field. Note: This attribute is currently in beta and will be removed from the google provider. Please use the google-beta provider to continue using this attribute.

* `confidential_instance_config` (Optional) - Enable [Confidential Mode](https://cloud.google.com/compute/confidential-vm/docs/about-cvm) on this VM.

Expand Down

0 comments on commit 926a031

Please sign in to comment.