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-beta/services/cloudrunv2/resource_cloud_run_v2_service.go
+58Lines changed: 58 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -971,11 +971,22 @@ For example, if ALPHA is provided as input, but only BETA and GA-level features
971
971
MaxItems: 1,
972
972
Elem: &schema.Resource{
973
973
Schema: map[string]*schema.Schema{
974
+
"manual_instance_count": {
975
+
Type: schema.TypeInt,
976
+
Optional: true,
977
+
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.`,
978
+
},
974
979
"min_instance_count": {
975
980
Type: schema.TypeInt,
976
981
Optional: true,
977
982
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"]`,
989
+
},
979
990
},
980
991
},
981
992
},
@@ -2013,6 +2024,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
Display the source diff
Display the rich diff
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