Wes McNamee
Wes McNamee
I'm also having a similar issue: Before trying to import ```diff Previewing update (self): Type Name Plan + pulumi:pulumi:Stack github-infra-self create + ├─ github-infra:pkg:app github create + │ ├─ github:index:TeamRepository...
I had to `create` the component, which also ended up wanting to create the components sub resources as well. ``` ❯ pulumi up --target urn:pulumi:self::github-infra::ti-github-infra:pkg:app::github Previewing update (self): Type Name...
I'm having this issue again, and it does _not_ appear to be related to whether the component (that is the parent) exists or not. Most recently, I have this (pre...
also note: I'm running ``` at 19:13:20 ❯ pulumi version v3.37.2 ```
I think I just found the bug... ``` pulumi import \ --stack sandbox \ aws:iam/openIdConnectProvider:OpenIdConnectProvider \ token.actions.githubusercontent.com arn:aws:iam:::oidc-provider/token.actions.githubusercontent.com \ --parent 'staging-shared-services=urn:pulumi:sandbox::project-administration::grouping:shared-services::staging-shared-services' \ --provider 'staging-shared-services=urn:pulumi:sandbox::project-administration::pulumi:providers:aws::staging-shared-services::bac46a17-5f48-42bf-80c9-e75c56e10b17' Previewing import (sandbox): Type Name Plan...
oh, but then it fails... ``` error: no name for provider urn:pulumi:sandbox::project-administration::grouping:shared-services::staging-shared-services ```
oh... BUT despite the import "failing", it actually _doesn't_ fail at all. A subsequent run of `pulumi up` (and further verification by exporting the state), shows it actually was imported...
The TLDR is: you have to use literal `--provider name=` (like `name` is **NOT** a variable here, it's actually just `name`). additionally, this command will appear to **fail** but in...
@lukehoban this is great insight. Thank you very much for this analysis.
any movement on this?