Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

Personal template for Pulumi python project

License

Notifications You must be signed in to change notification settings

peterkowalski/pulumi-template-aws-python

Repository files navigation

${PROJECT}

${DESCRIPTION}

Initial configuration

  1. Create new project directory and go to it

  2. Execute pulumi new https://github.com/peterkowalski/pulumi-template-aws-python

  3. Open workspace in Visual Studio Code using Dev Container

  4. Configure AWS credentials

  5. Remove venv directory

  6. 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}
  7. Install Python packages: poetry install

  8. Initialize git repository: git init

  9. Execute fix_template.py

  10. Install pre-commit hooks: pre-commit install

  11. Make an initial commit

Roadmap

  • Automatically remove initially created venv directory with fix_template.py
  • Automatically remove virtual environment configuration from Pulumi.yaml with fix_template.py

About

Personal template for Pulumi python project

Resources

License

Stars

Watchers

Forks

Packages

No packages published