Skip to content

Commit 3f3907d

Browse files
Promote field compute_instance.scheduling.min_node_cpus and related fields to ga (#4593) (#3059)
Signed-off-by: Modular Magician <[email protected]>
1 parent 1176430 commit 3f3907d

23 files changed

+52
-40
lines changed

.changelog/4593.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
```release-note:enhancement
2+
compute: promoted field `server_binding` and `cpu_overcommit_type` fields on `google_node_template` to ga
3+
compute: promoted field `scheduling.min_node_cpus` field on `google_compute_instance` to ga
4+
compute: documented field `scheduling.min_node_cpus` field on `google_compute_instance`
5+
```

google-beta/resource_compute_backend_bucket.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The possible values are: USE_ORIGIN_HEADERS, FORCE_CACHE_ALL and CACHE_ALL_STATI
8585
"default_ttl": {
8686
Type: schema.TypeInt,
8787
Optional: true,
88-
Description: `Specifies the default TTL for cached content served by this origin for responses
88+
Description: `Specifies the default TTL for cached content served by this origin for responses
8989
that do not have an existing valid TTL (max-age or s-max-age).`,
9090
},
9191
"max_ttl": {

google-beta/resource_compute_backend_service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ The possible values are: USE_ORIGIN_HEADERS, FORCE_CACHE_ALL and CACHE_ALL_STATI
306306
"default_ttl": {
307307
Type: schema.TypeInt,
308308
Optional: true,
309-
Description: `Specifies the default TTL for cached content served by this origin for responses
309+
Description: `Specifies the default TTL for cached content served by this origin for responses
310310
that do not have an existing valid TTL (max-age or s-max-age).`,
311311
},
312312
"max_ttl": {

google-beta/resource_compute_disk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ See https://cloud.google.com/compute/docs/disks/customer-managed-encryption#encr
495495
Type: schema.TypeString,
496496
Optional: true,
497497
ForceNew: true,
498-
Description: `The service account used for the encryption request for the given KMS key.
498+
Description: `The service account used for the encryption request for the given KMS key.
499499
If absent, the Compute Engine Service Agent service account is used.`,
500500
},
501501
"raw_key": {

google-beta/resource_compute_health_check.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ you create the resource.`,
166166
"grpc_service_name": {
167167
Type: schema.TypeString,
168168
Optional: true,
169-
Description: `The gRPC service name for the health check.
169+
Description: `The gRPC service name for the health check.
170170
The value of grpcServiceName has the following meanings by convention:
171171
- Empty serviceName means the overall status of all services at the backend.
172172
- Non-empty serviceName means the health of that gRPC service, as defined by the owner of the service.
@@ -176,8 +176,8 @@ The grpcServiceName can only be ASCII.`,
176176
"port": {
177177
Type: schema.TypeInt,
178178
Optional: true,
179-
Description: `The port number for the health check request.
180-
Must be specified if portName and portSpecification are not set
179+
Description: `The port number for the health check request.
180+
Must be specified if portName and portSpecification are not set
181181
or if port_specification is USE_FIXED_PORT. Valid values are 1 through 65535.`,
182182
AtLeastOneOf: []string{"grpc_health_check.0.port", "grpc_health_check.0.port_name", "grpc_health_check.0.port_specification", "grpc_health_check.0.grpc_service_name"},
183183
},

google-beta/resource_compute_instance.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//
21
package google
32

43
import (

google-beta/resource_compute_instance_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//
21
package google
32

43
import (

google-beta/resource_compute_machine_image.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ instance from the image)`,
8181
Type: schema.TypeString,
8282
Optional: true,
8383
ForceNew: true,
84-
Description: `The service account used for the encryption request for the given KMS key.
84+
Description: `The service account used for the encryption request for the given KMS key.
8585
If absent, the Compute Engine Service Agent service account is used.`,
8686
},
8787
"raw_key": {

google-beta/resource_compute_node_template_generated_test.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func TestAccComputeNodeTemplate_nodeTemplateServerBindingExample(t *testing.T) {
7070

7171
vcrTest(t, resource.TestCase{
7272
PreCheck: func() { testAccPreCheck(t) },
73-
Providers: testAccProvidersOiCS,
73+
Providers: testAccProviders,
7474
ExternalProviders: map[string]resource.ExternalProvider{
7575
"random": {},
7676
},
@@ -79,6 +79,12 @@ func TestAccComputeNodeTemplate_nodeTemplateServerBindingExample(t *testing.T) {
7979
{
8080
Config: testAccComputeNodeTemplate_nodeTemplateServerBindingExample(context),
8181
},
82+
{
83+
ResourceName: "google_compute_node_template.template",
84+
ImportState: true,
85+
ImportStateVerify: true,
86+
ImportStateVerifyIgnore: []string{"region"},
87+
},
8288
},
8389
})
8490
}

google-beta/resource_compute_region_backend_service.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ The possible values are: USE_ORIGIN_HEADERS, FORCE_CACHE_ALL and CACHE_ALL_STATI
254254
"default_ttl": {
255255
Type: schema.TypeInt,
256256
Optional: true,
257-
Description: `Specifies the default TTL for cached content served by this origin for responses
257+
Description: `Specifies the default TTL for cached content served by this origin for responses
258258
that do not have an existing valid TTL (max-age or s-max-age).`,
259259
},
260260
"max_ttl": {
@@ -549,7 +549,7 @@ This field is only used with l4 load balancing.`,
549549
Optional: true,
550550
Description: `The set of URLs to HealthCheck resources for health checking
551551
this RegionBackendService. Currently at most one health
552-
check can be specified.
552+
check can be specified.
553553
554554
A health check must be specified unless the backend service uses an internet
555555
or serverless NEG as a backend.`,

0 commit comments

Comments
 (0)