mirror of https://github.com/pulumi/pulumi.git
29 lines
948 B
TypeScript
29 lines
948 B
TypeScript
// *** WARNING: this file was generated by test. ***
|
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
|
|
import * as pulumi from "@pulumi/pulumi";
|
|
import * as utilities from "./utilities";
|
|
|
|
// Export members:
|
|
export { ProviderArgs } from "./provider";
|
|
export type Provider = import("./provider").Provider;
|
|
export const Provider: typeof import("./provider").Provider = null as any;
|
|
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
|
|
|
|
// Export sub-modules:
|
|
import * as deeply from "./deeply";
|
|
|
|
export {
|
|
deeply,
|
|
};
|
|
pulumi.runtime.registerResourcePackage("foo-bar", {
|
|
version: utilities.getVersion(),
|
|
constructProvider: (name: string, type: string, urn: string): pulumi.ProviderResource => {
|
|
if (type !== "pulumi:providers:foo-bar") {
|
|
throw new Error(`unknown provider type ${type}`);
|
|
}
|
|
return new Provider(name, <any>undefined, { urn });
|
|
},
|
|
});
|