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

rich-whale-93740

01/23/2024, 7:04 PM
I'm getting this error when running
pulumi import
. How can I troubleshoot this?
Copy code
panic: fatal: An assertion has failed: inputs was non-nil

goroutine 208 [running]:
                                                                                 <http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)>
/home/runner/work/pulumi/pulumi/sdk/go/common/util/contract/failfast.go:23
                                                                                                          <http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assertf(0x80|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assertf(0x80>?, {0x104125f6f?, 0x104a6f300?}, {0x0?, 0x104a6f300?, 0x1063588d8?})
/home/runner/work/pulumi/pulumi/sdk/go/common/util/contract/assert.go:35 +0xe0
                                                                         <http://github.com/pulumi/pulumi/sdk/v3/go/common/resource.NewState({0x14001983998|github.com/pulumi/pulumi/sdk/v3/go/common/resource.NewState({0x14001983998>, 0x14}, {0x140020233c0, 0x3d}, 0x1, 0x0, {0x0, _}, _, _, ...)                                                                                                /home/runner/work/pulumi/pulumi/sdk/go/common/resource/resource_state.go:79 +0xe4

<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*importer).registerProviders(0x140028c9bb0|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*importer).registerProviders(0x140028c9bb0>, {0x104fe3840, 0x14002270ff0})
/home/runner/work/pulumi/pulumi/pkg/resource/deploy/import.go:275 +0xc50

<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*importer).importResources(0x140028c9bb0|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*importer).importResources(0x140028c9bb0>, {0x104fe3840, 0x14002270ff0})
/home/runner/work/pulumi/pulumi/pkg/resource/deploy/import.go:319 +0xa0

<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).importResources(0x1400224fe48|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).importResources(0x1400224fe48>, {0x104fe3808, 0x1400227c270}, {{0x12e5042b0, 0x14001944080}, 0x28, 0x0, 0x0, {{0x0, 0x0, ...}, ...}, ...}, ...)
/home/runner/work/pulumi/pulumi/pkg/resource/deploy/deployment_executor.go:440 +0xc8

<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).Execute(0x1400224fe48|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).Execute(0x1400224fe48>, {0x104fe3808?, 0x1400227c270}, {{0x12e5042b0, 0x14001944080}, 0x28, 0x0, 0x0, {{0x0, 0x0, ...}, ...}, ...}, ...)                                                                                              /home/runner/work/pulumi/pulumi/pkg/resource/deploy/deployment_executor.go:144 +0x54c

<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*Deployment).Execute(...)|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*Deployment).Execute(...)>
/home/runner/work/pulumi/pulumi/pkg/resource/deploy/deployment.go:578

<http://github.com/pulumi/pulumi/pkg/v3/engine.(*deployment).run.func1()|github.com/pulumi/pulumi/pkg/v3/engine.(*deployment).run.func1()>
/home/runner/work/pulumi/pulumi/pkg/engine/deployment.go:323 +0x1e0

created by <http://github.com/pulumi/pulumi/pkg/v3/engine.(*deployment).run|github.com/pulumi/pulumi/pkg/v3/engine.(*deployment).run> in goroutine 1
/home/runner/work/pulumi/pulumi/pkg/engine/deployment.go:308 +0x204
a

ancient-policeman-24615

01/23/2024, 11:42 PM
Try upgrading the version of pulumi/pulumi you are using. If that doesn’t work, please open a bug report in pulumi/pulumi.
s

steep-pager-59220

01/24/2024, 7:48 AM
This has just been fixed in https://github.com/pulumi/pulumi/pull/15197/files, which will be in the next release. We're planning on creating a new release today. If you want the fix quicker than that, you can use a dev release (using
curl -sSL <https://get.pulumi.com> | sh -s -- --version dev
)
3 Views