sparse-intern-71089
08/19/2020, 6:59 AMchilly-rainbow-79265
08/19/2020, 8:20 AMConcepts
1. pulumi.yaml example:
```yaml
name: demo
runtime: go
description: A minimal Azure Go Pulumi program
config: stacks/ # all stack files are stored under stacks/ folder
main: infra/ # main.go stored under infra/ folder
2. Folder structure:
sh
❯ tree ../demo
../demo
├── infra
│ ├── go.mod
│ ├── go.sum
│ ├── main.go
│ └── webserver.go
├── Pulumi.yaml
├── README.md
└── stacks
└── Pulumi.dev.yaml
2 directories, 7 files
Commands:
1. Create new stack from github template:
pulumi new https://github.com/pulumi/examples/tree/master/azure-go-webserver-component -s rjshrjndrn/demo/dev # rjshrjndrn/demo/dev is organization/project/stack```