{"action":"opened","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/16596","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/16596/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/16596/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/16596/events","html_url":"https://github.com/hashicorp/terraform/issues/16596","id":272327598,"number":16596,"title":"Bug: terraform init does not download module","user":{"login":"ktham","id":882701,"avatar_url":"https://avatars0.githubusercontent.com/u/882701?v=4","gravatar_id":"","url":"https://api.github.com/users/ktham","html_url":"https://github.com/ktham","followers_url":"https://api.github.com/users/ktham/followers","following_url":"https://api.github.com/users/ktham/following{/other_user}","gists_url":"https://api.github.com/users/ktham/gists{/gist_id}","starred_url":"https://api.github.com/users/ktham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktham/subscriptions","organizations_url":"https://api.github.com/users/ktham/orgs","repos_url":"https://api.github.com/users/ktham/repos","events_url":"https://api.github.com/users/ktham/events{/privacy}","received_events_url":"https://api.github.com/users/ktham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-08T19:53:32Z","updated_at":"2017-11-08T19:53:32Z","closed_at":null,"author_association":"NONE","body":"\r\n### Terraform Version\r\n0.10.8\r\n\r\n### Terraform Configuration Files\r\n```hcl\r\n# Copy-paste your Terraform configurations here.\r\n#\r\n# For large Terraform configs, please use a service like Dropbox and\r\n# share a link to the ZIP file. For security, you can also encrypt the\r\n# files using our GPG public key.\r\n```\r\n\r\n### Debug Output\r\nFull debug output can be obtained by running Terraform with the environment variable `TF_LOG=trace`. Please create a GitHub Gist containing the debug output. Please do _not_ paste the debug output in the issue, since debug output is long.\r\n\r\nDebug output may contain sensitive information. Please review it before posting publicly, and if you are concerned feel free to encrypt the files using the HashiCorp security public key.\r\n\r\n### Crash Output\r\nIf the console output indicates that Terraform crashed, please share a link to a GitHub Gist containing the output of the `crash.log` file.\r\n\r\n### Expected Behavior\r\nWhat should have happened?\r\n\r\n### Actual Behavior\r\nWhat actually happened?\r\n\r\n### Steps to Reproduce\r\n```bash\r\n➜  terraform_modules_bug git:(master) ✗ terraform workspace new w1\r\nCreated and switched to workspace \"w1\"!\r\n\r\nYou're now on a new, empty workspace. Workspaces isolate their state,\r\nso if you run \"terraform plan\" Terraform will not see any existing state\r\nfor this configuration.\r\n```\r\n\r\n```bash\r\n➜  terraform_modules_bug git:(master) ✗ terraform init workspace1\r\nDownloading modules...\r\nGet: file:///Users/kevintham/dev/terraform_modules_bug/modules1/module_a\r\nGet: file:///Users/kevintham/dev/terraform_modules_bug/modules1/base\r\n\r\nTerraform has been successfully initialized!\r\n\r\nYou may now begin working with Terraform. Try running \"terraform plan\" to see\r\nany changes that are required for your infrastructure. All Terraform commands\r\nshould now work.\r\n\r\nIf you ever set or change modules or backend configuration for Terraform,\r\nrerun this command to reinitialize your working directory. If you forget, other\r\ncommands will detect it and remind you to do so if necessary.\r\n```\r\n\r\n➜  terraform_modules_bug git:(master) ✗ terraform workspace new w2\r\nCreated and switched to workspace \"w2\"!\r\n\r\nYou're now on a new, empty workspace. Workspaces isolate their state,\r\nso if you run \"terraform plan\" Terraform will not see any existing state\r\nfor this configuration.\r\n➜  terraform_modules_bug git:(master) ✗ terraform init workspace2\r\nDownloading modules...\r\nGet: file:///Users/kevintham/dev/terraform_modules_bug/modules2/module_b\r\nError getting plugins: module root:\r\n  module example.root: module base: bar is not a valid parameter\r\n```\r\n### Important Factoids\r\nAre there anything atypical about your situation that we should know? For example: is Terraform running in a wrapper script or in a CI system? Are you passing any unusual command line options or environment variables to opt-in to non-default behavior?\r\n\r\n### References\r\nAre there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:\r\n- #6017\r\n"}}
{"actor":{"display_login":"ktham"}}