Skip to content

Commit 4d55b82

Browse files
shortname removed from the resource_policies description (#6516) (#4683)
Signed-off-by: Modular Magician <[email protected]> Signed-off-by: Modular Magician <[email protected]>
1 parent 2ddc347 commit 4d55b82

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.changelog/6516.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
```release-note:enhancement
2+
google_compute_instance: removed shortname from the description of attribute resource_policies
3+
4+
```

google-beta/resource_compute_instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ func resourceComputeInstance() *schema.Resource {
846846
DiffSuppressFunc: compareSelfLinkRelativePaths,
847847
Optional: true,
848848
MaxItems: 1,
849-
Description: `A list of short names or self_links of resource policies to attach to the instance. Currently a max of 1 resource policy is supported.`,
849+
Description: `A list of self_links of resource policies to attach to the instance. Currently a max of 1 resource policy is supported.`,
850850
},
851851

852852
"reservation_affinity": {

website/docs/r/compute_instance.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ is desired, you will need to modify your state file manually using
167167
* `enable_display` - (Optional) Enable [Virtual Displays](https://cloud.google.com/compute/docs/instances/enable-instance-virtual-display#verify_display_driver) on this instance.
168168
**Note**: [`allow_stopping_for_update`](#allow_stopping_for_update) must be set to true or your instance must have a `desired_status` of `TERMINATED` in order to update this field.
169169

170-
* `resource_policies` (Optional) -- A list of short names or self_links of resource policies to attach to the instance. Modifying this list will cause the instance to recreate. Currently a max of 1 resource policy is supported.
170+
* `resource_policies` (Optional) -- A list of self_links of resource policies to attach to the instance. Modifying this list will cause the instance to recreate. Currently a max of 1 resource policy is supported.
171171

172172
* `reservation_affinity` - (Optional) Specifies the reservations that this instance can consume from.
173173
Structure is [documented below](#nested_reservation_affinity).

0 commit comments

Comments
 (0)