Skip to main content

TPD Pete is a AWS Deployment tool for AWS Cloudformation

Project description

TPD Pete

PyPI version fury.io Upload Python Package Lint

TPD Pete is an AWS Deployment tool for AWS Cloudformation

Configure

To setup pete use: pete configure to setup the default profile and region for AWS

Usage

To use pete for a project, first set it up using: pete init. This will generate the nessacary files for pete to function.

Then simply use: pete deploy to let deploy to your deployment AWS profile. If you want to deploy to your production environment use: pete deploy --production

If you have multiple collaborators on a project, and you dont want to share the same development environment. Then you could also use pete init --local to setup some development override for you locally. These will be used instead of the project development environment setup, if this has been setup.

So if you dont have local overrides, it uses the project config. If you dont have a project config, it uses the global config which is specific to you. You can save which account, region or bucket to use for a project in the project config. This will be saved in the .pete folder in you project folder. You should add this file to your VCS (like Git or SVN). But not the local file inside that folder, which hold the local overrides.

CI

For CI usage.

  1. First set the PETE_CI variable to 1

  2. Fill the following variables with the global configuration values | Key | Description | | PETE_DEV_PROFILE | AWS profile for Development | | PETE_PROD_PROFILE | AWS profile for Production | | PETE_DEV_BUCKET | S3 upload bucket for Development code | | PETE_PROD_BUCKET | S3 upload bucket for Production code | | PETE_DEV_REGION | Region to deploy to for Development | | PETE_PROD_REGION | Region to deploy to for Production |

  3. You can also use the environment keys for AWS access key to override any profile settings. For more information see: Boto docs | Key | Description | | AWS_ACCESS_KEY_ID | Accesskey for AWS Cli | | AWS_SECRET_ACCESS_KEY | Secretkey for AWS Cli |

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tpd_pete-0.5.0.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

tpd_pete-0.5.0-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

Details for the file tpd_pete-0.5.0.tar.gz.

File metadata

  • Download URL: tpd_pete-0.5.0.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for tpd_pete-0.5.0.tar.gz
Algorithm Hash digest
SHA256 e4948cc9ae1eab4ba6bd58aee70bc939e3d411a1f877aa545a82c05fe5f8da57
MD5 89c607697b9ccba1340811c1b8ff47b7
BLAKE2b-256 8d731a71bf8b5e278c8aac8332f1a7bd5dc5335a3094283da1f827b0501585e2

See more details on using hashes here.

Provenance

File details

Details for the file tpd_pete-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: tpd_pete-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 26.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for tpd_pete-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54cd5c585d9eb82e85006e0079c18b3cc9482fba7592cd5618efd0ace8d6947c
MD5 ffc4adfd77b27d3d4bcbaf1e3f632d0d
BLAKE2b-256 3a5cf8ad7960442268e3fbe95758232129152e2b4406937854c24e2e3a94c246

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page