I love pulumi. This is the code from a talk I gave when I was a consultant.
Go to file
Seth Doty 6c63a39ca3 Documentation updates 2019-11-10 21:03:37 -06:00
.gitignore Initial Commit 2019-11-10 20:56:34 -06:00
Pulumi.dev.yaml Initial Commit 2019-11-10 20:56:34 -06:00
Pulumi.yaml Initial Commit 2019-11-10 20:56:34 -06:00
README.md Initial Commit 2019-11-10 20:56:34 -06:00
index.ts Documentation updates 2019-11-10 21:03:37 -06:00
package-lock.json Initial Commit 2019-11-10 20:56:34 -06:00
package.json Initial Commit 2019-11-10 20:56:34 -06:00
tsconfig.json Initial Commit 2019-11-10 20:56:34 -06:00

README.md

For this I'm not using the pulumi state service. Instead initialize the backend on S3. Configure your default profile to point at the account with your bucket and type:

pulumi login --cloud-url s3://name-of-s3-bucket

then you need to set a value in the pulumi configuration for the SecretMessage value. This is configured within your state file:

pulumi config set --secret secretMessage "Look mom, I'm a secret"

Now run the following:

pulumi up