Skip to content

olcortesb/pulumi-challenge-august-22

Repository files navigation

Pulumi challenge: Startup in a Box

I love IaC (Infrastructure as code) and Pulumi is one of my favorite tools. In this repo I document the Pulumi challenge to share my experience while participating in it.

The challenge:

In the official page of Pulumi is all informations about the challenge, text , video, example all resources... follow step by steep the tutorial

  • Page of this challenge: Link
  • Video tutorial for complete the challenge: Link
  • The prerequisites:
    • Pulumi Account: Link
    • AWS Account: Link
    • Checkly Account: Link

Tips and Trick

Update to latest version of Pulumi:

# for macOs
brew upgrade pulumi 

Verify the version

pulumi version                                       
v3.39.1

Your Pulumi account

Verify you account and view the activity in the live web monitor of Pulumi

pulumi whoami                                         
olcortesb

The link to live web monitor is in pulumi up or pulumi preview commands

pulumi up

Previewing update (dev)

View Live: https://app.pulumi.com/olcortesb/pulumi-challenge-august-22/dev/previews/...

In ... Step 3. of tutorial , Working with Local Files

In the index.html , change the lines

  <link rel="stylesheet" href="style.css">
  <link rel="stylesheet" href="normalize.css">

by

  <link rel="stylesheet" href="./style.css">
  <link rel="stylesheet" href="./normalize.css">

for view the web in the browser locally with the css style, in the video tutorial this is explained.

Disclaimer

I remove the pulumi-challenge-august-22/Pulumi.dev.yaml file for security.

I remove my data of code for last step of tutorial.

import { Swag } from "./swag-provider";

const swag = new Swag("olcortesb-pulumi", {
  name: "YOUR NAME",
  email: "YOUR EMAIL", 
  address: "YOUR ADDRESS",
  size: "SIZE",
});

Conclusions

This is a great initiative of Pulumi for usage all power of IaC and Pulumi in real problems.

Follow step by step the official tutorial of Pulumi and used this repo as reference if you need