@pulumi/tailscale 1.0.0-alpha.1767140025 → 1.0.0-alpha.1767670937

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/acl.d.ts CHANGED
@@ -1,8 +1,10 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * The acl resource allows you to configure a Tailscale ACL. See https://tailscale.com/kb/1018/acls for more information. Note that this resource will completely overwrite existing ACL contents for a given tailnet.
3
+ * The acl resource allows you to configure a Tailscale policy file. See https://tailscale.com/kb/1395/tailnet-policy-file for more information. Note that this resource will completely overwrite existing policy file contents for a given tailnet.
4
4
  *
5
- * If tests are defined in the ACL (the top-level "tests" section), ACL validation will occur before creation and update operations are applied.
5
+ * If tests are defined in the policy file (the top-level "tests" section), policy file validation will occur before creation and update operations are applied.
6
+ *
7
+ * > **Note:** The naming of this resource predates Tailscale's usage of the term "policy file" to refer to the centralized configuration file for a tailnet. This resource controls a tailnet's entire policy file and not just the ACLs section within it.
6
8
  *
7
9
  * ## Example Usage
8
10
  *
@@ -11,20 +13,20 @@ import * as pulumi from "@pulumi/pulumi";
11
13
  * import * as tailscale from "@pulumi/tailscale";
12
14
  *
