Skip to content

Commit

Permalink
Merge pull request #30 from ocervell/fix-29
Browse files Browse the repository at this point in the history
Fix issue #29
  • Loading branch information
morgante authored Dec 20, 2019
2 parents 7aacc62 + db1b110 commit 30d44a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning][semver-site].

### Added

- The `scheduler_job` variable, the `scheduler_job` output, and the `pubsub_topic_name` output to enable linking multiple
- The `scheduler_job` variable, the `scheduler_job` output, and the `pubsub_topic_name` output to enable linking multiple
instances of the module to the same Cloud Scheduler job. [#15]

## [1.3.0] - 2019-12-18
Expand Down
4 changes: 2 additions & 2 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
*/

output "name" {
value = var.scheduler_job == null ? google_cloud_scheduler_job.job.0.name : var.scheduler_job.name
value = length(google_cloud_scheduler_job.job) > 0 ? google_cloud_scheduler_job.job.0.name : null
description = "The name of the job created"
}

output "scheduler_job" {
value = var.scheduler_job == null ? google_cloud_scheduler_job.job : var.scheduler_job
value = length(google_cloud_scheduler_job.job) > 0 ? google_cloud_scheduler_job.job.0 : null
description = "The Cloud Scheduler job instance"
}

Expand Down

0 comments on commit 30d44a6

Please sign in to comment.