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

peterkowalski/pulumi-python-s3state

Repository files navigation

pulumi-python-s3state

Python Pulumi program that defines S3 state bucket and KMS key

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: pulumi-python-s3state
    runtime:
    name: python
    options:
        virtualenv: venv
    main: src/
    description: Python Pulumi program that defines S3 state bucket and KMS key

    AFTER:

    name: pulumi-python-s3state
    runtime:
      name: python
    main: src/
    description: Python Pulumi program that defines S3 state bucket and KMS key
  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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages