@hiiretail/gcp-infra-cli 0.88.0 → 0.88.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.
- package/generators/clan-resources/clan-project/templates/clan-resources/cloud-nat/terragrunt.hcl +2 -2
- package/generators/clan-resources/clan-project/templates/clan-resources/gke/gke-resources/terragrunt.hcl +1 -1
- package/generators/clan-resources/clan-project/templates/clan-resources/gke/spec.hcl +1 -1
- package/generators/clan-resources/clan-project/templates/clan-resources/gke/terragrunt.hcl +2 -2
- package/generators/clan-resources/clan-project/templates/clan-resources/private-vpc-connection/terragrunt.hcl +2 -2
- package/package.json +1 -1
package/generators/clan-resources/clan-project/templates/clan-resources/cloud-nat/terragrunt.hcl
CHANGED
|
@@ -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.
|
|
48
|
+
nat_ips = dependency.static_ip.outputs.names
|
|
49
49
|
|
|
50
50
|
enable_endpoint_independent_mapping = false
|
|
51
51
|
}
|
|
@@ -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
|
|
@@ -25,7 +25,7 @@ dependency "network" {
|
|
|
25
25
|
|
|
26
26
|
locals {
|
|
27
27
|
spec_vars = read_terragrunt_config("${get_terragrunt_dir()}/spec.hcl")
|
|
28
|
-
|
|
28
|
+
tribe_yaml = yamldecode(file(find_in_parent_folders("tribe.yaml")))
|
|
29
29
|
clan_name = basename(dirname(dirname(dirname(get_terragrunt_dir()))))
|
|
30
30
|
env_name = basename(dirname(dirname(get_terragrunt_dir())))
|
|
31
31
|
}
|
|
@@ -42,7 +42,7 @@ inputs = merge(
|
|
|
42
42
|
authenticator_security_group = "gke-security-groups@extendaretail.com"
|
|
43
43
|
registry_project_ids = ["extenda"]
|
|
44
44
|
cluster_resource_labels = {
|
|
45
|
-
cc = local.
|
|
45
|
+
cc = local.tribe_yaml.costcenter
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
// Binary Auth must be Enabled manually in this console - not supported by the module yet
|
|
@@ -21,7 +21,7 @@ include {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
locals {
|
|
24
|
-
|
|
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.
|
|
32
|
+
cc = local.tribe_yaml.costcenter
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
)
|