Skip to content

Commit de3989b

Browse files
authored
Merge pull request #8 from terraform-google-modules/aaron-lane-ocervello-patch
2 parents 9ed92cf + 7891c93 commit de3989b

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ You can go to the examples folder, however the usage of the module could be like
66

77
```hcl
88
module "scheduled-function" {
9-
source = "terraform-google-modules/scheduled-functions/google"
9+
source = "terraform-google-modules/scheduled-function/google"
1010
version = "0.1.0"
1111
project_id = "<PROJECT ID>"
1212
job_name="<NAME_OF_JOB>"
1313
schedule="<CRON_SYNTAX_SCHEDULE"
1414
function_entry_point="<NAME_OF_FUNCTION>"
1515
function_source_directory="<DIRECTORY_OF_FUNCTION_SOURCE>"
16-
name="<RESOURCE_NAMES>"
16+
function_name="<RESOURCE_NAMES>"
1717
region="<REGION>"
1818
}
1919
```

main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020

2121
resource "google_cloud_scheduler_job" "job" {
2222
name = "${var.job_name}"
23+
project = "${var.project_id}"
24+
region = "${var.region}"
2325
description = "${var.job_description}"
2426
schedule = "${var.job_schedule}"
2527
time_zone = "${var.time_zone}"

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
variable "project_id" {
18-
description = "The ID of the project where this VPC will be created"
18+
description = "The ID of the project where the resources will be created"
1919
}
2020

2121
variable "job_name" {

0 commit comments

Comments
 (0)