Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for triggers / detect dependency changes #630

Open
dmlemos opened this issue Jun 30, 2017 · 0 comments
Open

Support for triggers / detect dependency changes #630

dmlemos opened this issue Jun 30, 2017 · 0 comments

Comments

@dmlemos
Copy link

dmlemos commented Jun 30, 2017

I'd like to be able to run a module every time a dependency module changes.

Given dummy example
main.hcl

param "users" {}
param "dep_packages" {}

module "setup-x.hcl" "setup-x" {
  params = {
    app_name = "{{param `app_name`}}"
    version = "{{param `version`}}"
  }

  depends = ["module.packages"]
}

module "packages.hcl" "packages" {
  params = {
    packages = ["{{param `dep_packages`}}"]
  }
}

Module setup-x should be trigger every time dep_packages change.

@dmlemos dmlemos changed the title Detect when dependencies change Support for triggers / detect dependency changes Jul 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant