{"action":"closed","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/9358","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/9358/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/9358/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/9358/events","html_url":"https://github.com/hashicorp/terraform/issues/9358","id":182882415,"number":9358,"title":"Automatically call `terraform get`","user":{"login":"Supernomad","id":2998524,"avatar_url":"https://avatars.githubusercontent.com/u/2998524?v=3","gravatar_id":"","url":"https://api.github.com/users/Supernomad","html_url":"https://github.com/Supernomad","followers_url":"https://api.github.com/users/Supernomad/followers","following_url":"https://api.github.com/users/Supernomad/following{/other_user}","gists_url":"https://api.github.com/users/Supernomad/gists{/gist_id}","starred_url":"https://api.github.com/users/Supernomad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Supernomad/subscriptions","organizations_url":"https://api.github.com/users/Supernomad/orgs","repos_url":"https://api.github.com/users/Supernomad/repos","events_url":"https://api.github.com/users/Supernomad/events{/privacy}","received_events_url":"https://api.github.com/users/Supernomad/received_events","type":"User","site_admin":false},"labels":[{"id":127939292,"url":"https://api.github.com/repos/hashicorp/terraform/labels/core","name":"core","color":"cccccc","default":false},{"id":85946959,"url":"https://api.github.com/repos/hashicorp/terraform/labels/enhancement","name":"enhancement","color":"d4c5f9","default":true},{"id":85946961,"url":"https://api.github.com/repos/hashicorp/terraform/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-13T19:45:18Z","updated_at":"2016-12-04T02:52:44Z","closed_at":"2016-12-04T02:52:44Z","body":"### Description\n\nI have been using terraform for a while now and have really used the module subsystem to great success, however there is one, quite honestly, infuriating issue where I have to litter `terraform get` throughout all of my CI scripts and configuration management. This is not the biggest deal in the world, but I am curious as to why this is the case. It is very apparent that terraform knows that the module doesn't exist, and its at least conceivable that it could quite easily run the get call automatically. Also this could only happen on the initial get, which would quell any issues regarding versioning.\n\nThat being said, I believe i am just missing something that makes this undesirable and/or impossible. Any clues as to what that something is?\n### Terraform Version\n\n``` shell\n$ terraform -v\nTerraform v0.7.4\n```\n### Affected Resource(s)\n\nThis specifically pertains to the module setup.\n### Expected Behavior\n\nI am expecting that if a given terraform module does not already exist that `terraform apply` would automatically grab this module from where ever it resides, whether that is locally or from some remote source. \n### Actual Behavior\n\nYou must call `terraform get` which is just odd as terraform obviously knows that it needs the module, and indeed knows exactly where to get it from.\n### References\n\nAfter a quick search I couldn't find anything about this, but please forgive me if I missed it.\n"}}
{"actor":{"display_login":"mitchellh"}}