Skip to content

Commit

Permalink
Promote max-distance field on ResourcePolicy to GA
Browse files Browse the repository at this point in the history
  • Loading branch information
kubalaguna committed Oct 13, 2023
1 parent 7c38fe4 commit c854bc0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions mmv1/products/compute/ResourcePolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ examples:
name: 'gce-policy'
- !ruby/object:Provider::Terraform::Examples
name: 'resource_policy_placement_policy_max_distance'
min_version: 'beta'
primary_resource_id: 'baz'
vars:
name: 'gce-policy'
Expand Down Expand Up @@ -294,7 +293,6 @@ properties:
- :COLLOCATED
- !ruby/object:Api::Type::Integer
name: 'maxDistance'
min_version: 'beta'
description: |
Specifies the number of max logical switches.
- !ruby/object:Api::Type::NestedObject
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
resource "google_compute_resource_policy" "baz" {
name = "<%= ctx[:vars]['name'] %>"
region = "us-central1"
provider = google-beta
provider = google
group_placement_policy {
vm_count = 2
collocation = "COLLOCATED"
Expand Down

0 comments on commit c854bc0

Please sign in to comment.