@hiiretail/gcp-infra-generators 1.15.0 → 1.16.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.
Files changed (65) hide show
  1. package/dist/generators/clan-resources/clan-project/templates/clan-resources/cloud-nat/terragrunt.hcl +2 -2
  2. package/dist/generators/clan-resources/clan-project/templates/clan-resources/cloud-nat-static-ip/terragrunt.hcl +1 -1
  3. package/dist/generators/clan-resources/clan-project/templates/clan-resources/cloud-router/terragrunt.hcl +1 -1
  4. package/dist/generators/clan-resources/clan-project/templates/clan-resources/gke/gke-resources/terragrunt.hcl +1 -1
  5. package/dist/generators/clan-resources/clan-project/templates/clan-resources/gke/terragrunt.hcl +2 -2
  6. package/dist/generators/clan-resources/clan-project/templates/clan-resources/network/firewall-rules/terragrunt.hcl +2 -2
  7. package/dist/generators/clan-resources/clan-project/templates/clan-resources/network/terragrunt.hcl +2 -2
  8. package/dist/generators/clan-resources/clan-project/templates/clan-resources/private-vpc-connection/terragrunt.hcl +1 -1
  9. package/dist/generators/clan-resources/clan-project/templates/clan-resources/serverless-vpc-connector/terragrunt.hcl +2 -2
  10. package/dist/generators/clan-resources/clan-project/templates/clan-resources/terragrunt.hcl +1 -1
  11. package/dist/generators/common-resources/bigquery/templates/bigquery/terragrunt.hcl +2 -2
  12. package/dist/generators/common-resources/bigquery/templates/scheduled-queries/terragrunt.hcl +2 -2
  13. package/dist/generators/common-resources/budget/templates/budget/terragrunt.hcl +2 -2
  14. package/dist/generators/common-resources/cloud-armor/templates/terragrunt.hcl +1 -1
  15. package/dist/generators/common-resources/cloud-storage/templates/cloud-storage/terragrunt.hcl +2 -2
  16. package/dist/generators/common-resources/cloudsql/templates/alloydb/instance/terragrunt.hcl +2 -2
  17. package/dist/generators/common-resources/cloudsql/templates/alloydb/instance-secrets/terragrunt.hcl +1 -1
  18. package/dist/generators/common-resources/cloudsql/templates/mssql/instance/terragrunt.hcl +2 -2
  19. package/dist/generators/common-resources/cloudsql/templates/mssql/instance-secrets/terragrunt.hcl +2 -2
  20. package/dist/generators/common-resources/cloudsql/templates/mysql/instance/terragrunt.hcl +2 -2
  21. package/dist/generators/common-resources/cloudsql/templates/mysql/instance-secrets/terragrunt.hcl +1 -1
  22. package/dist/generators/common-resources/cloudsql/templates/postgres-clan/instance/terragrunt.hcl +2 -2
  23. package/dist/generators/common-resources/cloudsql/templates/postgres-clan/instance-secrets/terragrunt.hcl +1 -1
  24. package/dist/generators/common-resources/cloudsql-database/templates/mysql/database/terragrunt.hcl +1 -1
  25. package/dist/generators/common-resources/cloudsql-database/templates/mysql/secrets/terragrunt.hcl +1 -1
  26. package/dist/generators/common-resources/cloudsql-database/templates/postgres-clan/database/terragrunt.hcl +1 -1
  27. package/dist/generators/common-resources/cloudsql-database/templates/postgres-clan/secrets/terragrunt.hcl +1 -1
  28. package/dist/generators/common-resources/confluent-cluster/templates/confluent/terragrunt.hcl +2 -2
  29. package/dist/generators/common-resources/datastore/templates/datastore/terragrunt.hcl +2 -2
  30. package/dist/generators/common-resources/elastic-cloud/templates/elastic/terragrunt.hcl +2 -2
  31. package/dist/generators/common-resources/elastic-index-policy/templates/policy/terragrunt.hcl +2 -2
  32. package/dist/generators/common-resources/elastic-template/templates/elastic-template/terragrunt.hcl +2 -2
  33. package/dist/generators/common-resources/firebase/templates/firebase/apps/terragrunt.hcl +1 -1
  34. package/dist/generators/common-resources/firebase/templates/firebase/terragrunt.hcl +1 -1
  35. package/dist/generators/common-resources/firestore/index.js +4 -0
  36. package/dist/generators/common-resources/firestore/templates/firestore/terragrunt.hcl +24 -14
  37. package/dist/generators/common-resources/kafka-connect/templates/elastic/terragrunt.hcl +2 -2
  38. package/dist/generators/common-resources/kafka-connect/templates/pubsub/terragrunt.hcl +2 -2
  39. package/dist/generators/common-resources/kafka-topics/templates/kafka/terragrunt.hcl +2 -2
  40. package/dist/generators/common-resources/kms/templates/kms/terragrunt.hcl +2 -2
  41. package/dist/generators/common-resources/memorystore/templates/redis-instance/terragrunt.hcl +2 -2
  42. package/dist/generators/common-resources/memorystore/templates/secrets/terragrunt.hcl +2 -2
  43. package/dist/generators/common-resources/monitoring/templates/alerts/terragrunt.hcl +2 -2
  44. package/dist/generators/common-resources/monitoring/templates/service/terragrunt.hcl +2 -2
  45. package/dist/generators/common-resources/monitoring/templates/uptime-checks/terragrunt.hcl +2 -2
  46. package/dist/generators/common-resources/pubsub/templates/pubsub/terragrunt.hcl +2 -2
  47. package/dist/generators/common-resources/pubsub/templates/pubsub-dlq/terragrunt.hcl +2 -2
  48. package/dist/generators/common-resources/pubsub/templates/pubsub-external/terragrunt.hcl +1 -1
  49. package/dist/generators/common-resources/pubsub/templates/pubsub-external-publishers/terragrunt.hcl +1 -1
  50. package/dist/generators/common-resources/scheduler/templates/scheduler/terragrunt.hcl +2 -2
  51. package/dist/generators/common-resources/spanner/templates/spanner/terragrunt.hcl +2 -2
  52. package/dist/generators/init/clan-infra/templates/env/secrets/terragrunt.hcl +2 -2
  53. package/dist/generators/init/clan-infra/templates/github/workflows/infra.yml +1 -1
  54. package/dist/generators/init/clan-infra/templates/infra/.terraform-version +1 -1
  55. package/dist/generators/init/clan-infra/templates/infra/.terragrunt-version +1 -1
  56. package/dist/generators/init/clan-infra/templates/notification-channels/terragrunt.hcl +2 -2
  57. package/dist/generators/organization/clan-project/templates/clan/terragrunt.hcl +1 -1
  58. package/dist/generators/organization/clan-project/templates/clan-project/terragrunt.hcl +2 -2
  59. package/dist/generators/organization/clan-project/templates/clans-folder/terragrunt.hcl +1 -1
  60. package/dist/generators/organization/clan-project/templates/department/terragrunt.hcl +1 -1
  61. package/dist/generators/organization/clan-project/templates/tribe/terragrunt.hcl +1 -1
  62. package/dist/node_modules/.package-lock.json +1 -1
  63. package/dist/package.json +1 -1
  64. package/package.json +1 -1
  65. /package/dist/generators/init/clan-infra/templates/infra/{terragrunt_root.hcl → root.hcl} +0 -0
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/terraform-google-modules/terraform-google-cloud-nat//?ref=v5.2.0"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  dependency "network" {
@@ -10,7 +10,7 @@ dependency "project" {
10
10
  }
