https://pulumi.com logo
#golang
Title
# golang
i

important-sandwich-62391

08/03/2021, 11:01 PM
I’m trying to pulumi preview a new stack, and getting a panic:
Copy code
panic: reflect: Elem of [secret] type interface {}

goroutine 262 [running]:

reflect.(*rtype).Elem(0x1f42040, 0xc00042d1b0, 0x194)

	/usr/local/Cellar/go/1.16.3/libexec/src/reflect/type.go:915 +0x1a5

<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.awaitInputs(0x23fd638|github.com/pulumi/pulumi/sdk/v3/go/pulumi.awaitInputs(0x23fd638>, 0xc0000580e0, 0x1f89ee0, 0xc00042d190, 0x94, 0x1f42040, 0xc00042d1b0, 0x194, 0x2420000, 0x0, ...)

	/Users/pquerna/xsrc/ductone/ops/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/types.go:702 +0x2662

<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.awaitInputs(0x23fd638|github.com/pulumi/pulumi/sdk/v3/go/pulumi.awaitInputs(0x23fd638>, 0xc0000580e0, 0x2088f00, 0xc00042d180, 0x99, 0x1fdc340, 0xc00042d1a0, 0x199, 0x0, 0x0, ...)

	/Users/pquerna/xsrc/ductone/ops/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/types.go:734 +0x150a

<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.toOutputTWithContext.func3(0xc00042d1c0|github.com/pulumi/pulumi/sdk/v3/go/pulumi.toOutputTWithContext.func3(0xc00042d1c0>, 0x2088f00, 0xc00042d180, 0x2409798, 0xc00029dc70, 0x23fd638, 0xc0000580e0, 0x1fdc340, 0xc00042d1a0, 0x199, ...)

	/Users/pquerna/xsrc/ductone/ops/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/types.go:828 +0x137

created by <http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.toOutputTWithContext|github.com/pulumi/pulumi/sdk/v3/go/pulumi.toOutputTWithContext>

	/Users/pquerna/xsrc/ductone/ops/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/types.go:820 +0x216
c

cool-fireman-90027

08/04/2021, 1:41 PM
Can you open an issue with the code that caused this panic here?
i

important-sandwich-62391

08/04/2021, 4:42 PM
https://github.com/pulumi/pulumi/issues/7706 I was able to reduce it to just this DaemonSet — but I don’t see anything particularly special about it…. or how I could do a work around?
3 Views