Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation Error | invalid module source #15

Closed
nhomble opened this issue Oct 7, 2021 · 0 comments · Fixed by #18
Closed

Documentation Error | invalid module source #15

nhomble opened this issue Oct 7, 2021 · 0 comments · Fixed by #18
Labels
bug 🐛 An issue with the system

Comments

@nhomble
Copy link

nhomble commented Oct 7, 2021

I blindly copy-pasted your example snippet and wasn't able to init.

$ cd $(mktemp -d)
$ cat << EOF > repro.tf
> module "example" {
>   source = "https://github.com/cloudposse/terraform-example-module.git?ref=master"
>   example = "Hello world!"
> }
> EOF
$ terraform init
Downloading https://github.com/cloudposse/terraform-example-module.git?ref=master for example...
╷
│ Error: Failed to download module
│
│ Could not download module "example" (repro.tf:1) source code from "https://github.com/cloudposse/terraform-example-module.git?ref=master": error downloading
│ 'https://github.com/cloudposse/terraform-example-module.git?ref=master': no source URL was returned
╵

╷
│ Error: Failed to download module
│
│ Could not download module "example" (repro.tf:1) source code from "https://github.com/cloudposse/terraform-example-module.git?ref=master": error downloading
│ 'https://github.com/cloudposse/terraform-example-module.git?ref=master': no source URL was returned
╵
$ terraform version
Terraform v1.0.5
@nhomble nhomble added the bug 🐛 An issue with the system label Oct 7, 2021
@Nuru Nuru closed this as completed in #18 Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant