pollosp / pulumi-poc2

Another Pulumi POC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PULUMI DEMO

Description

This example creates a serie of buckets in GCS, bucker names are comming from API. API used into the example is available in https://github.com/pollosp/gin-test

Running the example

Execute the following bash command in order to setup the enviroment.

export CREDENTIALS_FILE="/Users/omar/Downloads/EXAMPLE-1bf0619764f8.json"
export CREDENTIALS=$(cat $CREDENTIALS_FILE)
export PULUMI_ACCESS_TOKEN="zzzz"
export GOOGLE_PROJECT="XXX"
export GREETING="Hello World"

Pulumi requires access token in order to save state, you can get one at https://app.pulumi.com/

Create the container with the pulumi code binary

make build-gcp

Preview GCP resources to create

make pulumi-preview

Create/Update GCP resources

make pulumi-update

About

Another Pulumi POC


Languages

Language:Makefile 54.1%Language:Go 32.6%Language:Dockerfile 13.3%