We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6464cf commit b01c4a4Copy full SHA for b01c4a4
main.tf
@@ -22,6 +22,7 @@ resource "google_cloud_scheduler_job" "job" {
22
name = "${var.job_name}"
23
description = "${var.job_description}"
24
schedule = "${var.job_schedule}"
25
+ time_zone = "${var.time_zone}"
26
27
pubsub_target = {
28
topic_name = "projects/${var.project_id}/topics/${module.pubsub_topic.topic}"
variables.tf
@@ -126,3 +126,9 @@ variable "message_data" {
126
description = "The data to send in the topic message."
127
default = "dGVzdA=="
128
}
129
+
130
+variable "time_zone" {
131
+ type = "string"
132
+ description = "The timezone to use in scheduler"
133
+ default = "Etc/UTC"
134
+}
0 commit comments