@hiiretail/gcp-infra-cli 0.89.0 → 0.89.2

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.
@@ -18,7 +18,11 @@ module.exports = class extends BaseGenerator {
18
18
  type: 'list',
19
19
  name: 'monitoringResource',
20
20
  message: 'Select the resource you want to create',
21
- choices: ['alerts', 'uptime-checks', 'slos'],
21
+ choices: [
22
+ // 'alerts', // Temporarily disabled due to migration to GKE Autopilot
23
+ 'uptime-checks',
24
+ // 'slos' // Temporarily disabled due to migration to GKE Autopilot
25
+ ],
22
26
  },
23
27
  {
24
28
  when: (response) => response.monitoringResource === 'alerts',
@@ -29,7 +29,7 @@ locals {
29
29
 
30
30
  # These are the variables we have to pass in to use the module specified in the terragrunt configuration above
31
31
  inputs = {
32
- project = local.project_vars.locals.tribe_project_id,
32
+ project = local.project_vars.locals.project_id,
33
33
  policies = local.alerts,
34
34
  notification_channel_ids = dependency.notification_channels.outputs.notification_channels,
35
35
  fallback_notification_channels = dependency.notification_channels.outputs.fallback_channels_ids,
@@ -30,10 +30,10 @@ locals {
30
30
 
31
31
  # These are the variables we have to pass in to use the module specified in the terragrunt configuration above
32
32
  inputs = {
33
- service_name = "${local.system_name}.${local.service_name}"
34
- project = local.project_vars.locals.tribe_project_id,
33
+ project = local.project_vars.locals.project_id,
35
34
  slos = yamldecode(file("${get_terragrunt_dir()}/slos.yaml"))
36
- telemetry_resource_name = "//container.googleapis.com/projects/${local.project_vars.locals.tribe_project_id}/locations/europe-west1/clusters/k8s-cluster/k8s/namespaces/${local.service_name}"
35
+ service_name = "${local.system_name}.${local.service_name}"
36
+ telemetry_resource_name = "//container.googleapis.com/projects/${local.project_vars.locals.project_id}/locations/europe-west1/clusters/k8s-cluster/k8s/namespaces/${local.service_name}"
37
37
  notification_channel_ids = dependency.notification_channels.outputs.notification_channels,
38
38
  fallback_notification_channels = dependency.notification_channels.outputs.fallback_channels_ids,
39
39
  default_user_labels = local.labels,
@@ -29,7 +29,6 @@ locals {
29
29
  # These are the variables we have to pass in to use the module specified in the terragrunt configuration above
30
30
  inputs = {
31
31
  project = local.project_vars.locals.project_id,
32
- default_alert_project = local.project_vars.locals.tribe_project_id,
33
32
  uptime_checks = yamldecode(file("${get_terragrunt_dir()}/uptime-checks.yaml"))
34
33
  notification_channel_ids = dependency.notification_channels.outputs.notification_channels,
35
34
  fallback_notification_channels = dependency.notification_channels.outputs.fallback_channels_ids,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiiretail/gcp-infra-cli",
3
- "version": "0.89.0",
3
+ "version": "0.89.2",
4
4
  "description": "Infrastructure as code generator for GCP.",
5
5
  "main": "src/cli.js",
6
6
  "bin": {