@hiiretail/gcp-infra-cli 0.84.2 → 0.84.4

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,11 +1,5 @@
1
1
  locals {
2
- region = "europe-west1"
3
- # Availability: LOW(single-zone) or HIGH(multi-zone)
4
- availability = "LOW"
5
- # Cluster storage limit (GB)
6
- storage = 5000
7
- # Network ingress limit (MBps)
8
- network_ingress = 100
9
- # Network egress limit (MBps)
10
- network_egress = 100
2
+ region = "europe-west1"
3
+ availability = "SINGLE_ZONE"
4
+ schema_registry_region = "sgreg-5" #europe-west3
11
5
  }
@@ -1,5 +1,5 @@
1
1
  terraform {
2
- source = "git::https://github.com/extenda/tf-module-gcp-confluent//?ref=v0.1.0"
2
+ source = "git::https://github.com/extenda/tf-module-gcp-confluent//?ref=v1.0.0"
3
3
  }
4
4
 
5
5
  locals {
@@ -19,10 +19,7 @@ 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
-
23
- github_repo = "${local.common_vars.locals.tribe_name}-${local.common_vars.locals.clan_name}-common"
24
- github_secret = "CONFLUENT_SA_${upper(local.project_vars.locals.project_env)}"
25
-
26
- project_id = local.project_vars.locals.project_id
22
+ project_env = "${local.project_vars.locals.project_env}"
23
+ project_id = local.project_vars.locals.project_id
27
24
  }
28
25
  )
@@ -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=v0.1.3"
4
+ source = "git::https://github.com/extenda/tf-module-gcp-scheduler//?ref=v1.0.0"
5
5
  }
6
6
 
7
7
  # Include all settings from the root terragrunt.hcl file
@@ -23,22 +23,21 @@ locals {
23
23
  # These are the variables we have to pass in to use the module specified in the terragrunt configuration above
24
24
  inputs = merge(
25
25
  local.project_vars.locals,
26
- {<% if (env == 'staging') { %>
27
- app_engine_region = "europe-west3"
28
- region = "europe-west3"<% } %>
29
-
26
+ {
30
27
  scheduled_jobs = [
31
28
  {
32
- name = "<%-name%>"
33
- job_description = "<%-description%>"
34
- job_schedule = "<%-schedule%>"
29
+ name = "<%-name%>"
30
+ description = "<%-description%>"
31
+ schedule = "<%-schedule%>"
35
32
  <% if (target == 'http') { %>
36
- uri = "<%-uri%>"
37
- http_method = "<%-httpMethod%>"
38
- <% } else { %>
39
- pubsub_topic_name = "projects/${local.project_vars.locals.project_id}/topics/${dependency.topic.outputs.topic}"
40
- data = "${base64encode("<%-data%>")}"
41
- <% } %>
33
+ http_target = {
34
+ uri = "<%-uri%>"
35
+ http_method = "<%-httpMethod%>"
36
+ } <% } else { %>
37
+ pubsub_target = {
38
+ topic_name = "projects/${local.project_vars.locals.project_id}/topics/${dependency.topic.outputs.topic}"
39
+ data = "${base64encode("<%-data%>")}"
40
+ }<% } %>
42
41
  },
43
42
  ]
44
43
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiiretail/gcp-infra-cli",
3
- "version": "0.84.2",
3
+ "version": "0.84.4",
4
4
  "description": "Infrastructure as code generator for GCP.",
5
5
  "main": "src/cli.js",
6
6
  "bin": {