@hiiretail/gcp-infra-generators 1.4.3 → 1.5.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.
@@ -1,5 +1,20 @@
1
1
  locals {
2
- region = "europe-west1"
3
- availability = "SINGLE_ZONE"
4
- schema_registry_region = "sgreg-5" #europe-west3
2
+ # Required: The type of Kafka cluster. Accepted values: basic, standard, enterprise, dedicated
3
+ cluster_type = "enterprise"
4
+
5
+ # Optional variables with defaults shown
6
+ region = "europe-west1"
7
+ availability = "SINGLE_ZONE" # SINGLE_ZONE or MULTI_ZONE
8
+
9
+ # Subnet name for Private Link Attachment (PLATT)
10
+ clan_subnet = "clan-subnet"
11
+
12
+ # Uncomment for dedicated cluster type:
13
+ # dedicated_cku = 2 # Minimum 2 for MULTI_ZONE
14
+
15
+ # Uncomment for Private Service Connect (dedicated cluster only, mutually exclusive with PLATT):
16
+ # private_service_connect = {
17
+ # enabled = true
18
+ # gcp_project_id = "your-project-id"
19
+ # }
5
20
  }
@@ -1,5 +1,5 @@
1
1
  terraform {
2
- source = "git::https://github.com/extenda/tf-module-gcp-confluent//?ref=v1.0.0"
2
+ source = "git::https://github.com/extenda/tf-module-gcp-confluent//?ref=v2.1.0"
3
3
  }
4
4
 
5
5
  locals {
@@ -19,7 +19,13 @@ inputs = merge(
19
19
  {
20
20
  environment = "${local.common_vars.locals.tribe_name}-${local.common_vars.locals.clan_name}"
21
21
  name = "<%-clusterName%>-${local.common_vars.locals.tribe_name}-${local.common_vars.locals.clan_name}-${local.project_vars.locals.project_env}"
22
- project_env = "${local.project_vars.locals.project_env}"
23
22
  project_id = local.project_vars.locals.project_id
23
+
24
+ # Private Link Attachment (PLATT) for enterprise clusters
25
+ private_link_attachment = {
26
+ enabled = true
27
+ network = "projects/${local.project_vars.locals.project_id}/global/networks/${local.project_vars.locals.clan_network}"
28
+ subnetwork = "projects/${local.project_vars.locals.project_id}/regions/${local.spec_vars.locals.region}/subnetworks/${local.spec_vars.locals.clan_subnet}"
29
+ }
24
30
  }
25
31
  )
@@ -11510,7 +11510,7 @@
11510
11510
  },
11511
11511
  "packages/gcp-infra": {
11512
11512
  "name": "@hiiretail/gcp-infra-cli",
11513
- "version": "1.1.1",
11513
+ "version": "0.0.1-local",
11514
11514
  "license": "MIT",
11515
11515
  "dependencies": {
11516
11516
  "semver": "^7.7.3",
@@ -11522,7 +11522,7 @@
11522
11522
  },
11523
11523
  "packages/generators": {
11524
11524
  "name": "@hiiretail/gcp-infra-generators",
11525
- "version": "1.4.3",
11525
+ "version": "1.5.0",
11526
11526
  "license": "MIT",
11527
11527
  "dependencies": {
11528
11528
  "@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.4.3",
3
+ "version": "1.5.0",
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.4.3",
3
+ "version": "1.5.0",
4
4
  "description": "Infrastructure as code generator for GCP.",
5
5
  "scripts": {
6
6
  "build": "node esbuild.js && npm run build:deps",