This message was deleted.
# getting-started
s
This message was deleted.
s
I believe that is the right place to start, although there have been some recent developments in generating Pulumi providers---let me double-check that for you.
I just confirmed internally that you’re on the right path. 🙂
e
For reference, there's been some talks about a pulumi provider here
s
m
Hey @icy-controller-6092, i created the provider here: https://github.com/dirien/pulumi-fly
🙌 1
e
Hi @many-telephone-49025! Is it possible to use the fly provider from YAML?
m
@echoing-kite-20691 yes ofc. you just need to install the plugin via `pulumi plugin install…``
e
Ah! I tried that originally and got an error because the cli assumed the plugin was published under pulumi. Adding the
--server
param fixed it. That was not super obvious but after digging in the docs a little bit it made sense. Thanks! I'm gonna test this out in the next few days
m
@echoing-kite-20691, I wish the provider had support for creating a DB too.
sad panda 1
e
@many-telephone-49025 I tried importing some resources into the existing stacks without any success.
Copy code
~/S/e/i/definition ❯❯❯ pulumi import fly:index/app:App synchronizer-app 1451176 -s staging -v 10                                                                         ✘ 255 main ◼
Previewing import (staging)

View in Browser (Ctrl+O): <https://app.pulumi.com/ellipsus/monolith/staging/previews/5d95b9ea-5756-46e2-9304-75bb8c491e01>

     Type                 Name              Plan       Info
     pulumi:pulumi:Stack  monolith-staging             1 error
 =   └─ fly:index:App     synchronizer-app  import     1 error


Diagnostics:
  pulumi:pulumi:Stack (monolith-staging):
    error: preview failed

  fly:index:App (synchronizer-app):
    error: Preview failed: Cannot extract ID from "fly_app" resource state: ID cannot be empty
Is there a way to get it to output more debug info? I have the impression that the problem is coming from the underlying terraform provider and not the pulumi wrapper, but I'm not sure. Also please let me know if there's a better place where to raise these issues.
👀 1
m
@echoing-kite-20691 interesting! I did not try to import an existing App. I have to try this!
i
hey @many-telephone-49025 - are you still working on this provider?\
m
Hey @icy-controller-6092, yes but had no time to look into the issue 🙈