${DESCRIPTION}
-
Create new project directory and go to it
-
Execute
pulumi new https://github.com/peterkowalski/pulumi-template-aws-python
-
Open workspace in Visual Studio Code using Dev Container
-
Configure AWS credentials
-
Remove
venv
directory -
Remove virtual environment configuration from
Pulumi.yaml
BEFORE:
name: ${PROJECT} runtime: name: python options: virtualenv: venv main: src/ description: ${DESCRIPTION}
AFTER:
name: ${PROJECT} runtime: name: python main: src/ description: ${DESCRIPTION}
-
Install Python packages:
poetry install
-
Initialize git repository:
git init
-
Execute
fix_template.py
-
Install
pre-commit
hooks:pre-commit install
-
Make an initial commit
- Automatically remove initially created
venv
directory withfix_template.py
- Automatically remove virtual environment configuration from
Pulumi.yaml
withfix_template.py