@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
44 lines • 1.52 kB
JavaScript
;
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getConfigOutput = exports.getConfig = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Gets information about the current configuration that Scaleway provider is using.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumi/scaleway";
*
* // Get configuration information
* const main = scaleway.getConfig({});
* ```
*/
function getConfig(opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("scaleway:index/getConfig:getConfig", {}, opts);
}
exports.getConfig = getConfig;
/**
* Gets information about the current configuration that Scaleway provider is using.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumi/scaleway";
*
* // Get configuration information
* const main = scaleway.getConfig({});
* ```
*/
function getConfigOutput(opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("scaleway:index/getConfig:getConfig", {}, opts);
}
exports.getConfigOutput = getConfigOutput;
//# sourceMappingURL=getConfig.js.map