This application allows you to create and destroy infrastructure resources on AWS and GCP using Pulumi.
Before you begin, ensure you have met the following requirements:
- You have installed Python 3.11 or later.
- You have installed Pulumi. If not, you can install it from here.
- You have AWS and GCP accounts.
This application uses environment variables for configuration. You need to set the following environment variables:
PULUMI_ACCESS_TOKEN
: Your Pulumi Access Token. You can get it from here.AWS_ACCESS_KEY_ID
: Your AWS Access Key ID. You can get it from here.AWS_SECRET_ACCESS_KEY
: Your AWS Secret Access Key. You can get it from here.GOOGLE_CLOUD_KEYFILE_JSON
: The path to your GCP service account key file in JSON format. You can get it from here.GOOGLE_CLOUD_PROJECT
: Your GCP Project ID. You can get it from here.
You can set these environment variables in your shell, or put them in a .env
file in the root directory of the project.
- Clone this repository.
- Ensure the env file is setup and the json credentials are present.
- Install the required Python packages by running.
pip install -e .
You can run the application using the following command:
infra-app
This project uses the following license: license.