pulumi/tests/examples/minimal/index.ts

9 lines
237 B
TypeScript
Raw Permalink Normal View History

// Copyright 2016-2018, Pulumi Corporation. All rights reserved.
2017-02-09 21:36:18 +00:00
import { Config } from "@pulumi/pulumi";
2017-08-31 17:45:48 +00:00
let config = new Config();
2017-08-31 17:45:48 +00:00
console.log(`Hello, ${config.require("name")}!`);
console.log(`Psst, ${config.require("secret")}`);
2017-02-09 21:36:18 +00:00