File tree 3 files changed +8
-0
lines changed
3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ Then perform the following commands on the root folder:
50
50
| project\_ id | The ID of the project where this VPC will be created | string | n/a | yes |
51
51
| region | The region in which resources will be applied. | string | n/a | yes |
52
52
| topic\_ name | Name of pubsub topic connecting the scheduled job and the function | string | ` "test-topic" ` | no |
53
+ | time\_ zone | The timezone to be used in scheduler job | string | ` "Etc/UTC" ` | no |
53
54
54
55
## Outputs
55
56
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ resource "google_cloud_scheduler_job" "job" {
22
22
name = " ${ var . job_name } "
23
23
description = " ${ var . job_description } "
24
24
schedule = " ${ var . job_schedule } "
25
+ time_zone = " ${ var . time_zone } "
25
26
26
27
pubsub_target = {
27
28
topic_name = " projects/${ var . project_id } /topics/${ module . pubsub_topic . topic } "
Original file line number Diff line number Diff line change @@ -126,3 +126,9 @@ variable "message_data" {
126
126
description = " The data to send in the topic message."
127
127
default = " dGVzdA=="
128
128
}
129
+
130
+ variable "time_zone" {
131
+ type = " string"
132
+ description = " The timezone to use in scheduler"
133
+ default = " Etc/UTC"
134
+ }
You can’t perform that action at this time.
0 commit comments