-
Notifications
You must be signed in to change notification settings - Fork 0
Deploy Services using Pulumi
The configuration of pulumi stacks are stored in the cloud inside of an R2 bucket in NIAEFEUP's cloudflare account.
Use and configure the production stack using R2 (same as AWS config), might need to get keys from the dash or your closest project coordinator π.
pulumi login 's3://niployments-pulumi?endpoint=52d22ed664e31a094229250acd87ccfb.eu.r2.cloudflarestorage.com'
You will most likely be prompted with errors saying that no region is defined and that credentials are not as well.
export AWS_REGION=autoexport AWS_ACCESS_KEY_ID=<value>export AWS_SECRET_ACCESS_KEY=<value>
You can either clone with HTTPS or SSH. If you choose the latter you have to create a private-public key pair in your home folder inside the RaspberryPI.
curl -fsSL https://get.pnpm.io/install.sh | sh -
-
cd niployments/services/pulumi/ -
./sync-crds.sh
-
cd niployments/services/pulumi/(Assuming you are in the same folder) -
pnpm install -
cd niployments/ -
pnpm run build
You can then run pulumi preview to check for errors and to preview the changes that will happen in the stack.
In order to start deploying the changes you can do pulumi up
πππππππππππ (βΈβΈβΈ>οΉ<βΈβΈβΈ)