Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make vm_count in google_compute_resource_policy as optional #12807

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/6694.txt
@@ -0,0 +1,3 @@
```release-note:bug
compute: Made `vm_count` in `google_compute_resource_policy` optional
```
2 changes: 0 additions & 2 deletions google/resource_compute_resource_policy.go
Expand Up @@ -71,7 +71,6 @@ which cannot be a dash.`,
ForceNew: true,
Description: `The number of availability domains instances will be spread across. If two instances are in different
availability domain, they will not be put in the same low latency network`,
AtLeastOneOf: []string{"group_placement_policy.0.vm_count", "group_placement_policy.0.availability_domain_count"},
},
"collocation": {
Type: schema.TypeString,
Expand All @@ -90,7 +89,6 @@ attached. Possible values: ["COLLOCATED"]`,
Description: `Number of VMs in this placement group. Google does not recommend that you use this field
unless you use a compact policy and you want your policy to work only if it contains this
exact number of VMs.`,
AtLeastOneOf: []string{"group_placement_policy.0.vm_count", "group_placement_policy.0.availability_domain_count"},
},
},
},
Expand Down