Skip to content

Commit

Permalink
Update pulumi dep to fix nested secret outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
lblackstone committed Oct 8, 2021
1 parent 774d29b commit 66569a3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ require (
github.com/pkg/errors v0.9.1
github.com/prometheus/common v0.30.0 // indirect
github.com/prometheus/procfs v0.7.3 // indirect
github.com/pulumi/pulumi/sdk/v3 v3.13.2
github.com/pulumi/pulumi/sdk/v3 v3.14.1-0.20211008204606-21aea7b64c73
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.7.0
github.com/whilp/git-urls v1.0.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,8 @@ github.com/prometheus/prometheus v2.3.2+incompatible/go.mod h1:oAIUtOny2rjMX0OWN
github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU=
github.com/pulumi/pulumi/sdk/v3 v3.13.2 h1:WACuLmogYmUubf3jKcnkN9ACJ5G+3PLSPkCI86DpY9k=
github.com/pulumi/pulumi/sdk/v3 v3.13.2/go.mod h1:aT7YmFdR6/T7tp2tMIZ68WRD1Xyv5a6Y4BhsuaCNpW0=
github.com/pulumi/pulumi/sdk/v3 v3.14.1-0.20211008204606-21aea7b64c73 h1:0qh1neDlfyByqHqXFvhhhQT4hc1KrZ0wq/BX+ONfKLM=
github.com/pulumi/pulumi/sdk/v3 v3.14.1-0.20211008204606-21aea7b64c73/go.mod h1:aT7YmFdR6/T7tp2tMIZ68WRD1Xyv5a6Y4BhsuaCNpW0=
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
github.com/remyoudompheng/bigfft v0.0.0-20170806203942-52369c62f446/go.mod h1:uYEyJGbgTkfkS4+E/PavXkNJcbFIpEtjt2B0KDQ5+9M=
github.com/robfig/cron v0.0.0-20170526150127-736158dc09e1/go.mod h1:JGuDeoQd7Z6yL4zQhZ3OPEVHB7fL6Ka6skscFHfmt2k=
Expand Down
4 changes: 4 additions & 0 deletions test/stack_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,10 @@ var _ = Describe("Stack Controller", func() {
"region": v1.JSON{Raw: []byte(`"us-west-2"`)},
"notSoSecret": v1.JSON{Raw: []byte(`"safe"`)},
"secretVal": v1.JSON{Raw: []byte(`"[secret]"`)},
"nestedSecret": v1.JSON{Raw: []byte(`"{
plain : "foo"
secret: "[secret]"
}"`)},
}))

// Delete the Stack
Expand Down
5 changes: 5 additions & 0 deletions test/testdata/empty-stack/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ export const notSoSecret = pulumi.output("safe")
export const secretVal = pulumi.secret({
"val" : "very secret"
});

export const nestedSecret = {
"plain": "foo",
"secret": pulumi.secret("bar"),
};

0 comments on commit 66569a3

Please sign in to comment.