mirror of https://github.com/pulumi/pulumi.git
23 lines
606 B
C#
23 lines
606 B
C#
// Copyright 2016-2019, Pulumi Corporation. All rights reserved.
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Pulumi;
|
|
|
|
class Program
|
|
{
|
|
static Task<int> Main(string[] args)
|
|
{
|
|
return Deployment.RunAsync(async () =>
|
|
{
|
|
var slug = $"{Deployment.Instance.OrganizationName}/{Deployment.Instance.ProjectName}/{Deployment.Instance.StackName}";
|
|
var a = new StackReference(slug);
|
|
|
|
return new Dictionary<string, object>
|
|
{
|
|
{ "val", new[] { "a", "b" } }
|
|
};
|
|
});
|
|
}
|
|
} |