https://pulumi.com logo
#general
Title
# general
b

better-rainbow-14549

05/10/2019, 2:52 PM
Copy code
panic: interface conversion: interface {} is resource.Computed, not map[string]interface {}
    goroutine 114 [running]:
    <http://github.com/pulumi/pulumi-kubernetes/pkg/metadata.SetAnnotation(...)|github.com/pulumi/pulumi-kubernetes/pkg/metadata.SetAnnotation(...)>
    	/home/travis/gopath/src/github.com/pulumi/pulumi-kubernetes/pkg/metadata/annotations.go:52
    <http://github.com/pulumi/pulumi-kubernetes/pkg/metadata.SetAnnotationTrue(...)|github.com/pulumi/pulumi-kubernetes/pkg/metadata.SetAnnotationTrue(...)>
    	/home/travis/gopath/src/github.com/pulumi/pulumi-
g

gorgeous-egg-16927

05/10/2019, 3:07 PM
I suspect one of your resource definitions is formatted incorrectly, but that shouldn’t cause the provider to panic. Can you please file a bug report at https://github.com/pulumi/pulumi-kubernetes/issues/new ? Thanks!
b

better-rainbow-14549

05/10/2019, 3:10 PM
will do
i'm not sure what the issue is though
narrowed it down
i've edited the code example it's more complicated than i thought - once i took the provider argument off it "worked"
3 Views