Browse the Repo

file-type-icon.circleci
file-type-icon.github
file-type-icon_ci
file-type-iconexamples
file-type-iconmodules
file-type-icontest
file-type-icon.gitignore
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.md
file-type-iconbootstrap-gruntwork-installer.sh
file-type-icongruntwork-install

Browse the Repo

file-type-icon.circleci
file-type-icon.github
file-type-icon_ci
file-type-iconexamples
file-type-iconmodules
file-type-icontest
file-type-icon.gitignore
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.md
file-type-iconbootstrap-gruntwork-installer.sh
file-type-icongruntwork-install
Gruntwork Installer

Gruntwork Installer

A script for easy installation of Gruntwork Modules.

Code Preview

Preview the Code

mobile file icon

bootstrap-gruntwork-installer.sh

down
  • #!/bin/bash
  • #
  • # A bootstrap script to install the Gruntwork Installer.
  • #
  • # Usage:
  • #
  • # curl -LsS https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/v0.0.38/bootstrap-gruntwork-installer.sh | bash /dev/stdin --version v0.0.38
  • #
  • # Rationale:
  • #
  • # The Gruntwork Installer makes installing Gruntwork Script Modules as easy as installing a package using apt-get,
  • # brew, or yum. However, something has to install the Gruntwork Installer first. One option is for each Gruntwork
  • # client to do so manually, which would basically entail copying and pasting all the code below. This is tedious and
  • # gives us no good way to push updates to this bootstrap script.
  • #
  • # So instead, we recommend that clients use this tiny bootstrap script.
  • #
  • # In your Packer and Docker templates, you can use the above one-liner to install the Gruntwork Installer, and then
  • # start using the `gruntwork-install` command immediately.
  • set -e
  • readonly BIN_DIR="/usr/local/bin"
  • readonly USER_DATA_DIR="/etc/user-data"

Questions? Ask away.

We're here to talk about our services, answer any questions, give advice, or just to chat.

Ready to hand off the Gruntwork?