Skip to content

Latest commit

 

History

History
70 lines (52 loc) · 2.03 KB

README.md

File metadata and controls

70 lines (52 loc) · 2.03 KB
Stackie

lifecycle

Stackie enables developers to configure their local environment/toolchain with ease. Made for Pulumi CLI, Google Cloud Platform (gcloud), and Amazon Web Services (aws-cli).

Stackie changes your pulumi, gcloud and aws-cli actively when you change from project to project. Think of it as a combination of aws-cli and nvm/volta.

Quickstart

Imagine your in your one of your personal projects. You're using Pulumi.

▶ pulumi whoami
cobraz

You're going to start working on that Yosemite project, but instead of logging out of Pulumi and logging into their Pulumi account with their credentials. Stackie has that all stored in a configuration, so all you have to do is this:

▶ cd ~/projects/yosemite
▶ pulumi whoami
yosemite-system-user

Stackie Config

There are three possible configuration files.

pulumi:
  cloudUrl: gs://hello-world
  stackName: bjerk/prod

Project-specific configuration (.stackie.yml)

This configuration is probably shared with the team and pushed to the root directory of the repository (or within the infra folder maybe).

Project and Developer-specific configuration (.stackie.local.yml)

The personal Stackie configuration is used to store project-specific access tokens or setups that you need. This file should probably never be pushed to your repository.

Developer-specific configuration (~/.config/stackie/config.yml)

This is where your secrets are stored away. It could look like this:

profiles:
  - name: bobbafett
    pulumi:
      accessToken: my-token-here
  - name: fintech-company
    google:
      configuration: fintech-company
      export-application-default: true