Re: [terraform] provider aws couldn't be found

599 views
Skip to first unread message

Paul Hinze

unread,
Mar 23, 2016, 6:33:02 PM3/23/16
to terrafo...@googlegroups.com
Hi there,

This sounds like a $PATH problem - terraform uses binaries named `terraform-provider-aws` etc as part of its plugin system, so if it cannot find these binaries on the path, you'll get a message like you quoted.

Hope this helps!

Paul

On Fri, Mar 18, 2016 at 11:58 AM, Sreekumar <svr7...@gmail.com> wrote:
Hi All,

I updated the terraform to the latest version, after this when I run the terraform plan I am getting this errors "module provider aws couldn't be found, provider template couldn't be found". Is anyone facing this issue?

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/5c626891-d44a-42e5-8c23-91858511839c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Darragh Grealish

unread,
Feb 12, 2017, 12:07:11 PM2/12/17
to Terraform
Setting the PATH to GOPATH/bin wasn't enough for me, I had to explicitly add it to ~/.terraformrc as 

providers {
   aws
= "$GOPATH/bin/terraform-provider-aws"
}

after which terraform could finally find it
export TF_LOG=DEBUG can help to identify if it's really picked up

Darragh
Reply all
Reply to author
Forward
0 new messages