gorgeous-microphone-3405608/09/2023, 3:42 PM
gorgeous-microphone-3405608/09/2023, 4:16 PM
clever-sunset-7658508/09/2023, 4:20 PM
gorgeous-microphone-3405608/09/2023, 4:21 PM
clever-sunset-7658508/09/2023, 4:24 PM
like a usage guide tbhThe lines I linked above is literally how you would use the library. That's the best I've got so far. Other than that, the instructions in the README for
tell you how to prepare the OpenAPI spec for a successful conversion. You can also look at the tests in the providers I've generated thus far: https://github.com/search?q=topic%3Apulumi-provider+org%3Acloudy-sky-software+fork%3Atrue&type=repositories
gorgeous-microphone-3405608/09/2023, 4:29 PM
clever-sunset-7658508/09/2023, 4:32 PM
) that does the HTTP offloading. When it comes to that you'll be on your own but since it's just HTTP requests you can use whatever strategy you'd like and shouldn't be blocked by not having access to that private lib.
and my private
repo, which I am happy to share a ZIP file with you but it'll be useless to anyone without
, which is why I've kept my template also private.
gorgeous-microphone-3405608/09/2023, 4:35 PM
clever-sunset-7658508/09/2023, 4:36 PM
is trying to solve.
gorgeous-microphone-3405608/09/2023, 4:36 PM
code at high level
clever-sunset-7658508/09/2023, 4:40 PM
file that you'll see referenced in the Pulumi provider boilerplate repo. If
didn't exist, you'd have to manually author that JSON file which is what Pulumi uses to generate the language SDKs and docs.
gorgeous-microphone-3405608/09/2023, 4:55 PM
seems to be generating schema.json file which step are we using
clever-sunset-7658508/09/2023, 4:57 PM
. The API spec itself is generated using TypeSpec code in the
folder (not TypeScript). This is not something you'll have to worry about since you already have an OpenAPI spec. For a 1:1 comparison, perhaps the Render or the Scaleway Instances provider would be a closer match to what you might be dealing with.
gorgeous-microphone-3405608/09/2023, 5:03 PM
make gen nodejs_sdk
clever-sunset-7658508/09/2023, 5:11 PM
is private, so you'll encounter issues if you try to build the provider binary since it'll look for that repo.
gorgeous-microphone-3405608/09/2023, 5:13 PM
clever-sunset-7658508/09/2023, 5:14 PM
gotcha, can you share that as zip / binary as you mentioned before?Oh I said I would give a ZIP of the private template, not the
🙂 sorry for not being clear. I'd be happy to DM the template to you.
gorgeous-microphone-3405608/09/2023, 5:14 PM
clever-sunset-7658508/09/2023, 6:13 PM
. It's easier to bring
into their template due to the private module
dependency that I have with my template.
is an HTTP client. As long as you have a Pulumi
generating successfully, you can build your own HTTP client library that interacts with the REST API as shown in Pulumi's own examples. At some point in the future, I might decide to make
public but I haven't had the time to think about it and not certain about it just yet.