Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
install boto3 on amzn2
Browse files Browse the repository at this point in the history
  • Loading branch information
edtan committed Mar 28, 2019
1 parent b00b4cc commit bf79aa9
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions examples/vault-consul-ami/vault-consul.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,23 @@
},{
"type": "shell",
"inline": [
"sudo yum install -y git python2-pip"
"sudo yum install -y git",
"if [ '{{user `install_auth_signing_script`}}' = 'true' ]; then",
"sudo yum install -y python2-pip",
"LC_ALL=C && sudo pip install boto3",
"fi"
],
"only": ["amazon-linux-2-ami"]
},{
"type": "shell",
"inline": ["mkdir -p /tmp/terraform-aws-consul/modules"]
},{
"type": "file",
"source": "/home/ed/go/src/github.com/hashicorp/terraform-aws-consul/modules/",
"destination": "/tmp/terraform-aws-consul/modules"
},{
"type": "shell",
"inline": [
"git clone --branch {{user `consul_module_version`}} https://github.com/hashicorp/terraform-aws-consul.git /tmp/terraform-aws-consul",
"if test -n \"{{user `consul_download_url`}}\"; then",
" /tmp/terraform-aws-consul/modules/install-consul/install-consul --download-url {{user `consul_download_url`}};",
"else",
Expand Down

0 comments on commit bf79aa9

Please sign in to comment.