@hiiretail/gcp-infra-cli 0.84.2 → 0.84.3

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,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.3",
4
4
  "description": "Infrastructure as code generator for GCP.",
5
5
  "main": "src/cli.js",
6
6
  "bin": {