11
11
 
12
12
  include {
13
- path = find_in_parent_folders("terragrunt_root.hcl")
13
+ path = find_in_parent_folders("root.hcl")
14
14
  }
15
15
 
16
16
  locals {
@@ -17,7 +17,7 @@ dependency "network" {
17
17
  }
18
18
 
19
19
  include {
20
- path = find_in_parent_folders("terragrunt_root.hcl")
20
+ path = find_in_parent_folders("root.hcl")
21
21
  }
22
22
 
23
23
  locals {
@@ -21,7 +21,7 @@ dependency "gke" {
21
21
  }
22
22
 
23
23
  include {
24
- path = find_in_parent_folders("terragrunt_root.hcl")
24
+ path = find_in_parent_folders("root.hcl")
25
25
  }
26
26
 
27
27
  locals {
@@ -5,9 +5,9 @@ terraform {
5
5
  source = "git::https://github.com/pziggo/terraform-google-kubernetes-engine//modules/beta-autopilot-private-cluster?ref=pziggo_autopilot_dns_config"
6
6
  }
7
7
 
8
- # Include all settings from the root terragrunt.hcl file
8
+ # Include all settings from the terragrunt root.hcl file
9
9
  include {
10
- path = find_in_parent_folders("terragrunt_root.hcl")
10
+ path = find_in_parent_folders("root.hcl")
11
11
  }
12
12
 
13
13
  dependency "project" {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "config/"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  dependency "network" {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/terraform-google-modules/terraform-google-network//?ref=v9.1.0"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  dependency "project" {
@@ -17,7 +17,7 @@ dependency "network" {
17
17
  }
18
18
 
19
19
  include {
20
- path = find_in_parent_folders("terragrunt_root.hcl")
20
+ path = find_in_parent_folders("root.hcl")
21
21
  }
22
22
 
23
23
  locals {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/terraform-google-modules/terraform-google-network//modules/vpc-serverless-connector-beta?ref=v9.1.0"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  dependency "project" {
@@ -1,3 +1,3 @@
1
1
  include {
2
- path = find_in_parent_folders("terragrunt_root.hcl")
2
+ path = find_in_parent_folders("root.hcl")
3
3
  }
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/terraform-google-modules/terraform-google-bigquery?ref=v8.0.0"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  locals {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/extenda/terraform-google-bigquery//modules/scheduled_queries"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  locals {
@@ -12,9 +12,9 @@ dependency "notification_channel" {
12
12
  }
13
13
  }
14
14
 
15
- # Include all settings from the root terragrunt.hcl file
15
+ # Include all settings from the terragrunt root.hcl file
16
16
  include {
17
- path = find_in_parent_folders("terragrunt_root.hcl")
17
+ path = find_in_parent_folders("root.hcl")
18
18
  }
19
19
 
20
20
  locals {
@@ -5,7 +5,7 @@ terraform {
5
5
  }
6
6
 
7
7
  include {
8
- path = find_in_parent_folders("terragrunt_root.hcl")
8
+ path = find_in_parent_folders("root.hcl")
9
9
  }
10
10
 
11
11
  locals {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/terraform-google-modules/terraform-google-cloud-storage//?ref=v6.0.1"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  locals {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/extenda/terraform-google-alloy-db//?ref=v1.0.0"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  locals {
@@ -5,7 +5,7 @@ terraform {
5
5
  }
6
6
 
7
7
  include {
8
- path = find_in_parent_folders("terragrunt_root.hcl")
8
+ path = find_in_parent_folders("root.hcl")
9
9
  }
10
10
 
11
11
  locals {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/terraform-google-modules/terraform-google-sql-db//modules/mssql?ref=v4.0.0"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  locals {
@@ -15,9 +15,9 @@ locals {
15
15
  })
16
16
  }
17
17
 
18
- # Include all settings from the root terragrunt.hcl file
18
+ # Include all settings from the terragrunt root.hcl file
19
19
  include {
20
- path = find_in_parent_folders("terragrunt_root.hcl")
20
+ path = find_in_parent_folders("root.hcl")
21
21
  }
22
22
 
23
23
  dependency "mssql_address" {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/terraform-google-modules/terraform-google-sql-db//modules/mysql?ref=v21.0.0"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  locals {
@@ -5,7 +5,7 @@ terraform {
5
5
  }
6
6
 
7
7
  include {
8
- path = find_in_parent_folders("terragrunt_root.hcl")
8
+ path = find_in_parent_folders("root.hcl")
9
9
  }
10
10
 
11
11
  locals {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/terraform-google-modules/terraform-google-sql-db//modules/postgresql?ref=v21.0.0"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  locals {
@@ -5,7 +5,7 @@ terraform {
5
5
  }
6
6
 
7
7
  include {
8
- path = find_in_parent_folders("terragrunt_root.hcl")
8
+ path = find_in_parent_folders("root.hcl")
9
9
  }
10
10
 
11
11
  locals {
@@ -40,7 +40,7 @@ terraform {
40
40
  }
41
41
 
42
42
  include {
43
- path = find_in_parent_folders("terragrunt_root.hcl")
43
+ path = find_in_parent_folders("root.hcl")
44
44
  }
45
45
 
46
46
  dependency "instance" {
@@ -5,7 +5,7 @@ terraform {
5
5
  }
6
6
 
7
7
  include {
8
- path = find_in_parent_folders("terragrunt_root.hcl")
8
+ path = find_in_parent_folders("root.hcl")
9
9
  }
10
10
 
11
11
  locals {
@@ -40,7 +40,7 @@ terraform {
40
40
  }
41
41
 
42
42
  include {
43
- path = find_in_parent_folders("terragrunt_root.hcl")
43
+ path = find_in_parent_folders("root.hcl")
44
44
  }
45
45
 
46
46
  dependency "instance" {
@@ -5,7 +5,7 @@ terraform {
5
5
  }
6
6
 
7
7
  include {
8
- path = find_in_parent_folders("terragrunt_root.hcl")
8
+ path = find_in_parent_folders("root.hcl")
9
9
  }
10
10
 
11
11
  locals {
@@ -8,9 +8,9 @@ locals {
8
8
  common_vars = read_terragrunt_config(find_in_parent_folders("common.hcl"))
9
9
  }
10
10
 
11
- # Include all settings from the root terragrunt.hcl file
11
+ # Include all settings from the terragrunt root.hcl file
12
12
  include {
13
- path = find_in_parent_folders("terragrunt_root.hcl")
13
+ path = find_in_parent_folders("root.hcl")
14
14
  }
15
15
 
16
16
  # These are the variables we have to pass in to use the module specified in the terragrunt configuration above
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/extenda/tf-module-gcp-datastore//?ref=v0.1.0"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  locals {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/extenda/tf-module-gcp-elastic//?ref=v0.1.7"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  locals {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/extenda/tf-module-gcp-elastic//policy?ref=v0.1.7"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  locals {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/extenda/tf-module-gcp-elastic//index?ref=v0.1.7"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  locals {
@@ -6,7 +6,7 @@ terraform {
6
6
  }
7
7
 
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  generate "firebase_providers" {
@@ -6,7 +6,7 @@ terraform {
6
6
  }
7
7
 
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  generate "firebase_providers" {
@@ -80,6 +80,10 @@ module.exports = class extends BaseGenerator {
80
80
  return `Please provide backup retention in seconds (e.g., "${seconds}" is ${days}).`;
81
81
  },
82
82
  validate: required,
83
+ filter: (input) => {
84
+ const trimmed = input.trim();
85
+ return /^\d+$/.test(trimmed) ? `${trimmed}s` : trimmed;
86
+ },
83
87
  },
84
88
  {
85
89
  type: 'input',
@@ -5,9 +5,9 @@ terraform {
5
5
  source = "git::https://github.com/extenda/terraform-google-firestore//databases?ref=v1.0.2"
6
6
  }
7
7
 
8
- # Include all settings from the root terragrunt.hcl file
8
+ # Include all settings from the terragrunt root.hcl file
9
9
  include {
10
- path = find_in_parent_folders("terragrunt_root.hcl")
10
+ path = find_in_parent_folders("root.hcl")
11
11
  }
12
12
 
13
13
  locals {
@@ -39,19 +39,29 @@ locals {
39
39
  for db in local.all_databases : db.name => try(db.collections, [])
40
40
  }
41
41
 
42
+ # Decode each collection's schema file once (if referenced), merged over any inline definition
43
+ databases_collections_resolved = {
44
+ for db_name, collections in local.databases_collections : db_name => [
45
+ for collection in collections : merge(
46
+ collection,
47
+ merge([
48
+ for schema_path in (try(collection.schema, null) != null ? [collection.schema] : []) :
49
+ yamldecode(file("${get_terragrunt_dir()}/${schema_path}"))
50
+ ]...)
51
+ )
52
+ ]
53
+ }
54
+
42
55
  # Load collection schemas from referenced files OR inline definitions
43
56
  collection_schemas = {
44
- for db_name, collections in local.databases_collections : db_name => {
45
- for collection in collections :
46
- (try(collection.schema, null) != null ? yamldecode(file("${get_terragrunt_dir()}/${collection.schema}")).name : collection.name) => merge(
47
- {
48
- name = try(collection.schema, null) != null ? yamldecode(file("${get_terragrunt_dir()}/${collection.schema}")).name : collection.name
49
- description = try(collection.schema, null) != null ? yamldecode(file("${get_terragrunt_dir()}/${collection.schema}")).description : try(collection.description, "")
50
- ttl_field = try(collection.schema, null) != null ? try(yamldecode(file("${get_terragrunt_dir()}/${collection.schema}")).ttl_field, null) : try(collection.ttl_field, null)
51
- indexes = try(collection.schema, null) != null ? try(yamldecode(file("${get_terragrunt_dir()}/${collection.schema}")).indexes, []) : try(collection.indexes, [])
52
- fields = try(collection.schema, null) != null ? try(yamldecode(file("${get_terragrunt_dir()}/${collection.schema}")).fields, []) : try(collection.fields, [])
53
- }
54
- )
57
+ for db_name, collections in local.databases_collections_resolved : db_name => {
58
+ for collection in collections : collection.name => {
59
+ name = collection.name
60
+ description = try(collection.description, "")
61
+ ttl_field = try(collection.ttl_field, null)
62
+ indexes = try(collection.indexes, [])
63
+ fields = try(collection.fields, [])
64
+ }
55
65
  }
56
66
  }
57
67
 
@@ -91,7 +101,7 @@ locals {
91
101
  databases_composite_index_configuration = {
92
102
  for db_name, schemas in local.collection_schemas : db_name => flatten([
93
103
  for schema_name, schema in schemas : [
94
- for idx, index in try(schema.indexes, []) :
104
+ for index in try(schema.indexes, []) :
95
105
  {
96
106
  index_id = index.name
97
107
  collection = schema_name
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/extenda/tf-module-kafka//kafka-connect-ccloud?ref=v1.0.0"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  dependency "confluent" {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/extenda/tf-module-kafka//kafka-connect-ccloud?ref=v1.0.0"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  dependency "confluent" {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/extenda/tf-module-kafka//?ref=v0.1.0"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  locals {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/terraform-google-modules/terraform-google-kms//?ref=v2.3.0"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  locals {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/terraform-google-modules/terraform-google-memorystore//?ref=v10.0.0"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  locals {
@@ -15,9 +15,9 @@ locals {
15
15
  })
16
16
  }
17
17
 
18
- # Include all settings from the root terragrunt.hcl file
18
+ # Include all settings from the terragrunt root.hcl file
19
19
  include {
20
- path = find_in_parent_folders("terragrunt_root.hcl")
20
+ path = find_in_parent_folders("root.hcl")
21
21
  }
22
22
 
23
23
  <%-dependencies%>
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/extenda/tf-module-gcp-alert-policy//?ref=v2.0.0"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  dependency "notification_channels" {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/extenda/tf-module-gcp-alert-policy//?ref=v2.0.0"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  dependency "notification_channels" {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/extenda/tf-module-gcp-uptime-check//?ref=v1.0.1"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  dependency "notification_channels" {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/terraform-google-modules/terraform-google-pubsub//?ref=v8.6.0"
5
5
  }
6
6
 
7
- # Include all settings from the terragrunt_root.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  locals {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/terraform-google-modules/terraform-google-pubsub//?ref=v8.6.0"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  locals {
@@ -5,7 +5,7 @@ terraform {
5
5
  }
6
6
 
7
7
  include {
8
- path = find_in_parent_folders("terragrunt_root.hcl")
8
+ path = find_in_parent_folders("root.hcl")
9
9
  }
10
10
 
11
11
  dependency "topic-name" {
@@ -5,7 +5,7 @@ terraform {
5
5
  }
6
6
 
7
7
  include {
8
- path = find_in_parent_folders("terragrunt_root.hcl")
8
+ path = find_in_parent_folders("root.hcl")
9
9
  }
10
10
 
11
11
  locals {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/extenda/tf-module-gcp-scheduler//?ref=v1.2.0"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
  <% if (target == 'pubsub') { %>
12
12
  dependency "topic" {
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/extenda/tf-module-gcp-spanner//?ref=v1.1.0"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  locals {
@@ -15,9 +15,9 @@ locals {
15
15
  })
16
16
  }
17
17
 
18
- # Include all settings from the root terragrunt.hcl file
18
+ # Include all settings from the terragrunt root.hcl file
19
19
  include {
20
- path = find_in_parent_folders("terragrunt_root.hcl")
20
+ path = find_in_parent_folders("root.hcl")
21
21
  }
22
22
 
23
23
  # These are the variables we have to pass in to use the module specified in the terragrunt configuration above
@@ -14,4 +14,4 @@ jobs:
14
14
  with:
15
15
  service-account-key: ${{ secrets.SECRET_AUTH }}
16
16
  repository: extenda/tf-infra-gcp
17
- event-type: clan-infra
17
+ event-type: clan-infra-tgv1
@@ -1 +1 @@
1
- 1.4.6
1
+ 1.14.8
@@ -1 +1 @@
1
- 0.45.0
1
+ 1.0.1
@@ -4,9 +4,9 @@ terraform {
4
4
  source = "git::https://github.com/extenda/tf-module-gcp-notification-channels//?ref=v1.0.1"
5
5
  }
6
6
 
7
- # Include all settings from the root terragrunt.hcl file
7
+ # Include all settings from the terragrunt root.hcl file
8
8
  include {
9
- path = find_in_parent_folders("terragrunt_root.hcl")
9
+ path = find_in_parent_folders("root.hcl")
10
10
  }
11
11
 
12
12
  locals {
@@ -14,7 +14,7 @@ dependency "tribe_folder" {
14
14
  }
15
15
 
16
16
  include {
17
- path = find_in_parent_folders("terragrunt_root.hcl")
17
+ path = find_in_parent_folders("root.hcl")
18
18
  }
19
19
 
20
20
  # We fetch common variables from the yaml files which MUST exist in these paths
@@ -1,5 +1,5 @@
1
1
  terraform {
2
- source = "git::https://github.com/extenda/tf-module-gcp-project//?ref=v2.0.0-autopilot"
2
+ source = "git::https://github.com/extenda/tf-module-gcp-project//"
3
3
  }
4
4
 
5
5
  dependency "parent_folder" {
@@ -22,7 +22,7 @@ locals {
22
22
  }
23
23
 
24
24
  include {
25
- path = find_in_parent_folders("terragrunt_root.hcl")
25
+ path = find_in_parent_folders("root.hcl")
26
26
  }
27
27
 
28
28
  inputs = merge(
@@ -1,3 +1,3 @@
1
1
  include {
2
- path = find_in_parent_folders("terragrunt_root.hcl")
2
+ path = find_in_parent_folders("root.hcl")
3
3
  }
@@ -14,7 +14,7 @@ dependency "parent_folder" {
14
14
  }
15
15
 
16
16
  include {
17
- path = find_in_parent_folders("terragrunt_root.hcl")
17
+ path = find_in_parent_folders("root.hcl")
18
18
  }
19
19
 
20
20
  # We fetch common variables from the yaml files which MUST exist in these paths
@@ -14,7 +14,7 @@ dependency "parent_folder" {
14
14
  }
15
15
 
16
16
  include {
17
- path = find_in_parent_folders("terragrunt_root.hcl")
17
+ path = find_in_parent_folders("root.hcl")
18
18
  }
19
19
 
20
20
  # We fetch common variables from the yaml files which MUST exist in these paths
@@ -11528,7 +11528,7 @@
11528
11528
  },
11529
11529
  "packages/generators": {
11530
11530
  "name": "@hiiretail/gcp-infra-generators",
11531
- "version": "1.15.0",
11531
+ "version": "1.16.1",
11532
11532
  "license": "MIT",
11533
11533
  "dependencies": {
11534
11534
  "@google-cloud/storage": "^7.18.0",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiiretail/gcp-infra-generators",
3
- "version": "1.15.0",
3
+ "version": "1.16.1",
4
4
  "description": "Infrastructure as code generator for GCP.",
5
5
  "scripts": {
6
6
  "build": "node esbuild.js && npm run build:deps",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiiretail/gcp-infra-generators",
3
- "version": "1.15.0",
3
+ "version": "1.16.1",
4
4
  "description": "Infrastructure as code generator for GCP.",
5
5
  "scripts": {
6
6
  "build": "node esbuild.js && npm run build:deps",