Skip to content

Commit

Permalink
Revert "chore: use yum to install node js on EC2 in terraform user data"
Browse files Browse the repository at this point in the history
This reverts commit e7aee86.
  • Loading branch information
mxinden committed Aug 21, 2023
1 parent aa03eee commit daae7f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions perf/terraform/configs/local/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions perf/terraform/modules/long_lived/files/user-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ sudo systemctl start docker
sudo usermod -aG docker ec2-user

# Taken from https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/setting-up-node-on-ec2-instance.html
curl -fsSL https://rpm.nodesource.com/setup_lts.x | sudo bash -
sudo yum install -y nodejs
curl -o- https://github.com/raw/nvm-sh/nvm/v0.39.3/install.sh | bash
. ~/.nvm/nvm.sh
nvm install --lts

0 comments on commit daae7f9

Please sign in to comment.