Hello, I am creating a pulumi script in order to ...
# general
f
Hello, I am creating a pulumi script in order to create new virtual private server with OVH. I saw that @ovhcloud/pulumi-ovh is available, and I am progressing properly to make it work but for the information provided in the vpsArgs, I am mainly filling these with reverse engineering with developer tools using my pulumi account. Is this the proper way to do it or is there any documentation that I am missing? Maybe @thankful-match-46035 can help here.
Copy code
import { Vps, VpsArgs } from "@ovhcloud/pulumi-ovh/vps";
import * as pulumi from "@pulumi/pulumi";

let config = new pulumi.Config();
let serviceName = config.require("serviceName")

let vpsArgs: VpsArgs = {};

let vpsOpts: pulumi.CustomResourceOptions = {};

let vpsInstance: Vps = new Vps("instance-vps", vpsArgs, vpsOpts);
Thanks a lot! 🙂
e
I think you're looking for the docs on the registry 🙂 https://www.pulumi.com/registry/packages/ovh/api-docs/vps/vps/
f
Thanks a lot! I was able to get there, but mainly asking for these fields: https://www.pulumi.com/registry/packages/ovh/api-docs/vps/vps/#inputs I think these are more related to ovh, but I did not find any place to find these
t
Hi @full-rainbow-99384 The Pulumi provider is synchronized to the Terraform’s one. So you can take a look to the VPS resource input and output fields in the registry documentation: https://registry.terraform.io/providers/ovh/ovh/latest/docs/resources/vps And as Evan said, you can look at the doc in the registry. What kind of information do you need?
f
Hello @thankful-match-46035, Thanks for the link! I wanted to know the operating system available in vps, but was able to figure out doing reverse engineering. Yesterday I was able to create a vps using pulumi but opened new issue because I had an error from pulumi, but vps was created successfully. https://github.com/ovh/pulumi-ovh/issues/306 Showing to you just in case I was wrong. I can elaborate more on this if you need more details