@hiiretail/gcp-infra-cli 0.88.0 → 0.88.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.
@@ -29,7 +29,7 @@ dependency "router" {
29
29
  dependency "static_ip" {
30
30
  config_path = "../cloud-nat-static-ip"
31
31
  mock_outputs = {
32
- names = "ip-name"
32
+ names = ["ip-name"]
33
33
  }
34
34
  }
35
35
 
@@ -45,7 +45,7 @@ inputs = merge(
45
45
  project_id = dependency.network.outputs.project_id
46
46
  network = dependency.network.outputs.network_name
47
47
  router = dependency.router.outputs.router.name
48
- nat_ips = dependency.static_ip.outputs.self_links
48
+ nat_ips = dependency.static_ip.outputs.names
49
49
 
50
50
  enable_endpoint_independent_mapping = false
51
51
  }
@@ -16,7 +16,7 @@ dependency "gke" {
16
16
  config_path = "../"
17
17
  mock_outputs = {
18
18
  endpoint = "dummy-endpoint"
19
- ca_certificate = "dummy-ca-certificate"
19
+ ca_certificate = base64encode("dummy-ca-certificate")
20
20
  }
21
21
  }
22
22
 
@@ -7,7 +7,7 @@ locals {
7
7
  create_service_account = true
8
8
  grant_registry_access = true
9
9
  http_load_balancing = true
10
- add_cluster_firewall_rules = true
10
+ add_cluster_firewall_rules = false #needs to be changed to true after the first apply
11
11
  dns_cache = true
12
12
  enable_vertical_pod_autoscaling = true
13
13
  enable_private_nodes = true
@@ -1,7 +1,8 @@
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/terraform-google-modules/terraform-google-kubernetes-engine//modules/beta-autopilot-private-cluster?ref=v25.0.0"
4
+ # temp solution, change to the latest release once this is merged
5
+ source = "git::https://github.com/pziggo/terraform-google-kubernetes-engine//modules/beta-autopilot-private-cluster?ref=pziggo_autopilot_dns_config"
5
6
  }
6
7
 
7
8
  # Include all settings from the root terragrunt.hcl file
@@ -25,7 +26,7 @@ dependency "network" {
25
26
 
26
27
  locals {
27
28
  spec_vars = read_terragrunt_config("${get_terragrunt_dir()}/spec.hcl")
28
- clan_yaml = yamldecode(file(find_in_parent_folders("clan.yaml")))
29
+ tribe_yaml = yamldecode(file(find_in_parent_folders("tribe.yaml")))
29
30
  clan_name = basename(dirname(dirname(dirname(get_terragrunt_dir()))))
30
31
  env_name = basename(dirname(dirname(get_terragrunt_dir())))
31
32
  }
@@ -42,7 +43,7 @@ inputs = merge(
42
43
  authenticator_security_group = "gke-security-groups@extendaretail.com"
43
44
  registry_project_ids = ["extenda"]
44
45
  cluster_resource_labels = {
45
- cc = local.clan_yaml.costcenter
46
+ cc = local.tribe_yaml.costcenter
46
47
  }
47
48
 
48
49
  // Binary Auth must be Enabled manually in this console - not supported by the module yet
@@ -27,7 +27,7 @@ locals {
27
27
  subnet_region = "europe-west1"
28
28
  purpose = "REGIONAL_MANAGED_PROXY"
29
29
  role = "ACTIVE"
30
- description = "The subnet must be used only for Serverless VPC connector"
30
+ description = "Reserved proxy-only subnet for Internal load balancing"
31
31
  }
32
32
  ]
33
33
 
@@ -21,7 +21,7 @@ include {
21
21
  }
22
22
 
23
23
  locals {
24
- clan_yaml = yamldecode(file(find_in_parent_folders("clan.yaml")))
24
+ tribe_yaml = yamldecode(file(find_in_parent_folders("tribe.yaml")))
25
25
  }
26
26
 
27
27
  inputs = merge(
@@ -29,7 +29,7 @@ inputs = merge(
29
29
  project = dependency.project.outputs.project_id
30
30
  network = dependency.network.outputs.network_self_link
31
31
  address_labels = {
32
- cc = local.clan_yaml.costcenter
32
+ cc = local.tribe_yaml.costcenter
33
33
  }
34
34
  }
35
35
  )
@@ -26,7 +26,7 @@ inputs = merge(
26
26
  project_id = dependency.project.outputs.project_id
27
27
  vpc_connectors = [
28
28
  {
29
- name = "${local.clan_name}-connector"
29
+ name = "${local.clan_name}-vpc-connector"
30
30
  region = "europe-west1"
31
31
  subnet_name = "vpc-connector-subnet"
32
32
  host_project_id = dependency.project.outputs.project_id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiiretail/gcp-infra-cli",
3
- "version": "0.88.0",
3
+ "version": "0.88.2",
4
4
  "description": "Infrastructure as code generator for GCP.",
5
5
  "main": "src/cli.js",
6
6
  "bin": {