This guide is intended for an audience that truly wants the “quickest” way to get started with Pulumi. Other articles on the internet are more in-depth. This article serves as the least path of resistance.
Install:
For Mac:
brew install pulumi
For Windows:
choco install pulumi
For Linux:
curl -fsSL https://get.pulumi.com | sh
AWS Config:
For Linux & Mac:
export AWS_ACCESS_KEY_ID=<YOUR_ACCESS_KEY_ID> export AWS_SECRET_ACCESS_KEY=<YOUR_SECRET_ACCESS_KEY>
For Windows:
$env:AWS_ACCESS_KEY_ID = "<YOUR_ACCESS_KEY_ID>" $env:AWS_SECRET_ACCESS_KEY = "<YOUR_SECRET_ACCESS_KEY>"
Start a new project
mkdir aws-js-pulumi && cd aws-js-pulumi pulumi new aws-javascript
NOTE: Running the Pulumi new command for the first time will require you to sign up to for the service to get your token. Moreover, for individuals this is free! See Prices here: https://www.pulumi.com/pricing/
Deploy:
pulumi up
This is the absolute minimum to get started. Please review https://www.pulumi.com/ for a more detailed guide!