mirror of https://github.com/pulumi/pulumi.git
9 lines
282 B
TypeScript
9 lines
282 B
TypeScript
// Copyright 2016-2018, Pulumi Corporation. All rights reserved.
|
|
|
|
import * as pulumi from "@pulumi/pulumi";
|
|
|
|
let config = new pulumi.Config();
|
|
let org = config.get("org");
|
|
let slug = org ? `${org}/${pulumi.getStack()}` : pulumi.getStack();
|
|
let a = new pulumi.StackReference(slug);
|