{"action":"created","issue":{"url":"https://api.github.com/repos/gruntwork-io/terragrunt/issues/412","repository_url":"https://api.github.com/repos/gruntwork-io/terragrunt","labels_url":"https://api.github.com/repos/gruntwork-io/terragrunt/issues/412/labels{/name}","comments_url":"https://api.github.com/repos/gruntwork-io/terragrunt/issues/412/comments","events_url":"https://api.github.com/repos/gruntwork-io/terragrunt/issues/412/events","html_url":"https://github.com/gruntwork-io/terragrunt/issues/412","id":293958108,"number":412,"title":"Tooling to Enforce good workflow?","user":{"login":"john-mcgowan-wowza","id":17169174,"avatar_url":"https://avatars3.githubusercontent.com/u/17169174?v=4","gravatar_id":"","url":"https://api.github.com/users/john-mcgowan-wowza","html_url":"https://github.com/john-mcgowan-wowza","followers_url":"https://api.github.com/users/john-mcgowan-wowza/followers","following_url":"https://api.github.com/users/john-mcgowan-wowza/following{/other_user}","gists_url":"https://api.github.com/users/john-mcgowan-wowza/gists{/gist_id}","starred_url":"https://api.github.com/users/john-mcgowan-wowza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-mcgowan-wowza/subscriptions","organizations_url":"https://api.github.com/users/john-mcgowan-wowza/orgs","repos_url":"https://api.github.com/users/john-mcgowan-wowza/repos","events_url":"https://api.github.com/users/john-mcgowan-wowza/events{/privacy}","received_events_url":"https://api.github.com/users/john-mcgowan-wowza/received_events","type":"User","site_admin":false},"labels":[{"id":381296950,"url":"https://api.github.com/repos/gruntwork-io/terragrunt/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":381296951,"url":"https://api.github.com/repos/gruntwork-io/terragrunt/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-02T17:06:34Z","updated_at":"2018-02-03T00:46:36Z","closed_at":null,"author_association":"NONE","body":"This isn't really an issue, but thought this would be a good place to add this question.\r\n\r\nI've been working with tg for a couple weeks now and I really like it.  It really helps keep me sane while managing my tf environments.\r\n\r\nI was wondering if it would be useful for terragrunt to have options to help enforce good workflow practices?  For example, a pre-apply check that makes sure that if you're in a git repo it's fully up to date with origin and everything is committed/pushed?\r\n\r\nPersonally I've started to build this sort of tooling with Rake and I really like it.\r\n\r\nI've also enabled the Rakefile to automatically infer a terragrunt-source param when I pass it a flag that says I want to use a local copy of the tf module. \r\n\r\nI would love it if I didn't have to use another tool to do these sorts of things and just wondering what the TG authors would think about this type of [optional] functionality being added to tg?"},"comment":{"url":"https://api.github.com/repos/gruntwork-io/terragrunt/issues/comments/362753889","html_url":"https://github.com/gruntwork-io/terragrunt/issues/412#issuecomment-362753889","issue_url":"https://api.github.com/repos/gruntwork-io/terragrunt/issues/412","id":362753889,"user":{"login":"brikis98","id":711908,"avatar_url":"https://avatars1.githubusercontent.com/u/711908?v=4","gravatar_id":"","url":"https://api.github.com/users/brikis98","html_url":"https://github.com/brikis98","followers_url":"https://api.github.com/users/brikis98/followers","following_url":"https://api.github.com/users/brikis98/following{/other_user}","gists_url":"https://api.github.com/users/brikis98/gists{/gist_id}","starred_url":"https://api.github.com/users/brikis98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brikis98/subscriptions","organizations_url":"https://api.github.com/users/brikis98/orgs","repos_url":"https://api.github.com/users/brikis98/repos","events_url":"https://api.github.com/users/brikis98/events{/privacy}","received_events_url":"https://api.github.com/users/brikis98/received_events","type":"User","site_admin":false},"created_at":"2018-02-03T00:46:36Z","updated_at":"2018-02-03T00:46:36Z","author_association":"CONTRIBUTOR","body":"> Am I right in assuming that we'd never really want to have terragrunt smart enough to check something like the status of the git repo and that kind of functionality would be farmed out to external scripts/programs.\r\n\r\nI think it would make sense to start with generic patterns, such as hooks, as those would be useful for just about all cases.\r\n\r\nChecking git status is definitely more specialized, but if there is enough interest in it, it might make sense to add. That said, a bash script to check git status would likely be just a few lines, and easy to use from a Terragrunt \"hook\" too."}}
{"actor":{"display_login":"brikis98"}}