~tieong/pulumi-kimsufi

c4a57e29bf6a6a6a1d63e5d1f23cba25efa3fe90 — Thomas Ieong 1 year, 9 months ago b763de7
Added README
1 files changed, 21 insertions(+), 0 deletions(-)

A README.org
A README.org => README.org +21 -0
@@ 0,0 1,21 @@
* Kimsufi infra

Deploying my infra on kimsufi thanks to pulumi and libvirt.

In your pulumi stack you do need to setup the libvirt uri so that
it looks like something below.

#+begin_src sh
  pulumi config set libvirt:uri qemu+ssh://debian@37.187.79.64:2222/system?keyfile=/home/user/.ssh/kimsufi-infra&sshauth=agent
#+end_src

This is what I used to create the stack:

#+begin_src sh
  pulumi login file://~/projects/kimsufi-infra/pulumi-state/
  pulumi new openstack-python --description "My infra" --name pulumi-kimsufi --stack dev
  pip3 install -r requirements.txt
#+end_src

Note that in my pulumi.yml I disabled the venv. Why? Well I'm on guix and it's pretty
easy to spin up an isolated env, see my blog for more info.