{"action":"created","comment":{"url":"https://api.github.com/repos/gruntwork-io/terragrunt/pulls/comments/90980689","pull_request_review_id":11491614,"id":90980689,"diff_hunk":"@@ -465,6 +591,8 @@ prefix `--terragrunt-`. The currently available options are:\n   environment variable. The default path is `.terragrunt` in the current directory.\n * `--terragrunt-non-interactive`: Don't show interactive user prompts. This will default the answer for all prompts to \n   'yes'. Useful if you need to run Terragrunt in an automated setting (e.g. from a script).  \n+* `--terragrunt-working-dir`: Set the directory where Terragrunt should execute the `terraform` command. Default is the\n+  current working directory.","path":"README.md","position":154,"original_position":154,"commit_id":"ce841666a78eacf1b3ca5aeec40b542e1c4e0514","original_commit_id":"ce841666a78eacf1b3ca5aeec40b542e1c4e0514","user":{"login":"josh-padnick","id":4295964,"avatar_url":"https://avatars.githubusercontent.com/u/4295964?v=3","gravatar_id":"","url":"https://api.github.com/users/josh-padnick","html_url":"https://github.com/josh-padnick","followers_url":"https://api.github.com/users/josh-padnick/followers","following_url":"https://api.github.com/users/josh-padnick/following{/other_user}","gists_url":"https://api.github.com/users/josh-padnick/gists{/gist_id}","starred_url":"https://api.github.com/users/josh-padnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josh-padnick/subscriptions","organizations_url":"https://api.github.com/users/josh-padnick/orgs","repos_url":"https://api.github.com/users/josh-padnick/repos","events_url":"https://api.github.com/users/josh-padnick/events{/privacy}","received_events_url":"https://api.github.com/users/josh-padnick/received_events","type":"User","site_admin":false},"body":"This description is now a little ambiguous given the `spin-up` functionality. Is \"where Terragrunt should execute the `terraform` command\" the \"root\" folder, or each individual folder. I know it's root, but consider clarifying or rewording.","created_at":"2016-12-05T23:30:10Z","updated_at":"2016-12-05T23:38:49Z","html_url":"https://github.com/gruntwork-io/terragrunt/pull/60#discussion_r90980689","pull_request_url":"https://api.github.com/repos/gruntwork-io/terragrunt/pulls/60","_links":{"self":{"href":"https://api.github.com/repos/gruntwork-io/terragrunt/pulls/comments/90980689"},"html":{"href":"https://github.com/gruntwork-io/terragrunt/pull/60#discussion_r90980689"},"pull_request":{"href":"https://api.github.com/repos/gruntwork-io/terragrunt/pulls/60"}}},"pull_request":{"url":"https://api.github.com/repos/gruntwork-io/terragrunt/pulls/60","id":95991771,"html_url":"https://github.com/gruntwork-io/terragrunt/pull/60","diff_url":"https://github.com/gruntwork-io/terragrunt/pull/60.diff","patch_url":"https://github.com/gruntwork-io/terragrunt/pull/60.patch","issue_url":"https://api.github.com/repos/gruntwork-io/terragrunt/issues/60","number":60,"state":"open","locked":false,"title":"Add spin-up and tear-down commands","user":{"login":"brikis98","id":711908,"avatar_url":"https://avatars.githubusercontent.com/u/711908?v=3","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},"body":"This PR adds `spin-up` and `tear-down` commands to Terragrunt that can be used to run `terragrunt apply` or `terragrunt destroy`, respectively, in a bunch of subfolders in parallel. This way, even if you have your Terraform code defined in separate modules to get isolation, you can still deploy or undeploy an entire environment in a single command.\n\nTo manage dependencies between modules (e.g. VPC must be deployed before an app), the `.terragrunt` config now lets you specify a `dependencies` block with a list of paths that must be deployed before the current module.\n\nThis was quite a bit more work than I originally expected. In particular, it took a while to write tests for this, and it’s good that I did, as they flushed out a huge number of very subtle bugs (and more may be lurking!).\n\nThis fixes #45. It’s an incremental solution for it, anyway.","created_at":"2016-11-30T22:58:33Z","updated_at":"2016-12-05T23:38:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c8b98db549ca2cf16bd71cfc95befb9763c97d66","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/gruntwork-io/terragrunt/pulls/60/commits","review_comments_url":"https://api.github.com/repos/gruntwork-io/terragrunt/pulls/60/comments","review_comment_url":"https://api.github.com/repos/gruntwork-io/terragrunt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gruntwork-io/terragrunt/issues/60/comments","statuses_url":"https://api.github.com/repos/gruntwork-io/terragrunt/statuses/ce841666a78eacf1b3ca5aeec40b542e1c4e0514","head":{"label":"gruntwork-io:spin","ref":"spin","sha":"ce841666a78eacf1b3ca5aeec40b542e1c4e0514","user":{"login":"gruntwork-io","id":17118990,"avatar_url":"https://avatars.githubusercontent.com/u/17118990?v=3","gravatar_id":"","url":"https://api.github.com/users/gruntwork-io","html_url":"https://github.com/gruntwork-io","followers_url":"https://api.github.com/users/gruntwork-io/followers","following_url":"https://api.github.com/users/gruntwork-io/following{/other_user}","gists_url":"https://api.github.com/users/gruntwork-io/gists{/gist_id}","starred_url":"https://api.github.com/users/gruntwork-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gruntwork-io/subscriptions","organizations_url":"https://api.github.com/users/gruntwork-io/orgs","repos_url":"https://api.github.com/users/gruntwork-io/repos","events_url":"https://api.github.com/users/gruntwork-io/events{/privacy}","received_events_url":"https://api.github.com/users/gruntwork-io/received_events","type":"Organization","site_admin":false},"repo":{"id":59522149,"name":"terragrunt","full_name":"gruntwork-io/terragrunt","owner":{"login":"gruntwork-io","id":17118990,"avatar_url":"https://avatars.githubusercontent.com/u/17118990?v=3","gravatar_id":"","url":"https://api.github.com/users/gruntwork-io","html_url":"https://github.com/gruntwork-io","followers_url":"https://api.github.com/users/gruntwork-io/followers","following_url":"https://api.github.com/users/gruntwork-io/following{/other_user}","gists_url":"https://api.github.com/users/gruntwork-io/gists{/gist_id}","starred_url":"https://api.github.com/users/gruntwork-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gruntwork-io/subscriptions","organizations_url":"https://api.github.com/users/gruntwork-io/orgs","repos_url":"https://api.github.com/users/gruntwork-io/repos","events_url":"https://api.github.com/users/gruntwork-io/events{/privacy}","received_events_url":"https://api.github.com/users/gruntwork-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gruntwork-io/terragrunt","description":"Terragrunt is a thin wrapper for Terraform that supports locking for Terraform state and enforces best practices.","fork":false,"url":"https://api.github.com/repos/gruntwork-io/terragrunt","forks_url":"https://api.github.com/repos/gruntwork-io/terragrunt/forks","keys_url":"https://api.github.com/repos/gruntwork-io/terragrunt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gruntwork-io/terragrunt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gruntwork-io/terragrunt/teams","hooks_url":"https://api.github.com/repos/gruntwork-io/terragrunt/hooks","issue_events_url":"https://api.github.com/repos/gruntwork-io/terragrunt/issues/events{/number}","events_url":"https://api.github.com/repos/gruntwork-io/terragrunt/events","assignees_url":"https://api.github.com/repos/gruntwork-io/terragrunt/assignees{/user}","branches_url":"https://api.github.com/repos/gruntwork-io/terragrunt/branches{/branch}","tags_url":"https://api.github.com/repos/gruntwork-io/terragrunt/tags","blobs_url":"https://api.github.com/repos/gruntwork-io/terragrunt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gruntwork-io/terragrunt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gruntwork-io/terragrunt/git/refs{/sha}","trees_url":"https://api.github.com/repos/gruntwork-io/terragrunt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gruntwork-io/terragrunt/statuses/{sha}","languages_url":"https://api.github.com/repos/gruntwork-io/terragrunt/languages","stargazers_url":"https://api.github.com/repos/gruntwork-io/terragrunt/stargazers","contributors_url":"https://api.github.com/repos/gruntwork-io/terragrunt/contributors","subscribers_url":"https://api.github.com/repos/gruntwork-io/terragrunt/subscribers","subscription_url":"https://api.github.com/repos/gruntwork-io/terragrunt/subscription","commits_url":"https://api.github.com/repos/gruntwork-io/terragrunt/commits{/sha}","git_commits_url":"https://api.github.com/repos/gruntwork-io/terragrunt/git/commits{/sha}","comments_url":"https://api.github.com/repos/gruntwork-io/terragrunt/comments{/number}","issue_comment_url":"https://api.github.com/repos/gruntwork-io/terragrunt/issues/comments{/number}","contents_url":"https://api.github.com/repos/gruntwork-io/terragrunt/contents/{+path}","compare_url":"https://api.github.com/repos/gruntwork-io/terragrunt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gruntwork-io/terragrunt/merges","archive_url":"https://api.github.com/repos/gruntwork-io/terragrunt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gruntwork-io/terragrunt/downloads","issues_url":"https://api.github.com/repos/gruntwork-io/terragrunt/issues{/number}","pulls_url":"https://api.github.com/repos/gruntwork-io/terragrunt/pulls{/number}","milestones_url":"https://api.github.com/repos/gruntwork-io/terragrunt/milestones{/number}","notifications_url":"https://api.github.com/repos/gruntwork-io/terragrunt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gruntwork-io/terragrunt/labels{/name}","releases_url":"https://api.github.com/repos/gruntwork-io/terragrunt/releases{/id}","deployments_url":"https://api.github.com/repos/gruntwork-io/terragrunt/deployments","created_at":"2016-05-23T22:17:48Z","updated_at":"2016-12-04T15:34:44Z","pushed_at":"2016-12-05T11:01:57Z","git_url":"git://github.com/gruntwork-io/terragrunt.git","ssh_url":"git@github.com:gruntwork-io/terragrunt.git","clone_url":"https://github.com/gruntwork-io/terragrunt.git","svn_url":"https://github.com/gruntwork-io/terragrunt","homepage":"http://www.gruntwork.io","size":239,"stargazers_count":242,"watchers_count":242,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":15,"forks":22,"open_issues":15,"watchers":242,"default_branch":"master"}},"base":{"label":"gruntwork-io:master","ref":"master","sha":"ccb0fbd95959698bb52fa27cddbb1737b4e6245d","user":{"login":"gruntwork-io","id":17118990,"avatar_url":"https://avatars.githubusercontent.com/u/17118990?v=3","gravatar_id":"","url":"https://api.github.com/users/gruntwork-io","html_url":"https://github.com/gruntwork-io","followers_url":"https://api.github.com/users/gruntwork-io/followers","following_url":"https://api.github.com/users/gruntwork-io/following{/other_user}","gists_url":"https://api.github.com/users/gruntwork-io/gists{/gist_id}","starred_url":"https://api.github.com/users/gruntwork-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gruntwork-io/subscriptions","organizations_url":"https://api.github.com/users/gruntwork-io/orgs","repos_url":"https://api.github.com/users/gruntwork-io/repos","events_url":"https://api.github.com/users/gruntwork-io/events{/privacy}","received_events_url":"https://api.github.com/users/gruntwork-io/received_events","type":"Organization","site_admin":false},"repo":{"id":59522149,"name":"terragrunt","full_name":"gruntwork-io/terragrunt","owner":{"login":"gruntwork-io","id":17118990,"avatar_url":"https://avatars.githubusercontent.com/u/17118990?v=3","gravatar_id":"","url":"https://api.github.com/users/gruntwork-io","html_url":"https://github.com/gruntwork-io","followers_url":"https://api.github.com/users/gruntwork-io/followers","following_url":"https://api.github.com/users/gruntwork-io/following{/other_user}","gists_url":"https://api.github.com/users/gruntwork-io/gists{/gist_id}","starred_url":"https://api.github.com/users/gruntwork-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gruntwork-io/subscriptions","organizations_url":"https://api.github.com/users/gruntwork-io/orgs","repos_url":"https://api.github.com/users/gruntwork-io/repos","events_url":"https://api.github.com/users/gruntwork-io/events{/privacy}","received_events_url":"https://api.github.com/users/gruntwork-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gruntwork-io/terragrunt","description":"Terragrunt is a thin wrapper for Terraform that supports locking for Terraform state and enforces best practices.","fork":false,"url":"https://api.github.com/repos/gruntwork-io/terragrunt","forks_url":"https://api.github.com/repos/gruntwork-io/terragrunt/forks","keys_url":"https://api.github.com/repos/gruntwork-io/terragrunt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gruntwork-io/terragrunt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gruntwork-io/terragrunt/teams","hooks_url":"https://api.github.com/repos/gruntwork-io/terragrunt/hooks","issue_events_url":"https://api.github.com/repos/gruntwork-io/terragrunt/issues/events{/number}","events_url":"https://api.github.com/repos/gruntwork-io/terragrunt/events","assignees_url":"https://api.github.com/repos/gruntwork-io/terragrunt/assignees{/user}","branches_url":"https://api.github.com/repos/gruntwork-io/terragrunt/branches{/branch}","tags_url":"https://api.github.com/repos/gruntwork-io/terragrunt/tags","blobs_url":"https://api.github.com/repos/gruntwork-io/terragrunt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gruntwork-io/terragrunt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gruntwork-io/terragrunt/git/refs{/sha}","trees_url":"https://api.github.com/repos/gruntwork-io/terragrunt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gruntwork-io/terragrunt/statuses/{sha}","languages_url":"https://api.github.com/repos/gruntwork-io/terragrunt/languages","stargazers_url":"https://api.github.com/repos/gruntwork-io/terragrunt/stargazers","contributors_url":"https://api.github.com/repos/gruntwork-io/terragrunt/contributors","subscribers_url":"https://api.github.com/repos/gruntwork-io/terragrunt/subscribers","subscription_url":"https://api.github.com/repos/gruntwork-io/terragrunt/subscription","commits_url":"https://api.github.com/repos/gruntwork-io/terragrunt/commits{/sha}","git_commits_url":"https://api.github.com/repos/gruntwork-io/terragrunt/git/commits{/sha}","comments_url":"https://api.github.com/repos/gruntwork-io/terragrunt/comments{/number}","issue_comment_url":"https://api.github.com/repos/gruntwork-io/terragrunt/issues/comments{/number}","contents_url":"https://api.github.com/repos/gruntwork-io/terragrunt/contents/{+path}","compare_url":"https://api.github.com/repos/gruntwork-io/terragrunt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gruntwork-io/terragrunt/merges","archive_url":"https://api.github.com/repos/gruntwork-io/terragrunt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gruntwork-io/terragrunt/downloads","issues_url":"https://api.github.com/repos/gruntwork-io/terragrunt/issues{/number}","pulls_url":"https://api.github.com/repos/gruntwork-io/terragrunt/pulls{/number}","milestones_url":"https://api.github.com/repos/gruntwork-io/terragrunt/milestones{/number}","notifications_url":"https://api.github.com/repos/gruntwork-io/terragrunt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gruntwork-io/terragrunt/labels{/name}","releases_url":"https://api.github.com/repos/gruntwork-io/terragrunt/releases{/id}","deployments_url":"https://api.github.com/repos/gruntwork-io/terragrunt/deployments","created_at":"2016-05-23T22:17:48Z","updated_at":"2016-12-04T15:34:44Z","pushed_at":"2016-12-05T11:01:57Z","git_url":"git://github.com/gruntwork-io/terragrunt.git","ssh_url":"git@github.com:gruntwork-io/terragrunt.git","clone_url":"https://github.com/gruntwork-io/terragrunt.git","svn_url":"https://github.com/gruntwork-io/terragrunt","homepage":"http://www.gruntwork.io","size":239,"stargazers_count":242,"watchers_count":242,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":15,"forks":22,"open_issues":15,"watchers":242,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gruntwork-io/terragrunt/pulls/60"},"html":{"href":"https://github.com/gruntwork-io/terragrunt/pull/60"},"issue":{"href":"https://api.github.com/repos/gruntwork-io/terragrunt/issues/60"},"comments":{"href":"https://api.github.com/repos/gruntwork-io/terragrunt/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/gruntwork-io/terragrunt/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/gruntwork-io/terragrunt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gruntwork-io/terragrunt/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/gruntwork-io/terragrunt/statuses/ce841666a78eacf1b3ca5aeec40b542e1c4e0514"}}}}
{"actor":{"display_login":"josh-padnick"}}