https://github.com/pollosp/pulumi-poc
Testing pulumi framework
https://github.com/pollosp/pulumi-poc
Last synced: over 1 year ago
JSON representation
Testing pulumi framework
- Host: GitHub
- URL: https://github.com/pollosp/pulumi-poc
- Owner: pollosp
- Created: 2018-12-20T21:07:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-29T15:25:11.000Z (over 7 years ago)
- Last Synced: 2025-01-31T21:11:24.335Z (over 1 year ago)
- Language: Go
- Size: 5.86 KB
- Stars: 1
- 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 file from template in GCS displaying the `GREETING` variable
## 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
```