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

Comments

Projects
None yet
1 participant
@dmlemos

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 from Detect when dependencies change to 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