Skip to content

Commit

Permalink
Merge pull request #8 from terraform-google-modules/aaron-lane-ocerve…
Browse files Browse the repository at this point in the history
…llo-patch
  • Loading branch information
aaron-lane authored Jul 3, 2019
2 parents 9ed92cf + 7891c93 commit de3989b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ You can go to the examples folder, however the usage of the module could be like

```hcl
module "scheduled-function" {
source = "terraform-google-modules/scheduled-functions/google"
source = "terraform-google-modules/scheduled-function/google"
version = "0.1.0"
project_id = "<PROJECT ID>"
job_name="<NAME_OF_JOB>"
schedule="<CRON_SYNTAX_SCHEDULE"
function_entry_point="<NAME_OF_FUNCTION>"
function_source_directory="<DIRECTORY_OF_FUNCTION_SOURCE>"
name="<RESOURCE_NAMES>"
function_name="<RESOURCE_NAMES>"
region="<REGION>"
}
```
Expand Down
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

resource "google_cloud_scheduler_job" "job" {
name = "${var.job_name}"
project = "${var.project_id}"
region = "${var.region}"
description = "${var.job_description}"
schedule = "${var.job_schedule}"
time_zone = "${var.time_zone}"
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

variable "project_id" {
description = "The ID of the project where this VPC will be created"
description = "The ID of the project where the resources will be created"
}

variable "job_name" {
Expand Down

0 comments on commit de3989b

Please sign in to comment.