@pulumi/tailscale
Version:
A Pulumi package for creating and managing Tailscale cloud resources.
28 lines • 1.51 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.getAclOutput = exports.getAcl = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* The acl data source gets the Tailscale policy file for a tailnet
*
* > **Note:** The naming of this data source predates Tailscale's usage of the term "policy file" to refer to the centralized configuration file for a tailnet. This data source fetches a tailnet's entire policy file and not just the ACLs section within it.
*/
function getAcl(opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("tailscale:index/getAcl:getAcl", {}, opts);
}
exports.getAcl = getAcl;
/**
* The acl data source gets the Tailscale policy file for a tailnet
*
* > **Note:** The naming of this data source predates Tailscale's usage of the term "policy file" to refer to the centralized configuration file for a tailnet. This data source fetches a tailnet's entire policy file and not just the ACLs section within it.
*/
function getAclOutput(opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("tailscale:index/getAcl:getAcl", {}, opts);
}
exports.getAclOutput = getAclOutput;
//# sourceMappingURL=getAcl.js.map