Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic deployment instructions (Fixes #47) #48

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MelissaAutumn
Copy link
Member

@MelissaAutumn MelissaAutumn commented Dec 16, 2024

Tagged @Sancus to make sure it all is correct, and @ryanjjung for any pulumi things to add.

Wrote it in rst and added a docs folder so we can add sphinx/readthedocs support later.

Thanks!

@MelissaAutumn MelissaAutumn self-assigned this Dec 16, 2024

Ensure you're setup by following the setup instructions available `here. <https://thunderbird.github.io/pulumi/getting-started.html>`_

Additionally you'll also need a login token from pulumi cloud. The pulumi cloud account is located in the Services 1password account.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you don't have a token, you can do a browser auth flow where you click a link in the CLI, auth with the service account found in 1Pass, and it redirects you back to the terminal.


Make sure to cd into ``pulumi`` and install the requirements.txt file via ``pip install -r requirements.txt``.

Everytime you run either ``pulumi up`` or `pulumi preview`` pulumi will ask you which stack you want to run.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alternately, run a pulumi stack select $stack and it will remember your selection. You'll also need to run pulumi login which is where you'd provide your token/password/do browser auth.


.. code-block:: bash

pulumu up --diff

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/pulumu/pulumi/g

Copy link

@ryanjjung ryanjjung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple minor edits. I will probably write up a broader-scope document at some point about deployments with Pulumi and some of the common models we have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants