Terraform binary issue

1,143 views
Skip to first unread message

Sivakumar krishnamoorthy

unread,
Nov 10, 2017, 3:17:01 PM11/10/17
to Terraform
Hi ,

I downloaded terraform binary- terraform_0.10.7_linux_amd64.zip for upgrade   on my mac  and when i execute   it , I  get following error.


./terraform
-bash: ./terraform: cannot execute binary file

I have  changed  t chmod +x terraform 

Currently  the  version is 
terraform -version
Terraform v0.7.13

Your version of Terraform is out of date! The latest version
is 0.10.8. You can update by downloading from www.terraform.io. Can you pls help me out  what causes the  issue?

Thanks

Fernando Miguel

unread,
Nov 11, 2017, 4:59:27 AM11/11/17
to terrafo...@googlegroups.com
You seem to have downloaded the Linux version not the mac one.

Also you will be jumping a considerable amount of versions forward and most of your existing code will not work.

-- 
Fernando Miguel
--
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/40031757-1bb8-49f2-8008-e2bd071c2ced%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Khalid Hosein

unread,
Nov 11, 2017, 9:45:04 AM11/11/17
to Terraform


On Saturday, November 11, 2017 at 4:59:27 AM UTC-5, Fernando wrote:

Also you will be jumping a considerable amount of versions forward and most of your existing code will not work.

This is an important point. I'd step incrementally from 0.7.x to 0.8.x to 0.9.x to 0.10.x, adjusting your code and processes/workflow along the way to ensure it still works.

So that it's easier to maintain multiple projects requiring diff versions of Terraform, I recommend using tfenv. It's very easy to set up and use, and helps you avoid human error.

Sivakumar krishnamoorthy

unread,
Nov 15, 2017, 5:09:12 PM11/15/17
to terrafo...@googlegroups.com
Thanks for all the comments!!
Finally I fixed  with terraform Mac version 

Sent from my iPhone
--
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 a topic in the Google Groups "Terraform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/terraform-tool/lHYtLlK7WlI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/3bb60385-98d7-46ad-a19c-2997b8eb0d5d%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages