Open MatteoJoliveau opened 1 day ago
The generated SDK has some bugs (nothing major, a couple of fields whose name begins with a number that needs to be quoted in TypeScript), I created a reproduction repository that has the necessary fixes applied: https://github.com/MatteoJoliveau/pulumi-repro
The config secret is test
Hey @MatteoJoliveau, thanks for reporting the issue and sorry you've hit this. Unfortunately, importing with dynamically bridged providers doesn't work yet. The team is actively working on it though and we expect to have this working very soon.
You can follow the progress here: https://github.com/pulumi/pulumi/issues/17507 and https://github.com/pulumi/pulumi/issues/17289
What happened?
I generated a provider for terraform-provider-routeros:
pulumi package add terraform-provider terraform-routeros/routeros
I can successfully use the provider and run
pulumi preview --diff
. I now want to import existing resources into the state, so I started by running:pulumi import routeros:index/interfaceVlan:InterfaceVlan <name omitted> <vlan tag omitted>
Pulumi fails while trying to validate the provider against its upstream repository, which of course doesn't exist:
(newline inserted by me for cleaner preview)
Example
pulumi new
pulumi package add terraform-provider terraform-routeros/routeros
pulumi import routeros:index/interfaceVlan:InterfaceVlan something something
Output of
pulumi about
I'm using the
pulumi-bin
package from Nix.Additional context
No response
Contributing
No response