https://github.com/pollosp/pulumi-poc2
Another Pulumi POC
https://github.com/pollosp/pulumi-poc2
Last synced: 6 months ago
JSON representation
Another Pulumi POC
- Host: GitHub
- URL: https://github.com/pollosp/pulumi-poc2
- Owner: pollosp
- Created: 2018-12-29T15:45:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-29T15:45:36.000Z (over 7 years ago)
- Last Synced: 2025-01-31T21:11:25.941Z (over 1 year ago)
- Language: Makefile
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# 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.
```bash
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
```bash
make build-gcp
```
Preview GCP resources to create
```bash
make pulumi-preview
```
Create/Update GCP resources
```bash
make pulumi-update
```