@pulumiverse/gandi
Version:
A Pulumi package for creating and managing gandi cloud resources.
27 lines • 1.21 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.VHost = exports.Instance = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
exports.Instance = null;
utilities.lazyLoad(exports, ["Instance"], () => require("./instance"));
exports.VHost = null;
utilities.lazyLoad(exports, ["VHost"], () => require("./vhost"));
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "gandi:simplehosting/instance:Instance":
return new exports.Instance(name, undefined, { urn });
case "gandi:simplehosting/vHost:VHost":
return new exports.VHost(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("gandi", "simplehosting/instance", _module);
pulumi.runtime.registerResourceModule("gandi", "simplehosting/vHost", _module);
//# sourceMappingURL=index.js.map