Skip to content

Commit 3f924bc

Browse files
committed
Fix some variables.
1 parent da37d62 commit 3f924bc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ Then perform the following commands on the root folder:
5252
| function\_source\_archive\_bucket\_labels | A set of key/value label pairs to assign to the function source archive bucket. | map(string) | `<map>` | no |
5353
| function\_source\_directory | The contents of this directory will be archived and used as the function source. | string | n/a | yes |
5454
| function\_timeout\_s | The amount of time in seconds allotted for the execution of the function. | number | `"60"` | no |
55-
| job\_description | Addition text to describet the job | string | `""` | no |
56-
| job\_name | The name of the scheduled job to run | string | `""` | no |
55+
| job\_description | Addition text to describe the job | string | `""` | no |
56+
| job\_name | The name of the scheduled job to run | string | `"null"` | no |
5757
| job\_schedule | The job frequency, in cron syntax | string | `"*/2 * * * *"` | no |
5858
| message\_data | The data to send in the topic message. | string | `"dGVzdA=="` | no |
5959
| project\_id | The ID of the project where the resources will be created | string | n/a | yes |
6060
| region | The region in which resources will be applied. | string | n/a | yes |
61-
| scheduler\_job | An existing Cloud Scheduler job instance | any | `"null"` | no |
61+
| scheduler\_job | An existing Cloud Scheduler job instance | object | `"null"` | no |
6262
| time\_zone | The timezone to use in scheduler | string | `"Etc/UTC"` | no |
6363
| topic\_name | Name of pubsub topic connecting the scheduled job and the function | string | `"test-topic"` | no |
6464

variables.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ variable "project_id" {
2222
variable "job_name" {
2323
type = string
2424
description = "The name of the scheduled job to run"
25-
default = ""
25+
default = null
2626
}
2727

2828
variable "job_description" {
2929
type = string
30-
description = "Addition text to describet the job"
30+
description = "Addition text to describe the job"
3131
default = ""
3232
}
3333

@@ -142,7 +142,7 @@ variable "time_zone" {
142142
}
143143

144144
variable "scheduler_job" {
145-
type = any
145+
type = object({ name = string })
146146
description = "An existing Cloud Scheduler job instance"
147147
default = null
148148
}

0 commit comments

Comments
 (0)