- terraform
- multy.dev
pip3 install pulumi
pip3 install pulumi_aws
pulumi login --local
pulumi login file:///app/data
pulumi login s3://<bucket-name>
vim ~/.pulumi/credentials.json
pulumi config
pulumi config set aws:region us-east-1
pulumi new aws-python
creating virtual environment by pulumi can lead to error with
apt install ...
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