ibm-cloud-architecture / terraform-icp-aws

This Terraform configurations uses the AWS provider to provision virtual machines on AWS to prepare VMs and deploy IBM Cloud Private on them. This Terraform template automates best practices learned from installing ICP on AWS at numerous client sites in production.
9 stars 30 forks source link

Terraform failed on Ubuntu system without AWS CLI already installed locally #7

Open osowski opened 6 years ago

osowski commented 6 years ago

Running the Terraform on an Ubuntu 16.04 system without the AWS CLI already installed failed with the attached error in the image. There is an error when the AWS CLI install is executed and never completes.

A simple workaround is to install the AWS CLI manually and either startover or rerun the Terraform. The AWS CLI should either be a pre-req with a hard fail on not existing (before any other resource creation) or this should be handled more gracefully in the local-exec provisioner.

screen shot 2018-09-19 at 10 16 26 am