-
Notifications
You must be signed in to change notification settings - Fork 2
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
base: main
Are you sure you want to change the base?
Conversation
|
||
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. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/pulumu/pulumi/g
There was a problem hiding this 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.
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!