In order to begin publishing our core SDK package to NPM, we will need it to be underneath the @pulumi scope so that it may remain private. Eventually, we can alias pulumi back to it. This is part of pulumi/pulumi#915.
8 lines
253 B
TypeScript
8 lines
253 B
TypeScript
// Copyright 2016-2017, Pulumi Corporation. All rights reserved.
|
|
|
|
import { Config } from "@pulumi/pulumi";
|
|
|
|
let config = new Config("minimal:config");
|
|
console.log(`Hello, ${config.require("name")}!`);
|
|
console.log(`Psst, ${config.require("secret")}`);
|
|
|