Skip to content

Commit

Permalink
add comment about resource_policies_attachment to disk (#3645)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilymye authored Jun 16, 2020
1 parent 45926cb commit 3c6e6c9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions products/compute/terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,14 @@ overrides: !ruby/object:Overrides::ResourceOverrides
default_from_api: true
resourcePolicies: !ruby/object:Overrides::Terraform::PropertyOverride
default_from_api: true
description: |
{{description}}
~>**NOTE** This value does not support updating the
resource policy, as resource policies can not be updated more than
one at a time. Use
[`google_compute_disk_resource_policy_attachment`](https://www.terraform.io/docs/providers/google/r/compute_disk_resource_policy_attachment.html)
to allow for updating the resource policy attached to the disk.
custom_code: !ruby/object:Provider::Terraform::CustomCode
pre_delete: templates/terraform/pre_delete/detach_disk.erb
constants: templates/terraform/constants/disk.erb
Expand Down

0 comments on commit 3c6e6c9

Please sign in to comment.