@hiiretail/gcp-infra-cli 0.95.4 → 0.96.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -469,13 +469,13 @@ cloud_run:
|
|
|
469
469
|
condition_threshold:
|
|
470
470
|
filter: |
|
|
471
471
|
resource.type="cloud_run_revision"
|
|
472
|
-
metric.type="run.googleapis.com/container/cpu/
|
|
472
|
+
metric.type="run.googleapis.com/container/cpu/utilizations"
|
|
473
473
|
resource.labels.project_id="<%-projectId%>"
|
|
474
474
|
threshold_value: 0.8
|
|
475
475
|
duration: 300s
|
|
476
476
|
aggregations:
|
|
477
477
|
- alignment_period: 60s
|
|
478
|
-
per_series_aligner:
|
|
478
|
+
per_series_aligner: ALIGN_PERCENTILE_99
|
|
479
479
|
group_by_fields:
|
|
480
480
|
- resource.label.service_name
|
|
481
481
|
documentation:
|
|
@@ -487,13 +487,13 @@ cloud_run:
|
|
|
487
487
|
condition_threshold:
|
|
488
488
|
filter: |
|
|
489
489
|
resource.type="cloud_run_revision"
|
|
490
|
-
metric.type="run.googleapis.com/container/memory/
|
|
490
|
+
metric.type="run.googleapis.com/container/memory/utilizations"
|
|
491
491
|
resource.labels.project_id="<%-projectId%>"
|
|
492
492
|
threshold_value: 0.8
|
|
493
493
|
duration: 300s
|
|
494
494
|
aggregations:
|
|
495
495
|
- alignment_period: 60s
|
|
496
|
-
per_series_aligner:
|
|
496
|
+
per_series_aligner: ALIGN_PERCENTILE_99
|
|
497
497
|
group_by_fields:
|
|
498
498
|
- resource.label.service_name
|
|
499
499
|
documentation:
|
|
@@ -7,6 +7,10 @@ locals {
|
|
|
7
7
|
# It determines where your data is stored.
|
|
8
8
|
instance_config = "regional-europe-west1"
|
|
9
9
|
|
|
10
|
+
# The edition decides which edition the spanner instance will have. Default is "STANDARD".
|
|
11
|
+
# The other options are "ENTERPRISE" and "ENTERPRISE_PLUS" which enable extra capabilities and additional cost
|
|
12
|
+
edition = "STANDARD"
|
|
13
|
+
|
|
10
14
|
display_name = "<%-displayName%>"
|
|
11
15
|
<% if (instanceAllocation == 'num_nodes') { %>
|
|
12
16
|
# The number of nodes allocated to this instance.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Terragrunt will copy the Terraform configurations specified by the source parameter, along with any files in the
|
|
2
2
|
# working directory, into a temporary folder, and execute your Terraform commands in that folder.
|
|
3
3
|
terraform {
|
|
4
|
-
source = "git::https://github.com/extenda/tf-module-gcp-spanner//?ref=v0.1.
|
|
4
|
+
source = "git::https://github.com/extenda/tf-module-gcp-spanner//?ref=v0.1.5"
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
# Include all settings from the root terragrunt.hcl file
|