13
15
  * const asJson = new tailscale.Acl("as_json", {acl: JSON.stringify({
14
- * acls: [{
15
- * action: "accept",
16
- * users: ["*"],
17
- * ports: ["*:*"],
16
+ * grants: [{
17
+ * src: ["*"],
18
+ * dst: ["*"],
19
+ * ip: ["*"],
18
20
  * }],
19
21
  * })});
20
22
  * const asHujson = new tailscale.Acl("as_hujson", {acl: ` {
21
23
  * // Comments in HuJSON policy are preserved when the policy is applied.
22
- * \\"acls\\": [
24
+ * \\"grants\\": [
23
25
  * {
24
26
  * // Allow all users access to all ports.
25
- * action = \\"accept\\",
26
- * users = [\\"*\\"],
27
- * ports = [\\"*:*\\"],
27
+ * \\"src\\" = [\\"*\\"],
28
+ * \\"dst\\" = [\\"*\\"],
29
+ * \\"ip\\" = [\\"*\\"],
28
30
  * },
29
31
  * ],
30
32
  * }
@@ -33,8 +35,6 @@ import * as pulumi from "@pulumi/pulumi";
33
35
  *
34
36
  * ## Import
35
37
  *
36
- * The `pulumi import` command can be used, for example:
37
- *
38
38
  * ID doesn't matter.
39
39
  *
40
40
  * ```sh
@@ -62,11 +62,11 @@ export declare class Acl extends pulumi.CustomResource {
62
62
  */
63
63
  readonly acl: pulumi.Output<string>;
64
64
  /**
65
- * If true, will skip requirement to import acl before allowing changes. Be careful, can cause ACL to be overwritten
65
+ * If true, will skip requirement to import acl before allowing changes. Be careful, can cause the policy file to be overwritten
66
66
  */
67
67
  readonly overwriteExistingContent: pulumi.Output<boolean | undefined>;
68
68
  /**
69
- * If true, will reset the ACL for the Tailnet to the default when this resource is destroyed
69
+ * If true, will reset the policy file for the Tailnet to the default when this resource is destroyed
70
70
  */
71
71
  readonly resetAclOnDestroy: pulumi.Output<boolean | undefined>;
72
72
  /**
@@ -87,11 +87,11 @@ export interface AclState {
87
87
  */
88
88
  acl?: pulumi.Input<string>;
89
89
  /**
90
- * If true, will skip requirement to import acl before allowing changes. Be careful, can cause ACL to be overwritten
90
+ * If true, will skip requirement to import acl before allowing changes. Be careful, can cause the policy file to be overwritten
91
91
  */
92
92
  overwriteExistingContent?: pulumi.Input<boolean>;
93
93
  /**
94
- * If true, will reset the ACL for the Tailnet to the default when this resource is destroyed
94
+ * If true, will reset the policy file for the Tailnet to the default when this resource is destroyed
95
95
  */
96
96
  resetAclOnDestroy?: pulumi.Input<boolean>;
97
97
  }
@@ -104,11 +104,11 @@ export interface AclArgs {
104
104
  */
105
105
  acl: pulumi.Input<string>;
106
106
  /**
107
- * If true, will skip requirement to import acl before allowing changes. Be careful, can cause ACL to be overwritten
107
+ * If true, will skip requirement to import acl before allowing changes. Be careful, can cause the policy file to be overwritten
108
108
  */
109
109
  overwriteExistingContent?: pulumi.Input<boolean>;
110
110
  /**
111
- * If true, will reset the ACL for the Tailnet to the default when this resource is destroyed
111
+ * If true, will reset the policy file for the Tailnet to the default when this resource is destroyed
112
112
  */
113
113
  resetAclOnDestroy?: pulumi.Input<boolean>;
114
114
  }
package/acl.js CHANGED
@@ -6,9 +6,11 @@ exports.Acl = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * The acl resource allows you to configure a Tailscale ACL. See https://tailscale.com/kb/1018/acls for more information. Note that this resource will completely overwrite existing ACL contents for a given tailnet.
9
+ * The acl resource allows you to configure a Tailscale policy file. See https://tailscale.com/kb/1395/tailnet-policy-file for more information. Note that this resource will completely overwrite existing policy file contents for a given tailnet.
10
10
  *
11
- * If tests are defined in the ACL (the top-level "tests" section), ACL validation will occur before creation and update operations are applied.
11
+ * If tests are defined in the policy file (the top-level "tests" section), policy file validation will occur before creation and update operations are applied.
12
+ *
13
+ * > **Note:** The naming of this resource predates Tailscale's usage of the term "policy file" to refer to the centralized configuration file for a tailnet. This resource controls a tailnet's entire policy file and not just the ACLs section within it.
12
14
  *
13
15
  * ## Example Usage
14
16
  *
@@ -17,20 +19,20 @@ const utilities = require("./utilities");
17
19
  * import * as tailscale from "@pulumi/tailscale";
18
20
  *
19
21
  * const asJson = new tailscale.Acl("as_json", {acl: JSON.stringify({
20
- * acls: [{
21
- * action: "accept",
22
- * users: ["*"],
23
- * ports: ["*:*"],
22
+ * grants: [{
23
+ * src: ["*"],
24
+ * dst: ["*"],
25
+ * ip: ["*"],
24
26
  * }],
25
27
  * })});
26
28
  * const asHujson = new tailscale.Acl("as_hujson", {acl: ` {
27
29
  * // Comments in HuJSON policy are preserved when the policy is applied.
28
- * \\"acls\\": [
30
+ * \\"grants\\": [
29
31
  * {
30
32
  * // Allow all users access to all ports.
31
- * action = \\"accept\\",
32
- * users = [\\"*\\"],
33
- * ports = [\\"*:*\\"],
33
+ * \\"src\\" = [\\"*\\"],
34
+ * \\"dst\\" = [\\"*\\"],
35
+ * \\"ip\\" = [\\"*\\"],
34
36
  * },
35
37
  * ],
36
38
  * }
@@ -39,8 +41,6 @@ const utilities = require("./utilities");
39
41
  *
40
42
  * ## Import
41
43
  *
42
- * The `pulumi import` command can be used, for example:
43
- *
44
44
  * ID doesn't matter.
45
45
  *
46
46
  * ```sh
@@ -0,0 +1,182 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * The federatedIdentity resource allows you to create federated identities to programmatically interact with the Tailscale API using workload identity federation.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as tailscale from "@pulumi/tailscale";
10
+ *
11
+ * const exampleFederatedIdentity = new tailscale.FederatedIdentity("example_federated_identity", {
12
+ * description: "Example federated identity",
13
+ * scopes: [
14
+ * "auth_keys",
15
+ * "devices:core",
16
+ * ],
17
+ * tags: ["tag:test"],
18
+ * issuer: "https://example.com",
19
+ * subject: "example-sub-*",
20
+ * customClaimRules: {
21
+ * repo_name: "example-repo-name",
22
+ * },
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * The `pulumi import` command can be used, for example:
29
+ *
30
+ * ```sh
31
+ * $ pulumi import tailscale:index/federatedIdentity:FederatedIdentity example k1234511CNTRL-kZDRvszg8621CNTRL
32
+ * ```
33
+ */
34
+ export declare class FederatedIdentity extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing FederatedIdentity resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FederatedIdentityState, opts?: pulumi.CustomResourceOptions): FederatedIdentity;
45
+ /**
46
+ * Returns true if the given object is an instance of FederatedIdentity. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj: any): obj is FederatedIdentity;
50
+ /**
51
+ * The value used when matching against the `aud` claim from an OIDC identity token. Specifying the audience is optional as Tailscale will generate a secure audience at creation time by default. It is recommended to let Tailscale generate the audience unless the identity provider you are integrating with requires a specific audience format.
52
+ */
53
+ readonly audience: pulumi.Output<string>;
54
+ /**
55
+ * The creation timestamp of the key in RFC3339 format
56
+ */
57
+ readonly createdAt: pulumi.Output<string>;
58
+ /**
59
+ * A map of claim names to pattern strings used to match against arbitrary claims in the OIDC identity token. Patterns can include `*` characters to match against any character.
60
+ */
61
+ readonly customClaimRules: pulumi.Output<{
62
+ [key: string]: string;
63
+ } | undefined>;
64
+ /**
65
+ * A description of the federated identity consisting of alphanumeric characters. Defaults to `""`.
66
+ */
67
+ readonly description: pulumi.Output<string | undefined>;
68
+ /**
69
+ * The issuer of the OIDC identity token used in the token exchange. Must be a valid and publicly reachable https:// URL.
70
+ */
71
+ readonly issuer: pulumi.Output<string>;
72
+ /**
73
+ * Scopes to grant to the federated identity. See https://tailscale.com/kb/1623/ for a list of available scopes.
74
+ */
75
+ readonly scopes: pulumi.Output<string[]>;
76
+ /**
77
+ * The pattern used when matching against the `sub` claim from an OIDC identity token. Patterns can include `*` characters to match against any character.
78
+ */
79
+ readonly subject: pulumi.Output<string>;
80
+ /**
81
+ * A list of tags that access tokens generated for the federated identity will be able to assign to devices. Mandatory if the scopes include "devices:core" or "authKeys".
82
+ */
83
+ readonly tags: pulumi.Output<string[] | undefined>;
84
+ /**
85
+ * The updated timestamp of the key in RFC3339 format
86
+ */
87
+ readonly updatedAt: pulumi.Output<string>;
88
+ /**
89
+ * ID of the user who created this federated identity, empty for federated identities created by other trust credentials.
90
+ */
91
+ readonly userId: pulumi.Output<string>;
92
+ /**
93
+ * Create a FederatedIdentity resource with the given unique name, arguments, and options.
94
+ *
95
+ * @param name The _unique_ name of the resource.
96
+ * @param args The arguments to use to populate this resource's properties.
97
+ * @param opts A bag of options that control this resource's behavior.
98
+ */
99
+ constructor(name: string, args: FederatedIdentityArgs, opts?: pulumi.CustomResourceOptions);
100
+ }
101
+ /**
102
+ * Input properties used for looking up and filtering FederatedIdentity resources.
103
+ */
104
+ export interface FederatedIdentityState {
105
+ /**
106
+ * The value used when matching against the `aud` claim from an OIDC identity token. Specifying the audience is optional as Tailscale will generate a secure audience at creation time by default. It is recommended to let Tailscale generate the audience unless the identity provider you are integrating with requires a specific audience format.
107
+ */
108
+ audience?: pulumi.Input<string>;
109
+ /**
110
+ * The creation timestamp of the key in RFC3339 format
111
+ */
112
+ createdAt?: pulumi.Input<string>;
113
+ /**
114
+ * A map of claim names to pattern strings used to match against arbitrary claims in the OIDC identity token. Patterns can include `*` characters to match against any character.
115
+ */
116
+ customClaimRules?: pulumi.Input<{
117
+ [key: string]: pulumi.Input<string>;
118
+ }>;
119
+ /**
120
+ * A description of the federated identity consisting of alphanumeric characters. Defaults to `""`.
121
+ */
122
+ description?: pulumi.Input<string>;
123
+ /**
124
+ * The issuer of the OIDC identity token used in the token exchange. Must be a valid and publicly reachable https:// URL.
125
+ */
126
+ issuer?: pulumi.Input<string>;
127
+ /**
128
+ * Scopes to grant to the federated identity. See https://tailscale.com/kb/1623/ for a list of available scopes.
129
+ */
130
+ scopes?: pulumi.Input<pulumi.Input<string>[]>;
131
+ /**
132
+ * The pattern used when matching against the `sub` claim from an OIDC identity token. Patterns can include `*` characters to match against any character.
133
+ */
134
+ subject?: pulumi.Input<string>;
135
+ /**
136
+ * A list of tags that access tokens generated for the federated identity will be able to assign to devices. Mandatory if the scopes include "devices:core" or "authKeys".
137
+ */
138
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
139
+ /**
140
+ * The updated timestamp of the key in RFC3339 format
141
+ */
142
+ updatedAt?: pulumi.Input<string>;
143
+ /**
144
+ * ID of the user who created this federated identity, empty for federated identities created by other trust credentials.
145
+ */
146
+ userId?: pulumi.Input<string>;
147
+ }
148
+ /**
149
+ * The set of arguments for constructing a FederatedIdentity resource.
150
+ */
151
+ export interface FederatedIdentityArgs {
152
+ /**
153
+ * The value used when matching against the `aud` claim from an OIDC identity token. Specifying the audience is optional as Tailscale will generate a secure audience at creation time by default. It is recommended to let Tailscale generate the audience unless the identity provider you are integrating with requires a specific audience format.
154
+ */
155
+ audience?: pulumi.Input<string>;
156
+ /**
157
+ * A map of claim names to pattern strings used to match against arbitrary claims in the OIDC identity token. Patterns can include `*` characters to match against any character.
158
+ */
159
+ customClaimRules?: pulumi.Input<{
160
+ [key: string]: pulumi.Input<string>;
161
+ }>;
162
+ /**
163
+ * A description of the federated identity consisting of alphanumeric characters. Defaults to `""`.
164
+ */
165
+ description?: pulumi.Input<string>;
166
+ /**
167
+ * The issuer of the OIDC identity token used in the token exchange. Must be a valid and publicly reachable https:// URL.
168
+ */
169
+ issuer: pulumi.Input<string>;
170
+ /**
171
+ * Scopes to grant to the federated identity. See https://tailscale.com/kb/1623/ for a list of available scopes.
172
+ */
173
+ scopes: pulumi.Input<pulumi.Input<string>[]>;
174
+ /**
175
+ * The pattern used when matching against the `sub` claim from an OIDC identity token. Patterns can include `*` characters to match against any character.
176
+ */
177
+ subject: pulumi.Input<string>;
178
+ /**
179
+ * A list of tags that access tokens generated for the federated identity will be able to assign to devices. Mandatory if the scopes include "devices:core" or "authKeys".
180
+ */
181
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
182
+ }
@@ -0,0 +1,108 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.FederatedIdentity = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * The federatedIdentity resource allows you to create federated identities to programmatically interact with the Tailscale API using workload identity federation.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as tailscale from "@pulumi/tailscale";
16
+ *
17
+ * const exampleFederatedIdentity = new tailscale.FederatedIdentity("example_federated_identity", {
18
+ * description: "Example federated identity",
19
+ * scopes: [
20
+ * "auth_keys",
21
+ * "devices:core",
22
+ * ],
23
+ * tags: ["tag:test"],
24
+ * issuer: "https://example.com",
25
+ * subject: "example-sub-*",
26
+ * customClaimRules: {
27
+ * repo_name: "example-repo-name",
28
+ * },
29
+ * });
30
+ * ```
31
+ *
32
+ * ## Import
33
+ *
34
+ * The `pulumi import` command can be used, for example:
35
+ *
36
+ * ```sh
37
+ * $ pulumi import tailscale:index/federatedIdentity:FederatedIdentity example k1234511CNTRL-kZDRvszg8621CNTRL
38
+ * ```
39
+ */
40
+ class FederatedIdentity extends pulumi.CustomResource {
41
+ /**
42
+ * Get an existing FederatedIdentity resource's state with the given name, ID, and optional extra
43
+ * properties used to qualify the lookup.
44
+ *
45
+ * @param name The _unique_ name of the resulting resource.
46
+ * @param id The _unique_ provider ID of the resource to lookup.
47
+ * @param state Any extra arguments used during the lookup.
48
+ * @param opts Optional settings to control the behavior of the CustomResource.
49
+ */
50
+ static get(name, id, state, opts) {
51
+ return new FederatedIdentity(name, state, { ...opts, id: id });
52
+ }
53
+ /**
54
+ * Returns true if the given object is an instance of FederatedIdentity. This is designed to work even
55
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
56
+ */
57
+ static isInstance(obj) {
58
+ if (obj === undefined || obj === null) {
59
+ return false;
60
+ }
61
+ return obj['__pulumiType'] === FederatedIdentity.__pulumiType;
62
+ }
63
+ constructor(name, argsOrState, opts) {
64
+ let resourceInputs = {};
65
+ opts = opts || {};
66
+ if (opts.id) {
67
+ const state = argsOrState;
68
+ resourceInputs["audience"] = state?.audience;
69
+ resourceInputs["createdAt"] = state?.createdAt;
70
+ resourceInputs["customClaimRules"] = state?.customClaimRules;
71
+ resourceInputs["description"] = state?.description;
72
+ resourceInputs["issuer"] = state?.issuer;
73
+ resourceInputs["scopes"] = state?.scopes;
74
+ resourceInputs["subject"] = state?.subject;
75
+ resourceInputs["tags"] = state?.tags;
76
+ resourceInputs["updatedAt"] = state?.updatedAt;
77
+ resourceInputs["userId"] = state?.userId;
78
+ }
79
+ else {
80
+ const args = argsOrState;
81
+ if (args?.issuer === undefined && !opts.urn) {
82
+ throw new Error("Missing required property 'issuer'");
83
+ }
84
+ if (args?.scopes === undefined && !opts.urn) {
85
+ throw new Error("Missing required property 'scopes'");
86
+ }
87
+ if (args?.subject === undefined && !opts.urn) {
88
+ throw new Error("Missing required property 'subject'");
89
+ }
90
+ resourceInputs["audience"] = args?.audience;
91
+ resourceInputs["customClaimRules"] = args?.customClaimRules;
92
+ resourceInputs["description"] = args?.description;
93
+ resourceInputs["issuer"] = args?.issuer;
94
+ resourceInputs["scopes"] = args?.scopes;
95
+ resourceInputs["subject"] = args?.subject;
96
+ resourceInputs["tags"] = args?.tags;
97
+ resourceInputs["createdAt"] = undefined /*out*/;
98
+ resourceInputs["updatedAt"] = undefined /*out*/;
99
+ resourceInputs["userId"] = undefined /*out*/;
100
+ }
101
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
102
+ super(FederatedIdentity.__pulumiType, name, resourceInputs, opts);
103
+ }
104
+ }
105
+ exports.FederatedIdentity = FederatedIdentity;
106
+ /** @internal */
107
+ FederatedIdentity.__pulumiType = 'tailscale:index/federatedIdentity:FederatedIdentity';
108
+ //# sourceMappingURL=federatedIdentity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"federatedIdentity.js","sourceRoot":"","sources":["../federatedIdentity.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,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Acl.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * The acl data source gets the Tailscale ACL for a tailnet
3
+ * The acl data source gets the Tailscale policy file for a tailnet
4
+ *
5
+ * > **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.
4
6
  */
5
7
  export declare function getAcl(opts?: pulumi.InvokeOptions): Promise<GetAclResult>;
6
8
  /**
@@ -21,6 +23,8 @@ export interface GetAclResult {
21
23
  readonly json: string;
22
24
  }
23
25
  /**
24
- * The acl data source gets the Tailscale ACL for a tailnet
26
+ * The acl data source gets the Tailscale policy file for a tailnet
27
+ *
28
+ * > **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.
25
29
  */
26
30
  export declare function getAclOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAclResult>;
package/getAcl.js CHANGED
@@ -6,7 +6,9 @@ exports.getAclOutput = exports.getAcl = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * The acl data source gets the Tailscale ACL for a tailnet
9
+ * The acl data source gets the Tailscale policy file for a tailnet
10
+ *
11
+ * > **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.
10
12
  */
11
13
  function getAcl(opts) {
12
14
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -14,7 +16,9 @@ function getAcl(opts) {
14
16
  }
15
17
  exports.getAcl = getAcl;
16
18
  /**
17
- * The acl data source gets the Tailscale ACL for a tailnet
19
+ * The acl data source gets the Tailscale policy file for a tailnet
20
+ *
21
+ * > **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.
18
22
  */
19
23
  function getAclOutput(opts) {
20
24
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
package/getAcl.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getAcl.js","sourceRoot":"","sources":["../getAcl.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,MAAM,CAAC,IAA2B;IAC9C,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE,EAC7D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wBAIC;AAmBD;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAiC;IAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+BAA+B,EAAE,EACnE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oCAIC"}
1
+ {"version":3,"file":"getAcl.js","sourceRoot":"","sources":["../getAcl.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,MAAM,CAAC,IAA2B;IAC9C,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE,EAC7D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wBAIC;AAmBD;;;;GAIG;AACH,SAAgB,YAAY,CAAC,IAAiC;IAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+BAA+B,EAAE,EACnE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oCAIC"}
package/index.d.ts CHANGED
@@ -34,6 +34,9 @@ export declare const DnsSearchPaths: typeof import("./dnsSearchPaths").DnsSearch
34
34
  export { DnsSplitNameserversArgs, DnsSplitNameserversState } from "./dnsSplitNameservers";
35
35
  export type DnsSplitNameservers = import("./dnsSplitNameservers").DnsSplitNameservers;
36
36
  export declare const DnsSplitNameservers: typeof import("./dnsSplitNameservers").DnsSplitNameservers;
37
+ export { FederatedIdentityArgs, FederatedIdentityState } from "./federatedIdentity";
38
+ export type FederatedIdentity = import("./federatedIdentity").FederatedIdentity;
39
+ export declare const FederatedIdentity: typeof import("./federatedIdentity").FederatedIdentity;
37
40
  export { Get4Via6Args, Get4Via6Result, Get4Via6OutputArgs } from "./get4Via6";
38
41
  export declare const get4Via6: typeof import("./get4Via6").get4Via6;
39
42
  export declare const get4Via6Output: typeof import("./get4Via6").get4Via6Output;
package/index.js CHANGED
@@ -16,7 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.types = exports.config = exports.Webhook = exports.TailnetSettings = exports.TailnetKey = exports.PostureIntegration = exports.OauthClient = exports.LogstreamConfiguration = exports.getUsersOutput = exports.getUsers = exports.getUserOutput = exports.getUser = exports.getDevicesOutput = exports.getDevices = exports.getDeviceOutput = exports.getDevice = exports.getAclOutput = exports.getAcl = exports.get4Via6Output = exports.get4Via6 = exports.DnsSplitNameservers = exports.DnsSearchPaths = exports.DnsPreferences = exports.DnsNameservers = exports.DnsConfiguration = exports.DeviceTags = exports.DeviceSubnetRoutes = exports.DeviceKey = exports.DeviceAuthorization = exports.Contacts = exports.AwsExternalId = exports.Acl = void 0;
19
+ exports.types = exports.config = exports.Webhook = exports.TailnetSettings = exports.TailnetKey = exports.PostureIntegration = exports.OauthClient = exports.LogstreamConfiguration = exports.getUsersOutput = exports.getUsers = exports.getUserOutput = exports.getUser = exports.getDevicesOutput = exports.getDevices = exports.getDeviceOutput = exports.getDevice = exports.getAclOutput = exports.getAcl = exports.get4Via6Output = exports.get4Via6 = exports.FederatedIdentity = exports.DnsSplitNameservers = exports.DnsSearchPaths = exports.DnsPreferences = exports.DnsNameservers = exports.DnsConfiguration = exports.DeviceTags = exports.DeviceSubnetRoutes = exports.DeviceKey = exports.DeviceAuthorization = exports.Contacts = exports.AwsExternalId = exports.Acl = void 0;
20
20
  const pulumi = require("@pulumi/pulumi");
21
21
  const utilities = require("./utilities");
22
22
  exports.Acl = null;
@@ -43,6 +43,8 @@ exports.DnsSearchPaths = null;
43
43
  utilities.lazyLoad(exports, ["DnsSearchPaths"], () => require("./dnsSearchPaths"));
44
44
  exports.DnsSplitNameservers = null;
45
45
  utilities.lazyLoad(exports, ["DnsSplitNameservers"], () => require("./dnsSplitNameservers"));
46
+ exports.FederatedIdentity = null;
47
+ utilities.lazyLoad(exports, ["FederatedIdentity"], () => require("./federatedIdentity"));
46
48
  exports.get4Via6 = null;
47
49
  exports.get4Via6Output = null;
48
50
  utilities.lazyLoad(exports, ["get4Via6", "get4Via6Output"], () => require("./get4Via6"));
@@ -108,6 +110,8 @@ const _module = {
108
110
  return new exports.DnsSearchPaths(name, undefined, { urn });
109
111
  case "tailscale:index/dnsSplitNameservers:DnsSplitNameservers":
110
112
  return new exports.DnsSplitNameservers(name, undefined, { urn });
113
+ case "tailscale:index/federatedIdentity:FederatedIdentity":
114
+ return new exports.FederatedIdentity(name, undefined, { urn });
111
115
  case "tailscale:index/logstreamConfiguration:LogstreamConfiguration":
112
116
  return new exports.LogstreamConfiguration(name, undefined, { urn });
113
117
  case "tailscale:index/oauthClient:OauthClient":
@@ -137,6 +141,7 @@ pulumi.runtime.registerResourceModule("tailscale", "index/dnsNameservers", _modu
137
141
  pulumi.runtime.registerResourceModule("tailscale", "index/dnsPreferences", _module);
138
142
  pulumi.runtime.registerResourceModule("tailscale", "index/dnsSearchPaths", _module);
139
143
  pulumi.runtime.registerResourceModule("tailscale", "index/dnsSplitNameservers", _module);
144
+ pulumi.runtime.registerResourceModule("tailscale", "index/federatedIdentity", _module);
140
145
  pulumi.runtime.registerResourceModule("tailscale", "index/logstreamConfiguration", _module);
141
146
  pulumi.runtime.registerResourceModule("tailscale", "index/oauthClient", _module);
142
147
  pulumi.runtime.registerResourceModule("tailscale", "index/postureIntegration", _module);
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,GAAG,GAA+B,IAAW,CAAC;AAC3D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;AAIhD,QAAA,aAAa,GAAmD,IAAW,CAAC;AACzF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAIpE,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAI1D,QAAA,mBAAmB,GAA+D,IAAW,CAAC;AAC3G,SAAS,CAAC,QAAQ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AC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA;AAC3F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,WAAW,EAAE;IAChD,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,4BAA4B,EAAE;YACvC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
package/oauthClient.d.ts CHANGED
@@ -46,7 +46,7 @@ export declare class OauthClient extends pulumi.CustomResource {
46
46
  */
47
47
  readonly createdAt: pulumi.Output<string>;
48
48
  /**
49
- * A description of the key consisting of alphanumeric characters. Defaults to `""`.
49
+ * A description of the OAuth client consisting of alphanumeric characters. Defaults to `""`.
50
50
  */
51
51
  readonly description: pulumi.Output<string | undefined>;
52
52
  /**
@@ -54,7 +54,7 @@ export declare class OauthClient extends pulumi.CustomResource {
54
54
  */
55
55
  readonly key: pulumi.Output<string>;
56
56
  /**
57
- * Scopes to grant to the client. See https://tailscale.com/kb/1215/ for a list of available scopes.
57
+ * Scopes to grant to the client. See https://tailscale.com/kb/1623/ for a list of available scopes.
58
58
  */
59
59
  readonly scopes: pulumi.Output<string[]>;
60
60
  /**
@@ -62,7 +62,11 @@ export declare class OauthClient extends pulumi.CustomResource {
62
62
  */
63
63
  readonly tags: pulumi.Output<string[] | undefined>;
64
64
  /**
65
- * ID of the user who created this key, empty for OAuth clients created by other OAuth clients.
65
+ * The updated timestamp of the key in RFC3339 format
66
+ */
67
+ readonly updatedAt: pulumi.Output<string>;
68
+ /**
69
+ * ID of the user who created this key, empty for OAuth clients created by other trust credentials.
66
70
  */
67
71
  readonly userId: pulumi.Output<string>;
68
72
  /**
@@ -83,7 +87,7 @@ export interface OauthClientState {
83
87
  */
84
88
  createdAt?: pulumi.Input<string>;
85
89
  /**
86
- * A description of the key consisting of alphanumeric characters. Defaults to `""`.
90
+ * A description of the OAuth client consisting of alphanumeric characters. Defaults to `""`.
87
91
  */
88
92
  description?: pulumi.Input<string>;
89
93
  /**
@@ -91,7 +95,7 @@ export interface OauthClientState {
91
95
  */
92
96
  key?: pulumi.Input<string>;
93
97
  /**
94
- * Scopes to grant to the client. See https://tailscale.com/kb/1215/ for a list of available scopes.
98
+ * Scopes to grant to the client. See https://tailscale.com/kb/1623/ for a list of available scopes.
95
99
  */
96
100
  scopes?: pulumi.Input<pulumi.Input<string>[]>;
97
101
  /**
@@ -99,7 +103,11 @@ export interface OauthClientState {
99
103
  */
100
104
  tags?: pulumi.Input<pulumi.Input<string>[]>;
101
105
  /**
102
- * ID of the user who created this key, empty for OAuth clients created by other OAuth clients.
106
+ * The updated timestamp of the key in RFC3339 format
107
+ */
108
+ updatedAt?: pulumi.Input<string>;
109
+ /**
110
+ * ID of the user who created this key, empty for OAuth clients created by other trust credentials.
103
111
  */
104
112
  userId?: pulumi.Input<string>;
105
113
  }
@@ -108,11 +116,11 @@ export interface OauthClientState {
108
116
  */
109
117
  export interface OauthClientArgs {
110
118
  /**
111
- * A description of the key consisting of alphanumeric characters. Defaults to `""`.
119
+ * A description of the OAuth client consisting of alphanumeric characters. Defaults to `""`.
112
120
  */
113
121
  description?: pulumi.Input<string>;
114
122
  /**
115
- * Scopes to grant to the client. See https://tailscale.com/kb/1215/ for a list of available scopes.
123
+ * Scopes to grant to the client. See https://tailscale.com/kb/1623/ for a list of available scopes.
116
124
  */
117
125
  scopes: pulumi.Input<pulumi.Input<string>[]>;
118
126
  /**
package/oauthClient.js CHANGED
@@ -64,6 +64,7 @@ class OauthClient extends pulumi.CustomResource {
64
64
  resourceInputs["key"] = state?.key;
65
65
  resourceInputs["scopes"] = state?.scopes;
66
66
  resourceInputs["tags"] = state?.tags;
67
+ resourceInputs["updatedAt"] = state?.updatedAt;
67
68
  resourceInputs["userId"] = state?.userId;
68
69
  }
69
70
  else {
@@ -76,6 +77,7 @@ class OauthClient extends pulumi.CustomResource {
76
77
  resourceInputs["tags"] = args?.tags;
77
78
  resourceInputs["createdAt"] = undefined /*out*/;
78
79
  resourceInputs["key"] = undefined /*out*/;
80
+ resourceInputs["updatedAt"] = undefined /*out*/;
79
81
  resourceInputs["userId"] = undefined /*out*/;
80
82
  }
81
83
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"oauthClient.js","sourceRoot":"","sources":["../oauthClient.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QAC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YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;QACxD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA9FL,kCA+FC;AAjFG,gBAAgB;AACO,wBAAY,GAAG,yCAAyC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/tailscale",
3
- "version": "1.0.0-alpha.1767140025",
3
+ "version": "1.0.0-alpha.1767670937",
4
4
  "description": "A Pulumi package for creating and managing Tailscale cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -23,6 +23,6 @@
23
23
  "pulumi": {
24
24
  "resource": true,
25
25
  "name": "tailscale",
26
- "version": "1.0.0-alpha.1767140025"
26
+ "version": "1.0.0-alpha.1767670937"
27
27
  }
28
28
  }