https://pulumi.com logo
Title
a

average-television-1214

07/11/2021, 1:52 AM
Hey, folks. I'm new to pulumi, running into an interesting problem. After running "pulumi up" all of my resources are automatically created, but I get this error. Can reproduce it with both 3.6.0 and 3.6.1. Seems to be caused by this:
privateVpcConnection, err := servicenetworking.NewConnection(ctx, "privateVpcConnection", &servicenetworking.ConnectionArgs{
			Network: containerNetwork.ID(),
			Service: pulumi.String("<http://servicenetworking.googleapis.com|servicenetworking.googleapis.com>"),
			ReservedPeeringRanges: pulumi.StringArray{
				dbPrivateRange.Name,
			},
		})
		if err != nil {
			return err
		}
Diagnostics:
  pulumi:pulumi:Stack (avsatum-dev):
    panic: fatal: An assertion has failed
    goroutine 103 [running]:
    <http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)>
        /Users/alexlokshin/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.6.1/go/common/util/contract/failfast.go:23
    <http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assert(...)|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assert(...)>
        /Users/alexlokshin/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.6.1/go/common/util/contract/assert.go:26
    <http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInputAndDetermineSecret(0x1df8800|github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInputAndDetermineSecret(0x1df8800>, 0xc0005c2280, 0x208b8c0, 0x1c8e7a0, 0xc0004f7801, 0x109d052, 0x1cdba00, 0x1, 0xc0004f78d8, 0x109b885, ...)
        /Users/alexlokshin/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.6.1/go/pulumi/rpc.go:272 +0x36f0
    <http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInput(0x1e9a5e0|github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInput(0x1e9a5e0>, 0xc00018c540, 0x208b8c0, 0x1c8e7a0, 0x1e9a501, 0xc00018c540, 0x1cdba00, 0xc0000c5140, 0x94, 0x1, ...)
        /Users/alexlokshin/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.6.1/go/pulumi/rpc.go:170 +0x73
    <http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInputAndDetermineSecret(0x1d39b40|github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInputAndDetermineSecret(0x1d39b40>, 0xc000496630, 0x208b8c0, 0x1cb6f60, 0xc00060ce01, 0x173572f, 0x1d8a940, 0xc000548270, 0x208b8c0, 0x1bd41c0, ...)
        /Users/alexlokshin/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.6.1/go/pulumi/rpc.go:358 +0x100a
    <http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInput(0x1d39b40|github.com/pulumi/pulumi/sdk/v3/go/pulumi.marshalInput(0x1d39b40>, 0xc000496630, 0x208b8c0, 0x1c8e7a0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
        /Users/alexlokshin/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.6.1/go/pulumi/rpc.go:170 +0x73
    <http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.(*Context).RegisterResourceOutputs.func1(0xc0003a6640|github.com/pulumi/pulumi/sdk/v3/go/pulumi.(*Context).RegisterResourceOutputs.func1(0xc0003a6640>, 0x2084d68, 0xc0000aa410, 0xc000496630)
        /Users/alexlokshin/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.6.1/go/pulumi/context.go:1169 +0x13c
    created by <http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.(*Context).RegisterResourceOutputs|github.com/pulumi/pulumi/sdk/v3/go/pulumi.(*Context).RegisterResourceOutputs>
        /Users/alexlokshin/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.6.1/go/pulumi/context.go:1156 +0x96
    exit status 2
 
    error: an unhandled error occurred: program exited with non-zero exit code: 1
b

billowy-army-68599

07/11/2021, 6:10 AM
looks like a bug, can you open an issue with the code you're using to repro?
👍 1
a

average-television-1214

07/11/2021, 1:49 PM
Will do!