hashicorp / terraform-aws-vault

A Terraform Module for how to run Vault on AWS using Terraform and Packer
Apache License 2.0
659 stars 466 forks source link

No package aws available when running install-vault script #79

Open palmlines opened 6 years ago

palmlines commented 6 years ago

Hi, I'm using CentOS 7 and the package name is awscli. If there's an actual package named aws then perhaps the documentation should be updated.

https://github.com/hashicorp/terraform-aws-vault/blob/75b3b371c65df49adea295751594219a12ee077c/modules/install-vault/install-vault#L142

The user-data script was interrupted with the following error:

The binary 'aws' is required by this script but is not installed or in the system's PATH.
brikis98 commented 6 years ago

So in the epel repos it's called aws-cli and not aws?

palmlines commented 6 years ago

I'm sorry I included an extra dash in the package name(updated my comment). For CentOS 7 the package is included in the base repo. You can find it here. There's the same package name on Fedora also. I checked whether there is a package called aws under the epel repo:

sudo yum install aws
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.fra10.de.leaseweb.net
 * epel: mirror.23media.de
 * extras: mirror.netcologne.de
 * updates: mirror.checkdomain.de
No package aws available.
Error: Nothing to do

It's clear to me that the package name should be changed to awscli in that line.