Skip to content

Latest commit

 

History

History
54 lines (44 loc) · 1.26 KB

pulumi-cheat-sheet.md

File metadata and controls

54 lines (44 loc) · 1.26 KB

links

alternatives

  • terraform
  • multy.dev

pulumi python

pip3 install pulumi
pip3 install pulumi_aws
pulumi login --local
pulumi login file:///app/data

pulumi login s3://<bucket-name>

check local backend

vim ~/.pulumi/credentials.json

pulumi configuration

pulumi config
pulumi config set aws:region us-east-1

create project in empty folder

pulumi new aws-python

creating virtual environment by pulumi can lead to error with apt install ...

environment settings

export AWS_ACCESS_KEY_ID=`aws configure get aws_access_key_id`
export AWS_SECRET_ACCESS_KEY=`aws configure get aws_secret_access_key`
export AWS_SESSION_TOKEN=`aws configure get aws_session_token`
# :todo: maybe pulumi doesn't work with AWS_SESSION_TOKEN
pulumi up