@hiiretail/gcp-infra-cli 0.89.1 → 0.90.0

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,
@@ -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-scheduler//?ref=v1.0.0"
4
+ source = "git::https://github.com/extenda/tf-module-gcp-scheduler//?ref=v1.1.0"
5
5
  }
6
6
 
7
7
  # Include all settings from the root terragrunt.hcl file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiiretail/gcp-infra-cli",
3
- "version": "0.89.1",
3
+ "version": "0.90.0",
4
4
  "description": "Infrastructure as code generator for GCP.",
5
5
  "main": "src/cli.js",
6
6
  "bin": {