@pulumi/consul 3.11.2 → 3.11.3
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/aclAuthMethod.d.ts +2 -4
- package/aclAuthMethod.js +2 -4
- package/aclAuthMethod.js.map +1 -1
- package/aclBindingRule.d.ts +1 -2
- package/aclBindingRule.js +1 -2
- package/aclBindingRule.js.map +1 -1
- package/aclPolicy.d.ts +1 -3
- package/aclPolicy.js +1 -3
- package/aclPolicy.js.map +1 -1
- package/aclRole.d.ts +5 -5
- package/aclRole.js +2 -2
- package/aclRolePolicyAttachment.d.ts +4 -5
- package/aclRolePolicyAttachment.js +4 -5
- package/aclRolePolicyAttachment.js.map +1 -1
- package/aclToken.d.ts +9 -8
- package/aclToken.js +9 -8
- package/aclToken.js.map +1 -1
- package/adminPartition.d.ts +4 -3
- package/adminPartition.js +4 -3
- package/adminPartition.js.map +1 -1
- package/agentService.d.ts +1 -2
- package/agentService.js +1 -2
- package/agentService.js.map +1 -1
- package/autopilotConfig.d.ts +0 -2
- package/autopilotConfig.js +0 -2
- package/autopilotConfig.js.map +1 -1
- package/catalogEntry.d.ts +0 -24
- package/catalogEntry.js +0 -24
- package/catalogEntry.js.map +1 -1
- package/certificateAuthority.d.ts +0 -21
- package/certificateAuthority.js.map +1 -1
- package/configEntry.d.ts +26 -23
- package/configEntry.js +26 -23
- package/configEntry.js.map +1 -1
- package/configEntryServiceDefaults.d.ts +9 -9
- package/configEntryServiceIntentions.d.ts +12 -12
- package/configEntryServiceIntentions.js +3 -3
- package/configEntryServiceResolver.d.ts +25 -26
- package/configEntryServiceResolver.js +16 -17
- package/configEntryServiceResolver.js.map +1 -1
- package/configEntryServiceRouter.d.ts +9 -29
- package/configEntryServiceRouter.js +0 -20
- package/configEntryServiceRouter.js.map +1 -1
- package/configEntryServiceSplitter.d.ts +11 -10
- package/configEntryServiceSplitter.js +5 -4
- package/configEntryServiceSplitter.js.map +1 -1
- package/getAclAuthMethod.d.ts +0 -4
- package/getAclAuthMethod.js +0 -4
- package/getAclAuthMethod.js.map +1 -1
- package/getAclPolicy.d.ts +0 -4
- package/getAclPolicy.js +0 -4
- package/getAclPolicy.js.map +1 -1
- package/getAclRole.d.ts +6 -4
- package/getAclRole.js +0 -4
- package/getAclRole.js.map +1 -1
- package/getAclToken.d.ts +0 -4
- package/getAclToken.js +0 -4
- package/getAclToken.js.map +1 -1
- package/getAclTokenSecretId.d.ts +8 -10
- package/getAclTokenSecretId.js +8 -10
- package/getAclTokenSecretId.js.map +1 -1
- package/getAgentConfig.d.ts +0 -4
- package/getAgentConfig.js +0 -4
- package/getAgentConfig.js.map +1 -1
- package/getAutopilotHealth.d.ts +0 -4
- package/getAutopilotHealth.js +0 -4
- package/getAutopilotHealth.js.map +1 -1
- package/getCatalogService.d.ts +38 -8
- package/getCatalogService.js +38 -0
- package/getCatalogService.js.map +1 -1
- package/getCatalogServices.d.ts +40 -0
- package/getCatalogServices.js +40 -0
- package/getCatalogServices.js.map +1 -1
- package/getKeyPrefix.d.ts +14 -22
- package/getKeyPrefix.js +14 -22
- package/getKeyPrefix.js.map +1 -1
- package/getKeys.d.ts +4 -10
- package/getKeys.js +4 -10
- package/getKeys.js.map +1 -1
- package/getNetworkAreaMembers.d.ts +6 -10
- package/getNetworkAreaMembers.js +6 -10
- package/getNetworkAreaMembers.js.map +1 -1
- package/getNetworkSegments.d.ts +12 -8
- package/getNetworkSegments.js +12 -8
- package/getNetworkSegments.js.map +1 -1
- package/getPeering.d.ts +0 -4
- package/getPeering.js +0 -4
- package/getPeering.js.map +1 -1
- package/getPeerings.d.ts +0 -4
- package/getPeerings.js +0 -4
- package/getPeerings.js.map +1 -1
- package/getService.d.ts +38 -8
- package/getService.js +38 -0
- package/getService.js.map +1 -1
- package/getServices.d.ts +40 -0
- package/getServices.js +40 -0
- package/getServices.js.map +1 -1
- package/intention.d.ts +4 -8
- package/intention.js +4 -8
- package/intention.js.map +1 -1
- package/keyPrefix.d.ts +12 -14
- package/keyPrefix.js +12 -14
- package/keyPrefix.js.map +1 -1
- package/keys.d.ts +2 -4
- package/keys.js +2 -4
- package/keys.js.map +1 -1
- package/license.d.ts +4 -4
- package/license.js +4 -4
- package/namespace.d.ts +1 -2
- package/namespace.js +1 -2
- package/namespace.js.map +1 -1
- package/networkArea.d.ts +0 -2
- package/networkArea.js +0 -2
- package/networkArea.js.map +1 -1
- package/node.d.ts +4 -3
- package/node.js +4 -3
- package/node.js.map +1 -1
- package/package.json +3 -2
- package/peering.d.ts +3 -12
- package/peering.js +3 -12
- package/peering.js.map +1 -1
- package/peeringToken.d.ts +0 -2
- package/peeringToken.js +0 -2
- package/peeringToken.js.map +1 -1
- package/preparedQuery.d.ts +30 -30
- package/preparedQuery.js +27 -27
- package/provider.d.ts +8 -8
- package/service.d.ts +41 -8
- package/service.js +38 -5
- package/service.js.map +1 -1
- package/types/input.d.ts +11 -11
- package/types/output.d.ts +11 -11
- package/package.json.bak +0 -27
|
@@ -4,12 +4,12 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
-
* <!--Start PulumiCodeChooser -->
|
|
8
7
|
* ```typescript
|
|
9
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
9
|
* import * as consul from "@pulumi/consul";
|
|
11
10
|
*
|
|
12
|
-
* const jwtProvider = new consul.ConfigEntry("
|
|
11
|
+
* const jwtProvider = new consul.ConfigEntry("jwt_provider", {
|
|
12
|
+
* name: "okta",
|
|
13
13
|
* kind: "jwt-provider",
|
|
14
14
|
* configJson: JSON.stringify({
|
|
15
15
|
* ClockSkewSeconds: 30,
|
|
@@ -23,6 +23,7 @@ import * as outputs from "./types/output";
|
|
|
23
23
|
* }),
|
|
24
24
|
* });
|
|
25
25
|
* const web = new consul.ConfigEntryServiceIntentions("web", {
|
|
26
|
+
* name: "web",
|
|
26
27
|
* jwts: [{
|
|
27
28
|
* providers: [{
|
|
28
29
|
* name: jwtProvider.name,
|
|
@@ -49,7 +50,6 @@ import * as outputs from "./types/output";
|
|
|
49
50
|
* ],
|
|
50
51
|
* });
|
|
51
52
|
* ```
|
|
52
|
-
* <!--End PulumiCodeChooser -->
|
|
53
53
|
*/
|
|
54
54
|
export declare class ConfigEntryServiceIntentions extends pulumi.CustomResource {
|
|
55
55
|
/**
|
|
@@ -78,15 +78,15 @@ export declare class ConfigEntryServiceIntentions extends pulumi.CustomResource
|
|
|
78
78
|
[key: string]: string;
|
|
79
79
|
} | undefined>;
|
|
80
80
|
/**
|
|
81
|
-
* Specifies
|
|
81
|
+
* Specifies a name of the destination service for all intentions defined in the configuration entry.
|
|
82
82
|
*/
|
|
83
83
|
readonly name: pulumi.Output<string>;
|
|
84
84
|
/**
|
|
85
|
-
* Specifies the
|
|
85
|
+
* Specifies the namespace to apply the configuration entry.
|
|
86
86
|
*/
|
|
87
87
|
readonly namespace: pulumi.Output<string | undefined>;
|
|
88
88
|
/**
|
|
89
|
-
* Specifies the
|
|
89
|
+
* Specifies the admin partition to apply the configuration entry.
|
|
90
90
|
*/
|
|
91
91
|
readonly partition: pulumi.Output<string | undefined>;
|
|
92
92
|
/**
|
|
@@ -117,15 +117,15 @@ export interface ConfigEntryServiceIntentionsState {
|
|
|
117
117
|
[key: string]: pulumi.Input<string>;
|
|
118
118
|
}>;
|
|
119
119
|
/**
|
|
120
|
-
* Specifies
|
|
120
|
+
* Specifies a name of the destination service for all intentions defined in the configuration entry.
|
|
121
121
|
*/
|
|
122
122
|
name?: pulumi.Input<string>;
|
|
123
123
|
/**
|
|
124
|
-
* Specifies the
|
|
124
|
+
* Specifies the namespace to apply the configuration entry.
|
|
125
125
|
*/
|
|
126
126
|
namespace?: pulumi.Input<string>;
|
|
127
127
|
/**
|
|
128
|
-
* Specifies the
|
|
128
|
+
* Specifies the admin partition to apply the configuration entry.
|
|
129
129
|
*/
|
|
130
130
|
partition?: pulumi.Input<string>;
|
|
131
131
|
/**
|
|
@@ -148,15 +148,15 @@ export interface ConfigEntryServiceIntentionsArgs {
|
|
|
148
148
|
[key: string]: pulumi.Input<string>;
|
|
149
149
|
}>;
|
|
150
150
|
/**
|
|
151
|
-
* Specifies
|
|
151
|
+
* Specifies a name of the destination service for all intentions defined in the configuration entry.
|
|
152
152
|
*/
|
|
153
153
|
name?: pulumi.Input<string>;
|
|
154
154
|
/**
|
|
155
|
-
* Specifies the
|
|
155
|
+
* Specifies the namespace to apply the configuration entry.
|
|
156
156
|
*/
|
|
157
157
|
namespace?: pulumi.Input<string>;
|
|
158
158
|
/**
|
|
159
|
-
* Specifies the
|
|
159
|
+
* Specifies the admin partition to apply the configuration entry.
|
|
160
160
|
*/
|
|
161
161
|
partition?: pulumi.Input<string>;
|
|
162
162
|
/**
|
|
@@ -8,12 +8,12 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
-
* <!--Start PulumiCodeChooser -->
|
|
12
11
|
* ```typescript
|
|
13
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
13
|
* import * as consul from "@pulumi/consul";
|
|
15
14
|
*
|
|
16
|
-
* const jwtProvider = new consul.ConfigEntry("
|
|
15
|
+
* const jwtProvider = new consul.ConfigEntry("jwt_provider", {
|
|
16
|
+
* name: "okta",
|
|
17
17
|
* kind: "jwt-provider",
|
|
18
18
|
* configJson: JSON.stringify({
|
|
19
19
|
* ClockSkewSeconds: 30,
|
|
@@ -27,6 +27,7 @@ const utilities = require("./utilities");
|
|
|
27
27
|
* }),
|
|
28
28
|
* });
|
|
29
29
|
* const web = new consul.ConfigEntryServiceIntentions("web", {
|
|
30
|
+
* name: "web",
|
|
30
31
|
* jwts: [{
|
|
31
32
|
* providers: [{
|
|
32
33
|
* name: jwtProvider.name,
|
|
@@ -53,7 +54,6 @@ const utilities = require("./utilities");
|
|
|
53
54
|
* ],
|
|
54
55
|
* });
|
|
55
56
|
* ```
|
|
56
|
-
* <!--End PulumiCodeChooser -->
|
|
57
57
|
*/
|
|
58
58
|
class ConfigEntryServiceIntentions extends pulumi.CustomResource {
|
|
59
59
|
/**
|
|
@@ -4,44 +4,43 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
-
* <!--Start PulumiCodeChooser -->
|
|
8
7
|
* ```typescript
|
|
9
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
9
|
* import * as consul from "@pulumi/consul";
|
|
11
10
|
*
|
|
12
11
|
* const web = new consul.ConfigEntryServiceResolver("web", {
|
|
13
|
-
*
|
|
12
|
+
* name: "web",
|
|
14
13
|
* defaultSubset: "v1",
|
|
15
|
-
*
|
|
14
|
+
* connectTimeout: "15s",
|
|
15
|
+
* subsets: [
|
|
16
16
|
* {
|
|
17
|
-
*
|
|
18
|
-
*
|
|
17
|
+
* name: "v1",
|
|
18
|
+
* filter: "Service.Meta.version == v1",
|
|
19
19
|
* },
|
|
20
20
|
* {
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* "dc4",
|
|
24
|
-
* ],
|
|
25
|
-
* subsetName: "*",
|
|
21
|
+
* name: "v2",
|
|
22
|
+
* filter: "Service.Meta.version == v2",
|
|
26
23
|
* },
|
|
27
24
|
* ],
|
|
28
25
|
* redirects: [{
|
|
29
|
-
* datacenter: "dc2",
|
|
30
26
|
* service: "web",
|
|
27
|
+
* datacenter: "dc2",
|
|
31
28
|
* }],
|
|
32
|
-
*
|
|
29
|
+
* failovers: [
|
|
33
30
|
* {
|
|
34
|
-
*
|
|
35
|
-
*
|
|
31
|
+
* subsetName: "v2",
|
|
32
|
+
* datacenters: ["dc2"],
|
|
36
33
|
* },
|
|
37
34
|
* {
|
|
38
|
-
*
|
|
39
|
-
*
|
|
35
|
+
* subsetName: "*",
|
|
36
|
+
* datacenters: [
|
|
37
|
+
* "dc3",
|
|
38
|
+
* "dc4",
|
|
39
|
+
* ],
|
|
40
40
|
* },
|
|
41
41
|
* ],
|
|
42
42
|
* });
|
|
43
43
|
* ```
|
|
44
|
-
* <!--End PulumiCodeChooser -->
|
|
45
44
|
*/
|
|
46
45
|
export declare class ConfigEntryServiceResolver extends pulumi.CustomResource {
|
|
47
46
|
/**
|
|
@@ -82,15 +81,15 @@ export declare class ConfigEntryServiceResolver extends pulumi.CustomResource {
|
|
|
82
81
|
[key: string]: string;
|
|
83
82
|
} | undefined>;
|
|
84
83
|
/**
|
|
85
|
-
*
|
|
84
|
+
* Specifies a name for the configuration entry.
|
|
86
85
|
*/
|
|
87
86
|
readonly name: pulumi.Output<string>;
|
|
88
87
|
/**
|
|
89
|
-
* Specifies the namespace
|
|
88
|
+
* Specifies the namespace that the service resolver applies to.
|
|
90
89
|
*/
|
|
91
90
|
readonly namespace: pulumi.Output<string | undefined>;
|
|
92
91
|
/**
|
|
93
|
-
* Specifies the admin partition
|
|
92
|
+
* Specifies the admin partition that the service resolver applies to.
|
|
94
93
|
*/
|
|
95
94
|
readonly partition: pulumi.Output<string | undefined>;
|
|
96
95
|
/**
|
|
@@ -141,15 +140,15 @@ export interface ConfigEntryServiceResolverState {
|
|
|
141
140
|
[key: string]: pulumi.Input<string>;
|
|
142
141
|
}>;
|
|
143
142
|
/**
|
|
144
|
-
*
|
|
143
|
+
* Specifies a name for the configuration entry.
|
|
145
144
|
*/
|
|
146
145
|
name?: pulumi.Input<string>;
|
|
147
146
|
/**
|
|
148
|
-
* Specifies the namespace
|
|
147
|
+
* Specifies the namespace that the service resolver applies to.
|
|
149
148
|
*/
|
|
150
149
|
namespace?: pulumi.Input<string>;
|
|
151
150
|
/**
|
|
152
|
-
* Specifies the admin partition
|
|
151
|
+
* Specifies the admin partition that the service resolver applies to.
|
|
153
152
|
*/
|
|
154
153
|
partition?: pulumi.Input<string>;
|
|
155
154
|
/**
|
|
@@ -192,15 +191,15 @@ export interface ConfigEntryServiceResolverArgs {
|
|
|
192
191
|
[key: string]: pulumi.Input<string>;
|
|
193
192
|
}>;
|
|
194
193
|
/**
|
|
195
|
-
*
|
|
194
|
+
* Specifies a name for the configuration entry.
|
|
196
195
|
*/
|
|
197
196
|
name?: pulumi.Input<string>;
|
|
198
197
|
/**
|
|
199
|
-
* Specifies the namespace
|
|
198
|
+
* Specifies the namespace that the service resolver applies to.
|
|
200
199
|
*/
|
|
201
200
|
namespace?: pulumi.Input<string>;
|
|
202
201
|
/**
|
|
203
|
-
* Specifies the admin partition
|
|
202
|
+
* Specifies the admin partition that the service resolver applies to.
|
|
204
203
|
*/
|
|
205
204
|
partition?: pulumi.Input<string>;
|
|
206
205
|
/**
|
|
@@ -8,44 +8,43 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
-
* <!--Start PulumiCodeChooser -->
|
|
12
11
|
* ```typescript
|
|
13
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
13
|
* import * as consul from "@pulumi/consul";
|
|
15
14
|
*
|
|
16
15
|
* const web = new consul.ConfigEntryServiceResolver("web", {
|
|
17
|
-
*
|
|
16
|
+
* name: "web",
|
|
18
17
|
* defaultSubset: "v1",
|
|
19
|
-
*
|
|
18
|
+
* connectTimeout: "15s",
|
|
19
|
+
* subsets: [
|
|
20
20
|
* {
|
|
21
|
-
*
|
|
22
|
-
*
|
|
21
|
+
* name: "v1",
|
|
22
|
+
* filter: "Service.Meta.version == v1",
|
|
23
23
|
* },
|
|
24
24
|
* {
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* "dc4",
|
|
28
|
-
* ],
|
|
29
|
-
* subsetName: "*",
|
|
25
|
+
* name: "v2",
|
|
26
|
+
* filter: "Service.Meta.version == v2",
|
|
30
27
|
* },
|
|
31
28
|
* ],
|
|
32
29
|
* redirects: [{
|
|
33
|
-
* datacenter: "dc2",
|
|
34
30
|
* service: "web",
|
|
31
|
+
* datacenter: "dc2",
|
|
35
32
|
* }],
|
|
36
|
-
*
|
|
33
|
+
* failovers: [
|
|
37
34
|
* {
|
|
38
|
-
*
|
|
39
|
-
*
|
|
35
|
+
* subsetName: "v2",
|
|
36
|
+
* datacenters: ["dc2"],
|
|
40
37
|
* },
|
|
41
38
|
* {
|
|
42
|
-
*
|
|
43
|
-
*
|
|
39
|
+
* subsetName: "*",
|
|
40
|
+
* datacenters: [
|
|
41
|
+
* "dc3",
|
|
42
|
+
* "dc4",
|
|
43
|
+
* ],
|
|
44
44
|
* },
|
|
45
45
|
* ],
|
|
46
46
|
* });
|
|
47
47
|
* ```
|
|
48
|
-
* <!--End PulumiCodeChooser -->
|
|
49
48
|
*/
|
|
50
49
|
class ConfigEntryServiceResolver extends pulumi.CustomResource {
|
|
51
50
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configEntryServiceResolver.js","sourceRoot":"","sources":["../configEntryServiceResolver.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"configEntryServiceResolver.js","sourceRoot":"","sources":["../configEntryServiceResolver.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG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,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AAjHL,gEAkHC;AApGG,gBAAgB;AACO,uCAAY,GAAG,oEAAoE,CAAC"}
|
|
@@ -3,26 +3,6 @@ import * as inputs from "./types/input";
|
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
5
|
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* <!--Start PulumiCodeChooser -->
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as consul from "@pulumi/consul";
|
|
11
|
-
*
|
|
12
|
-
* const adminServiceDefaultsConfigEntryServiceDefaults = new consul.ConfigEntryServiceDefaults("adminServiceDefaultsConfigEntryServiceDefaults", {protocol: "http"});
|
|
13
|
-
* const adminServiceDefaultsIndex_configEntryServiceDefaultsConfigEntryServiceDefaults = new consul.ConfigEntryServiceDefaults("adminServiceDefaultsIndex/configEntryServiceDefaultsConfigEntryServiceDefaults", {protocol: "http"});
|
|
14
|
-
* const foo = new consul.ConfigEntryServiceRouter("foo", {routes: [{
|
|
15
|
-
* match: {
|
|
16
|
-
* http: {
|
|
17
|
-
* pathPrefix: "/admin",
|
|
18
|
-
* },
|
|
19
|
-
* },
|
|
20
|
-
* destination: {
|
|
21
|
-
* service: consul_config_entry.admin_service.name,
|
|
22
|
-
* },
|
|
23
|
-
* }]});
|
|
24
|
-
* ```
|
|
25
|
-
* <!--End PulumiCodeChooser -->
|
|
26
6
|
*/
|
|
27
7
|
export declare class ConfigEntryServiceRouter extends pulumi.CustomResource {
|
|
28
8
|
/**
|
|
@@ -47,15 +27,15 @@ export declare class ConfigEntryServiceRouter extends pulumi.CustomResource {
|
|
|
47
27
|
[key: string]: string;
|
|
48
28
|
} | undefined>;
|
|
49
29
|
/**
|
|
50
|
-
* Specifies
|
|
30
|
+
* Specifies a name for the configuration entry.
|
|
51
31
|
*/
|
|
52
32
|
readonly name: pulumi.Output<string>;
|
|
53
33
|
/**
|
|
54
|
-
* Specifies the
|
|
34
|
+
* Specifies the namespace to apply the configuration entry.
|
|
55
35
|
*/
|
|
56
36
|
readonly namespace: pulumi.Output<string | undefined>;
|
|
57
37
|
/**
|
|
58
|
-
* Specifies the
|
|
38
|
+
* Specifies the admin partition to apply the configuration entry.
|
|
59
39
|
*/
|
|
60
40
|
readonly partition: pulumi.Output<string | undefined>;
|
|
61
41
|
/**
|
|
@@ -82,15 +62,15 @@ export interface ConfigEntryServiceRouterState {
|
|
|
82
62
|
[key: string]: pulumi.Input<string>;
|
|
83
63
|
}>;
|
|
84
64
|
/**
|
|
85
|
-
* Specifies
|
|
65
|
+
* Specifies a name for the configuration entry.
|
|
86
66
|
*/
|
|
87
67
|
name?: pulumi.Input<string>;
|
|
88
68
|
/**
|
|
89
|
-
* Specifies the
|
|
69
|
+
* Specifies the namespace to apply the configuration entry.
|
|
90
70
|
*/
|
|
91
71
|
namespace?: pulumi.Input<string>;
|
|
92
72
|
/**
|
|
93
|
-
* Specifies the
|
|
73
|
+
* Specifies the admin partition to apply the configuration entry.
|
|
94
74
|
*/
|
|
95
75
|
partition?: pulumi.Input<string>;
|
|
96
76
|
/**
|
|
@@ -109,15 +89,15 @@ export interface ConfigEntryServiceRouterArgs {
|
|
|
109
89
|
[key: string]: pulumi.Input<string>;
|
|
110
90
|
}>;
|
|
111
91
|
/**
|
|
112
|
-
* Specifies
|
|
92
|
+
* Specifies a name for the configuration entry.
|
|
113
93
|
*/
|
|
114
94
|
name?: pulumi.Input<string>;
|
|
115
95
|
/**
|
|
116
|
-
* Specifies the
|
|
96
|
+
* Specifies the namespace to apply the configuration entry.
|
|
117
97
|
*/
|
|
118
98
|
namespace?: pulumi.Input<string>;
|
|
119
99
|
/**
|
|
120
|
-
* Specifies the
|
|
100
|
+
* Specifies the admin partition to apply the configuration entry.
|
|
121
101
|
*/
|
|
122
102
|
partition?: pulumi.Input<string>;
|
|
123
103
|
/**
|
|
@@ -7,26 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* <!--Start PulumiCodeChooser -->
|
|
12
|
-
* ```typescript
|
|
13
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
-
* import * as consul from "@pulumi/consul";
|
|
15
|
-
*
|
|
16
|
-
* const adminServiceDefaultsConfigEntryServiceDefaults = new consul.ConfigEntryServiceDefaults("adminServiceDefaultsConfigEntryServiceDefaults", {protocol: "http"});
|
|
17
|
-
* const adminServiceDefaultsIndex_configEntryServiceDefaultsConfigEntryServiceDefaults = new consul.ConfigEntryServiceDefaults("adminServiceDefaultsIndex/configEntryServiceDefaultsConfigEntryServiceDefaults", {protocol: "http"});
|
|
18
|
-
* const foo = new consul.ConfigEntryServiceRouter("foo", {routes: [{
|
|
19
|
-
* match: {
|
|
20
|
-
* http: {
|
|
21
|
-
* pathPrefix: "/admin",
|
|
22
|
-
* },
|
|
23
|
-
* },
|
|
24
|
-
* destination: {
|
|
25
|
-
* service: consul_config_entry.admin_service.name,
|
|
26
|
-
* },
|
|
27
|
-
* }]});
|
|
28
|
-
* ```
|
|
29
|
-
* <!--End PulumiCodeChooser -->
|
|
30
10
|
*/
|
|
31
11
|
class ConfigEntryServiceRouter extends pulumi.CustomResource {
|
|
32
12
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configEntryServiceRouter.js","sourceRoot":"","sources":["../configEntryServiceRouter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"configEntryServiceRouter.js","sourceRoot":"","sources":["../configEntryServiceRouter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;IA+BD,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,C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* as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
-
* <!--Start PulumiCodeChooser -->
|
|
8
7
|
* ```typescript
|
|
9
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
9
|
* import * as consul from "@pulumi/consul";
|
|
11
10
|
*
|
|
12
11
|
* const web = new consul.ConfigEntry("web", {
|
|
12
|
+
* name: "web",
|
|
13
13
|
* kind: "service-defaults",
|
|
14
14
|
* configJson: JSON.stringify({
|
|
15
15
|
* Protocol: "http",
|
|
@@ -18,7 +18,8 @@ import * as outputs from "./types/output";
|
|
|
18
18
|
* TransparentProxy: {},
|
|
19
19
|
* }),
|
|
20
20
|
* });
|
|
21
|
-
* const serviceResolver = new consul.ConfigEntryServiceResolver("
|
|
21
|
+
* const serviceResolver = new consul.ConfigEntryServiceResolver("service_resolver", {
|
|
22
|
+
* name: "service-resolver",
|
|
22
23
|
* defaultSubset: "v1",
|
|
23
24
|
* subsets: [
|
|
24
25
|
* {
|
|
@@ -27,11 +28,12 @@ import * as outputs from "./types/output";
|
|
|
27
28
|
* },
|
|
28
29
|
* {
|
|
29
30
|
* name: "v2",
|
|
30
|
-
*
|
|
31
|
+
* filter: "Service.Meta.version == v2",
|
|
31
32
|
* },
|
|
32
33
|
* ],
|
|
33
34
|
* });
|
|
34
35
|
* const foo = new consul.ConfigEntryServiceSplitter("foo", {
|
|
36
|
+
* name: serviceResolver.name,
|
|
35
37
|
* meta: {
|
|
36
38
|
* key: "value",
|
|
37
39
|
* },
|
|
@@ -74,7 +76,6 @@ import * as outputs from "./types/output";
|
|
|
74
76
|
* ],
|
|
75
77
|
* });
|
|
76
78
|
* ```
|
|
77
|
-
* <!--End PulumiCodeChooser -->
|
|
78
79
|
*
|
|
79
80
|
* ## Import
|
|
80
81
|
*
|
|
@@ -109,11 +110,11 @@ export declare class ConfigEntryServiceSplitter extends pulumi.CustomResource {
|
|
|
109
110
|
*/
|
|
110
111
|
readonly name: pulumi.Output<string>;
|
|
111
112
|
/**
|
|
112
|
-
* Specifies the namespace to
|
|
113
|
+
* Specifies the namespace to apply the configuration entry.
|
|
113
114
|
*/
|
|
114
115
|
readonly namespace: pulumi.Output<string | undefined>;
|
|
115
116
|
/**
|
|
116
|
-
* Specifies the admin partition to
|
|
117
|
+
* Specifies the admin partition to apply the configuration entry.
|
|
117
118
|
*/
|
|
118
119
|
readonly partition: pulumi.Output<string | undefined>;
|
|
119
120
|
/**
|
|
@@ -144,11 +145,11 @@ export interface ConfigEntryServiceSplitterState {
|
|
|
144
145
|
*/
|
|
145
146
|
name?: pulumi.Input<string>;
|
|
146
147
|
/**
|
|
147
|
-
* Specifies the namespace to
|
|
148
|
+
* Specifies the namespace to apply the configuration entry.
|
|
148
149
|
*/
|
|
149
150
|
namespace?: pulumi.Input<string>;
|
|
150
151
|
/**
|
|
151
|
-
* Specifies the admin partition to
|
|
152
|
+
* Specifies the admin partition to apply the configuration entry.
|
|
152
153
|
*/
|
|
153
154
|
partition?: pulumi.Input<string>;
|
|
154
155
|
/**
|
|
@@ -171,11 +172,11 @@ export interface ConfigEntryServiceSplitterArgs {
|
|
|
171
172
|
*/
|
|
172
173
|
name?: pulumi.Input<string>;
|
|
173
174
|
/**
|
|
174
|
-
* Specifies the namespace to
|
|
175
|
+
* Specifies the namespace to apply the configuration entry.
|
|
175
176
|
*/
|
|
176
177
|
namespace?: pulumi.Input<string>;
|
|
177
178
|
/**
|
|
178
|
-
* Specifies the admin partition to
|
|
179
|
+
* Specifies the admin partition to apply the configuration entry.
|
|
179
180
|
*/
|
|
180
181
|
partition?: pulumi.Input<string>;
|
|
181
182
|
/**
|
|
@@ -8,12 +8,12 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
-
* <!--Start PulumiCodeChooser -->
|
|
12
11
|
* ```typescript
|
|
13
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
13
|
* import * as consul from "@pulumi/consul";
|
|
15
14
|
*
|
|
16
15
|
* const web = new consul.ConfigEntry("web", {
|
|
16
|
+
* name: "web",
|
|
17
17
|
* kind: "service-defaults",
|
|
18
18
|
* configJson: JSON.stringify({
|
|
19
19
|
* Protocol: "http",
|
|
@@ -22,7 +22,8 @@ const utilities = require("./utilities");
|
|
|
22
22
|
* TransparentProxy: {},
|
|
23
23
|
* }),
|
|
24
24
|
* });
|
|
25
|
-
* const serviceResolver = new consul.ConfigEntryServiceResolver("
|
|
25
|
+
* const serviceResolver = new consul.ConfigEntryServiceResolver("service_resolver", {
|
|
26
|
+
* name: "service-resolver",
|
|
26
27
|
* defaultSubset: "v1",
|
|
27
28
|
* subsets: [
|
|
28
29
|
* {
|
|
@@ -31,11 +32,12 @@ const utilities = require("./utilities");
|
|
|
31
32
|
* },
|
|
32
33
|
* {
|
|
33
34
|
* name: "v2",
|
|
34
|
-
*
|
|
35
|
+
* filter: "Service.Meta.version == v2",
|
|
35
36
|
* },
|
|
36
37
|
* ],
|
|
37
38
|
* });
|
|
38
39
|
* const foo = new consul.ConfigEntryServiceSplitter("foo", {
|
|
40
|
+
* name: serviceResolver.name,
|
|
39
41
|
* meta: {
|
|
40
42
|
* key: "value",
|
|
41
43
|
* },
|
|
@@ -78,7 +80,6 @@ const utilities = require("./utilities");
|
|
|
78
80
|
* ],
|
|
79
81
|
* });
|
|
80
82
|
* ```
|
|
81
|
-
* <!--End PulumiCodeChooser -->
|
|
82
83
|
*
|
|
83
84
|
* ## Import
|
|
84
85
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configEntryServiceSplitter.js","sourceRoot":"","sources":["../configEntryServiceSplitter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"configEntryServiceSplitter.js","sourceRoot":"","sources":["../configEntryServiceSplitter.ts"],"names":[],"mappings":";AAAA,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"./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
-
* <!--Start PulumiCodeChooser -->
|
|
10
9
|
* ```typescript
|
|
11
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
11
|
* import * as consul from "@pulumi/consul";
|
|
@@ -16,7 +15,6 @@ import * as outputs from "./types/output";
|
|
|
16
15
|
* });
|
|
17
16
|
* export const consulAclAuthMethod = test.then(test => test.config);
|
|
18
17
|
* ```
|
|
19
|
-
* <!--End PulumiCodeChooser -->
|
|
20
18
|
*/
|
|
21
19
|
export declare function getAclAuthMethod(args: GetAclAuthMethodArgs, opts?: pulumi.InvokeOptions): Promise<GetAclAuthMethodResult>;
|
|
22
20
|
/**
|
|
@@ -96,7 +94,6 @@ export interface GetAclAuthMethodResult {
|
|
|
96
94
|
*
|
|
97
95
|
* ## Example Usage
|
|
98
96
|
*
|
|
99
|
-
* <!--Start PulumiCodeChooser -->
|
|
100
97
|
* ```typescript
|
|
101
98
|
* import * as pulumi from "@pulumi/pulumi";
|
|
102
99
|
* import * as consul from "@pulumi/consul";
|
|
@@ -106,7 +103,6 @@ export interface GetAclAuthMethodResult {
|
|
|
106
103
|
* });
|
|
107
104
|
* export const consulAclAuthMethod = test.then(test => test.config);
|
|
108
105
|
* ```
|
|
109
|
-
* <!--End PulumiCodeChooser -->
|
|
110
106
|
*/
|
|
111
107
|
export declare function getAclAuthMethodOutput(args: GetAclAuthMethodOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAclAuthMethodResult>;
|
|
112
108
|
/**
|
package/getAclAuthMethod.js
CHANGED
|
@@ -11,7 +11,6 @@ const utilities = require("./utilities");
|
|
|
11
11
|
*
|
|
12
12
|
* ## Example Usage
|
|
13
13
|
*
|
|
14
|
-
* <!--Start PulumiCodeChooser -->
|
|
15
14
|
* ```typescript
|
|
16
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
16
|
* import * as consul from "@pulumi/consul";
|
|
@@ -21,7 +20,6 @@ const utilities = require("./utilities");
|
|
|
21
20
|
* });
|
|
22
21
|
* export const consulAclAuthMethod = test.then(test => test.config);
|
|
23
22
|
* ```
|
|
24
|
-
* <!--End PulumiCodeChooser -->
|
|
25
23
|
*/
|
|
26
24
|
function getAclAuthMethod(args, opts) {
|
|
27
25
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -38,7 +36,6 @@ exports.getAclAuthMethod = getAclAuthMethod;
|
|
|
38
36
|
*
|
|
39
37
|
* ## Example Usage
|
|
40
38
|
*
|
|
41
|
-
* <!--Start PulumiCodeChooser -->
|
|
42
39
|
* ```typescript
|
|
43
40
|
* import * as pulumi from "@pulumi/pulumi";
|
|
44
41
|
* import * as consul from "@pulumi/consul";
|
|
@@ -48,7 +45,6 @@ exports.getAclAuthMethod = getAclAuthMethod;
|
|
|
48
45
|
* });
|
|
49
46
|
* export const consulAclAuthMethod = test.then(test => test.config);
|
|
50
47
|
* ```
|
|
51
|
-
* <!--End PulumiCodeChooser -->
|
|
52
48
|
*/
|
|
53
49
|
function getAclAuthMethodOutput(args, opts) {
|
|
54
50
|
return pulumi.output(args).apply((a) => getAclAuthMethod(a, opts));
|
package/getAclAuthMethod.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAclAuthMethod.js","sourceRoot":"","sources":["../getAclAuthMethod.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAclAuthMethod.js","sourceRoot":"","sources":["../getAclAuthMethod.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4CAQC;AAwED;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
|