{"action":"closed","issue":{"url":"https://api.github.com/repos/pulumi/pulumi-terraform/issues/191","repository_url":"https://api.github.com/repos/pulumi/pulumi-terraform","labels_url":"https://api.github.com/repos/pulumi/pulumi-terraform/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/pulumi/pulumi-terraform/issues/191/comments","events_url":"https://api.github.com/repos/pulumi/pulumi-terraform/issues/191/events","html_url":"https://github.com/pulumi/pulumi-terraform/issues/191","id":337327376,"node_id":"MDU6SXNzdWUzMzczMjczNzY=","number":191,"title":"Cannot pass `Output<Archive>` when `Input<Archive>` is specified","user":{"login":"lukehoban","id":223467,"node_id":"MDQ6VXNlcjIyMzQ2Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/223467?v=4","gravatar_id":"","url":"https://api.github.com/users/lukehoban","html_url":"https://github.com/lukehoban","followers_url":"https://api.github.com/users/lukehoban/followers","following_url":"https://api.github.com/users/lukehoban/following{/other_user}","gists_url":"https://api.github.com/users/lukehoban/gists{/gist_id}","starred_url":"https://api.github.com/users/lukehoban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukehoban/subscriptions","organizations_url":"https://api.github.com/users/lukehoban/orgs","repos_url":"https://api.github.com/users/lukehoban/repos","events_url":"https://api.github.com/users/lukehoban/events{/privacy}","received_events_url":"https://api.github.com/users/lukehoban/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-01T22:18:36Z","updated_at":"2018-07-12T23:04:52Z","closed_at":"2018-07-12T23:04:52Z","author_association":"MEMBER","body":"A property projected as:\r\n\r\n```\r\nreadonly content?: pulumi.Input<pulumi.asset.Archive>;\r\n```\r\n\r\nwill fail if a `pulumi.Output<pulumi.asset.Archive>` is passed, with this error:\r\n\r\n```\r\ninfo: panic: fatal: An assertion has failed: expected asset value for Pulumi schema info\r\n    goroutine 185 [running]:\r\n    github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/pkg/util/contract.failfast(0xc420019270, 0x44)\r\n    \t/Users/luke/go/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/pkg/util/contract/failfast.go:23 +0xf3\r\n    github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/pkg/util/contract.Assertf(0x280a300, 0x2a50c25, 0x2b, 0x0, 0x0, 0x0)\r\n    \t/Users/luke/go/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/pkg/util/contract/assert.go:33 +0x13d\r\n    github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi-terraform/pkg/tfbridge.MakeTerraformOutput(0x272cc80, 0x2bd46b0, 0xc420482e10, 0xc4202961c0, 0xc420ecb518, 0x2a1bd00, 0x7, 0xc420482e10)\r\n    \t/Users/luke/go/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi-terraform/pkg/tfbridge/schema.go:339 +0xd0f\r\n    github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi-terraform/pkg/tfbridge.MakeTerraformOutputs(0xc42067d5f0, 0xc420428840, 0xc420500c60, 0xc420ecb518, 0x0, 0x0)\r\n    \t/Users/luke/go/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi-terraform/pkg/tfbridge/schema.go:322 +0x1bb\r\n    github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi-terraform/pkg/tfbridge.(*Provider).Check(0xc4201663c0, 0x3878c00, 0xc42067d500, 0xc42082f700, 0xc4201663c0, 0x1, 0x1)\r\n    \t/Users/luke/go/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi-terraform/pkg/tfbridge/provider.go:313 +0xc2e\r\n    github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go._ResourceProvider_Check_Handler.func1(0x3878c00, 0xc42067d500, 0x28d5ce0, 0xc42082f700, 0x3878c00, 0xc42067d500, 0x387e5a0, 0x3910848)\r\n    \t/Users/luke/go/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go/provider.pb.go:735 +0x86\r\n    github.com/pulumi/pulumi-azure/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x3878c00, 0xc42067d500, 0x28d5ce0, 0xc42082f700, 0xc42082f720, 0xc42082f740, 0x0, 0x0, 0x3868b80, 0xc420221250)\r\n    \t/Users/luke/go/src/github.com/pulumi/pulumi-azure/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc/server.go:61 +0x326\r\n    github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go._ResourceProvider_Check_Handler(0x299ece0, 0xc4201663c0, 0x3878c00, 0xc420395920, 0xc420089590, 0xc420283420, 0x0, 0x0, 0x0, 0x0)\r\n    \t/Users/luke/go/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go/provider.pb.go:737 +0x16d\r\n    github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc.(*Server).processUnaryRPC(0xc4200d4000, 0x387d120, 0xc420092000, 0xc4206fee00, 0xc420081b60, 0x38e5650, 0x0, 0x0, 0x0)\r\n    \t/Users/luke/go/src/github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc/server.go:826 +0xab4\r\n    github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc.(*Server).handleStream(0xc4200d4000, 0x387d120, 0xc420092000, 0xc4206fee00, 0x0)\r\n    \t/Users/luke/go/src/github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc/server.go:1023 +0x1528\r\n    github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc4201d0080, 0xc4200d4000, 0x387d120, 0xc420092000, 0xc4206fee00)\r\n    \t/Users/luke/go/src/github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc/server.go:572 +0x9f\r\n    created by github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc.(*Server).serveStreams.func1\r\n    \t/Users/luke/go/src/github.com/pulumi/pulumi-azure/vendor/google.golang.org/grpc/server.go:570 +0xa1\r\n```\r\n\r\nBut will succeed if a raw `pulumi.asset.Archive` is passed.\r\n"}}
{"actor":{"display_login":"CyrusNajmabadi"}}