Skip to content

Commit

Permalink
Merge pull request #23 from gruntwork-io/yori-pex-hook
Browse files Browse the repository at this point in the history
Add output so that resources can hook to pex resource
  • Loading branch information
yorinasub17 authored Jan 6, 2020
2 parents 5e47246 + 92878bc commit e77be81
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/run-pex-as-resource/outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
output "pex_done" {
description = "This output is populated when the pex script successfully runs to completion. As such, it can be used to register hooks for terraform resources to depend on the pex execution."
value = var.enabled ? null_resource.run_pex[0].id : null
}

0 comments on commit e77be81

Please sign in to comment.