You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: google/services/cloudrunv2/resource_cloud_run_v2_service.go
+58Lines changed: 58 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -937,11 +937,22 @@ For example, if ALPHA is provided as input, but only BETA and GA-level features
937
937
MaxItems: 1,
938
938
Elem: &schema.Resource{
939
939
Schema: map[string]*schema.Schema{
940
+
"manual_instance_count": {
941
+
Type: schema.TypeInt,
942
+
Optional: true,
943
+
Description: `Total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.`,
944
+
},
940
945
"min_instance_count": {
941
946
Type: schema.TypeInt,
942
947
Optional: true,
943
948
Description: `Minimum number of instances for the service, to be divided among all revisions receiving traffic.`,
Description: `The [scaling mode](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#scalingmode) for the service. Possible values: ["AUTOMATIC", "MANUAL"]`,
955
+
},
945
956
},
946
957
},
947
958
},
@@ -1949,6 +1960,10 @@ func flattenCloudRunV2ServiceScaling(v interface{}, d *schema.ResourceData, conf
Copy file name to clipboardExpand all lines: website/docs/r/cloud_run_v2_service.html.markdown
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1378,6 +1378,15 @@ When the field is set to false, deleting the service is allowed.
1378
1378
(Optional)
1379
1379
Minimum number of instances for the service, to be divided among all revisions receiving traffic.
1380
1380
1381
+
*`scaling_mode` -
1382
+
(Optional)
1383
+
The [scaling mode](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#scalingmode) for the service.
1384
+
Possible values are: `AUTOMATIC`, `MANUAL`.
1385
+
1386
+
*`manual_instance_count` -
1387
+
(Optional)
1388
+
Total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
0 commit comments