This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Assume the given role, and print out a set of environment variables | |
# for use with aws cli. | |
# | |
# To use: | |
# | |
# $ eval $(./iam-assume-role.sh) | |
# |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
sudo -u ec2-user -i <<'EOP' | |
## INSTALL THEIA IDE FROM SOURCE | |
EC2_HOME=/home/ec2-user | |
mkdir ${EC2_HOME}/theia && cd ${EC2_HOME}/theia | |
### begin by installing NVM, NodeJS v10, and Yarn | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.5/install.sh | bash |