{"action":"created","issue":{"url":"https://api.github.com/repos/gruntwork-io/terragrunt/issues/470","repository_url":"https://api.github.com/repos/gruntwork-io/terragrunt","labels_url":"https://api.github.com/repos/gruntwork-io/terragrunt/issues/470/labels{/name}","comments_url":"https://api.github.com/repos/gruntwork-io/terragrunt/issues/470/comments","events_url":"https://api.github.com/repos/gruntwork-io/terragrunt/issues/470/events","html_url":"https://github.com/gruntwork-io/terragrunt/pull/470","id":318926002,"number":470,"title":"Allow s3 remote state key to be configured in child","user":{"login":"Sprinkle","id":1852906,"avatar_url":"https://avatars2.githubusercontent.com/u/1852906?v=4","gravatar_id":"","url":"https://api.github.com/users/Sprinkle","html_url":"https://github.com/Sprinkle","followers_url":"https://api.github.com/users/Sprinkle/followers","following_url":"https://api.github.com/users/Sprinkle/following{/other_user}","gists_url":"https://api.github.com/users/Sprinkle/gists{/gist_id}","starred_url":"https://api.github.com/users/Sprinkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sprinkle/subscriptions","organizations_url":"https://api.github.com/users/Sprinkle/orgs","repos_url":"https://api.github.com/users/Sprinkle/repos","events_url":"https://api.github.com/users/Sprinkle/events{/privacy}","received_events_url":"https://api.github.com/users/Sprinkle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-30T15:11:52Z","updated_at":"2018-05-01T12:37:05Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/gruntwork-io/terragrunt/pulls/470","html_url":"https://github.com/gruntwork-io/terragrunt/pull/470","diff_url":"https://github.com/gruntwork-io/terragrunt/pull/470.diff","patch_url":"https://github.com/gruntwork-io/terragrunt/pull/470.patch"},"body":"Allows S3 remote state key to be part of the actual terraform module rather than specified in the terraform.tfvars.\r\n\r\nTo make it easier to use terraform_remote_state with nested module "},"comment":{"url":"https://api.github.com/repos/gruntwork-io/terragrunt/issues/comments/385661229","html_url":"https://github.com/gruntwork-io/terragrunt/pull/470#issuecomment-385661229","issue_url":"https://api.github.com/repos/gruntwork-io/terragrunt/issues/470","id":385661229,"user":{"login":"Sprinkle","id":1852906,"avatar_url":"https://avatars2.githubusercontent.com/u/1852906?v=4","gravatar_id":"","url":"https://api.github.com/users/Sprinkle","html_url":"https://github.com/Sprinkle","followers_url":"https://api.github.com/users/Sprinkle/followers","following_url":"https://api.github.com/users/Sprinkle/following{/other_user}","gists_url":"https://api.github.com/users/Sprinkle/gists{/gist_id}","starred_url":"https://api.github.com/users/Sprinkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sprinkle/subscriptions","organizations_url":"https://api.github.com/users/Sprinkle/orgs","repos_url":"https://api.github.com/users/Sprinkle/repos","events_url":"https://api.github.com/users/Sprinkle/events{/privacy}","received_events_url":"https://api.github.com/users/Sprinkle/received_events","type":"User","site_admin":false},"created_at":"2018-05-01T12:37:05Z","updated_at":"2018-05-01T12:37:05Z","author_association":"NONE","body":"Its a little bit like #344, say I have modules structure like below.\r\n\r\n```\r\n├── backend-app\r\n│   └── main.tf\r\n├── frontend-app\r\n│   └── main.tf\r\n├── mysql\r\n│   └── main.tf\r\n└── vpc\r\n    └── main.tf\r\n```\r\n\r\nIn each main.tf I would have a partial s3 state configured.\r\n\r\n```hcl\r\nterraform {\r\n  # The configuration for this backend will be mostly filled in by Terragrunt\r\n  backend \"s3\" {\r\n    key = \"module_name/something.tfstate\"\r\n  }\r\n}\r\n```\r\n\r\nSo if I have to move or restructure module folders, and because I use terraform_remote_state in other modules to reference various state files, this would allow flexibility to have state files follow a different structure."}}
{"actor":{"display_login":"Sprinkle"}}