Terragrunt: Reformat terragrunt apply-all output

Created on 19 Dec 2016  路  2Comments  路  Source: gruntwork-io/terragrunt

After using terragrunt apply-all for a bit, I'm starting to find this formatting frustrating:

Module /repos/gruntwork-clients/acme/infrastructure-live/stage/ecs-cluster depends on module /repos/gruntwork-clients/acme/infrastructure-live/mgmt/bastion-host, which is an external dependency outside of the current working directory. Should Terragrunt skip over this external dependency? Warning, if you say 'no', Terragrunt will make changes in /repos/gruntwork-clients/acme/infrastructure-live/mgmt/bastion-host as well! (y/n)

It's just a lot to read, especially when you're working fast. What do you think of a format like this?

Should Terragrunt apply the following external dependency? (y/n)

   Module:              /repos/gruntwork-clients/acme/infrastructure-live/stage/ecs-cluster
   External Dependency: /repos/gruntwork-clients/acme/infrastructure-live/mgmt/bastion-host
enhancement help wanted

Most helpful comment

Wow, 2016.
Unfortunately, logs still look unreadable

All 2 comments

I had the same concern. I like your proposed alternative. Seems clean and elegant!

Wow, 2016.
Unfortunately, logs still look unreadable

Was this page helpful?
0 / 5 - 0 ratings

Related issues

goseeped picture goseeped  路  3Comments

antonbabenko picture antonbabenko  路  3Comments

mmorianos picture mmorianos  路  3Comments

ozbillwang picture ozbillwang  路  3Comments

MacFlurry picture MacFlurry  路  4Comments