@pulumi/consul 3.11.2 → 3.11.3-alpha.1716576025
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
package/catalogEntry.d.ts
CHANGED
|
@@ -8,30 +8,6 @@ import * as outputs from "./types/output";
|
|
|
8
8
|
*
|
|
9
9
|
* Registers a node or service with the [Consul Catalog](https://www.consul.io/docs/agent/http/catalog.html#catalog_register).
|
|
10
10
|
* Currently, defining health checks is not supported.
|
|
11
|
-
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* <!--Start PulumiCodeChooser -->
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as consul from "@pulumi/consul";
|
|
18
|
-
*
|
|
19
|
-
* const app = new consul.CatalogEntry("app", {
|
|
20
|
-
* address: "192.168.10.10",
|
|
21
|
-
* node: "foobar",
|
|
22
|
-
* services: [{
|
|
23
|
-
* address: "127.0.0.1",
|
|
24
|
-
* id: "redis1",
|
|
25
|
-
* name: "redis",
|
|
26
|
-
* port: 8000,
|
|
27
|
-
* tags: [
|
|
28
|
-
* "master",
|
|
29
|
-
* "v1",
|
|
30
|
-
* ],
|
|
31
|
-
* }],
|
|
32
|
-
* });
|
|
33
|
-
* ```
|
|
34
|
-
* <!--End PulumiCodeChooser -->
|
|
35
11
|
*/
|
|
36
12
|
export declare class CatalogEntry extends pulumi.CustomResource {
|
|
37
13
|
/**
|
package/catalogEntry.js
CHANGED
|
@@ -12,30 +12,6 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* Registers a node or service with the [Consul Catalog](https://www.consul.io/docs/agent/http/catalog.html#catalog_register).
|
|
14
14
|
* Currently, defining health checks is not supported.
|
|
15
|
-
*
|
|
16
|
-
* ## Example Usage
|
|
17
|
-
*
|
|
18
|
-
* <!--Start PulumiCodeChooser -->
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
-
* import * as consul from "@pulumi/consul";
|
|
22
|
-
*
|
|
23
|
-
* const app = new consul.CatalogEntry("app", {
|
|
24
|
-
* address: "192.168.10.10",
|
|
25
|
-
* node: "foobar",
|
|
26
|
-
* services: [{
|
|
27
|
-
* address: "127.0.0.1",
|
|
28
|
-
* id: "redis1",
|
|
29
|
-
* name: "redis",
|
|
30
|
-
* port: 8000,
|
|
31
|
-
* tags: [
|
|
32
|
-
* "master",
|
|
33
|
-
* "v1",
|
|
34
|
-
* ],
|
|
35
|
-
* }],
|
|
36
|
-
* });
|
|
37
|
-
* ```
|
|
38
|
-
* <!--End PulumiCodeChooser -->
|
|
39
15
|
*/
|
|
40
16
|
class CatalogEntry extends pulumi.CustomResource {
|
|
41
17
|
/**
|
package/catalogEntry.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalogEntry.js","sourceRoot":"","sources":["../catalogEntry.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"catalogEntry.js","sourceRoot":"","sources":["../catalog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,OAAO,CAAC,EAAE,CAAC;QAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA5FL,oCA6FC;AA/EG,gBAAgB;AACO,yBAAY,GAAG,wCAAwC,CAAC"}
|
|
@@ -27,18 +27,11 @@ export declare class CertificateAuthority extends pulumi.CustomResource {
|
|
|
27
27
|
*/
|
|
28
28
|
static isInstance(obj: any): obj is CertificateAuthority;
|
|
29
29
|
/**
|
|
30
|
-
* The raw configuration to use for the chosen provider. For more information on configuring the Connect CA providers, see
|
|
31
|
-
* [Provider Config](https://developer.hashicorp.com/consul/docs/connect/ca).
|
|
32
|
-
*
|
|
33
30
|
* @deprecated The config attribute is deprecated, please use configJson instead.
|
|
34
31
|
*/
|
|
35
32
|
readonly config: pulumi.Output<{
|
|
36
33
|
[key: string]: string;
|
|
37
34
|
} | undefined>;
|
|
38
|
-
/**
|
|
39
|
-
* The raw configuration to use for the chosen provider. For more information on configuring the Connect CA providers, see
|
|
40
|
-
* [Provider Config](https://developer.hashicorp.com/consul/docs/connect/ca).
|
|
41
|
-
*/
|
|
42
35
|
readonly configJson: pulumi.Output<string | undefined>;
|
|
43
36
|
/**
|
|
44
37
|
* Specifies the CA provider type to use.
|
|
@@ -58,18 +51,11 @@ export declare class CertificateAuthority extends pulumi.CustomResource {
|
|
|
58
51
|
*/
|
|
59
52
|
export interface CertificateAuthorityState {
|
|
60
53
|
/**
|
|
61
|
-
* The raw configuration to use for the chosen provider. For more information on configuring the Connect CA providers, see
|
|
62
|
-
* [Provider Config](https://developer.hashicorp.com/consul/docs/connect/ca).
|
|
63
|
-
*
|
|
64
54
|
* @deprecated The config attribute is deprecated, please use configJson instead.
|
|
65
55
|
*/
|
|
66
56
|
config?: pulumi.Input<{
|
|
67
57
|
[key: string]: pulumi.Input<string>;
|
|
68
58
|
}>;
|
|
69
|
-
/**
|
|
70
|
-
* The raw configuration to use for the chosen provider. For more information on configuring the Connect CA providers, see
|
|
71
|
-
* [Provider Config](https://developer.hashicorp.com/consul/docs/connect/ca).
|
|
72
|
-
*/
|
|
73
59
|
configJson?: pulumi.Input<string>;
|
|
74
60
|
/**
|
|
75
61
|
* Specifies the CA provider type to use.
|
|
@@ -81,18 +67,11 @@ export interface CertificateAuthorityState {
|
|
|
81
67
|
*/
|
|
82
68
|
export interface CertificateAuthorityArgs {
|
|
83
69
|
/**
|
|
84
|
-
* The raw configuration to use for the chosen provider. For more information on configuring the Connect CA providers, see
|
|
85
|
-
* [Provider Config](https://developer.hashicorp.com/consul/docs/connect/ca).
|
|
86
|
-
*
|
|
87
70
|
* @deprecated The config attribute is deprecated, please use configJson instead.
|
|
88
71
|
*/
|
|
89
72
|
config?: pulumi.Input<{
|
|
90
73
|
[key: string]: pulumi.Input<string>;
|
|
91
74
|
}>;
|
|
92
|
-
/**
|
|
93
|
-
* The raw configuration to use for the chosen provider. For more information on configuring the Connect CA providers, see
|
|
94
|
-
* [Provider Config](https://developer.hashicorp.com/consul/docs/connect/ca).
|
|
95
|
-
*/
|
|
96
75
|
configJson?: pulumi.Input<string>;
|
|
97
76
|
/**
|
|
98
77
|
* Specifies the CA provider type to use.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"certificateAuthority.js","sourceRoot":"","sources":["../certificateAuthority.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EA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,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SACjF;aAAM;YACH,MAAM,IAAI,GAAG,WAAmD,CAAC;YACjE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,eAAe,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5D,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;aAClE;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAjEL,oDAkEC;AApDG,gBAAgB;AACO,iCAAY,GAAG,wDAAwD,CAAC"}
|
package/configEntry.d.ts
CHANGED
|
@@ -2,13 +2,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* ## Example Usage
|
|
4
4
|
*
|
|
5
|
-
* <!--Start PulumiCodeChooser -->
|
|
6
5
|
* ```typescript
|
|
7
6
|
* import * as pulumi from "@pulumi/pulumi";
|
|
8
7
|
* import * as consul from "@pulumi/consul";
|
|
9
8
|
*
|
|
10
|
-
* const proxyDefaults = new consul.ConfigEntry("
|
|
9
|
+
* const proxyDefaults = new consul.ConfigEntry("proxy_defaults", {
|
|
11
10
|
* kind: "proxy-defaults",
|
|
11
|
+
* name: "global",
|
|
12
12
|
* configJson: JSON.stringify({
|
|
13
13
|
* Config: {
|
|
14
14
|
* local_connect_timeout_ms: 1000,
|
|
@@ -17,19 +17,22 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
17
17
|
* }),
|
|
18
18
|
* });
|
|
19
19
|
* const web = new consul.ConfigEntry("web", {
|
|
20
|
+
* name: "web",
|
|
20
21
|
* kind: "service-defaults",
|
|
21
22
|
* configJson: JSON.stringify({
|
|
22
23
|
* Protocol: "http",
|
|
23
24
|
* }),
|
|
24
25
|
* });
|
|
25
26
|
* const admin = new consul.ConfigEntry("admin", {
|
|
27
|
+
* name: "admin",
|
|
26
28
|
* kind: "service-defaults",
|
|
27
29
|
* configJson: JSON.stringify({
|
|
28
30
|
* Protocol: "http",
|
|
29
31
|
* }),
|
|
30
32
|
* });
|
|
31
|
-
* const serviceResolver = new consul.ConfigEntry("
|
|
33
|
+
* const serviceResolver = new consul.ConfigEntry("service_resolver", {
|
|
32
34
|
* kind: "service-resolver",
|
|
35
|
+
* name: web.name,
|
|
33
36
|
* configJson: JSON.stringify({
|
|
34
37
|
* DefaultSubset: "v1",
|
|
35
38
|
* Subsets: {
|
|
@@ -42,8 +45,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
42
45
|
* },
|
|
43
46
|
* }),
|
|
44
47
|
* });
|
|
45
|
-
* const serviceSplitter = new consul.ConfigEntry("
|
|
48
|
+
* const serviceSplitter = new consul.ConfigEntry("service_splitter", {
|
|
46
49
|
* kind: "service-splitter",
|
|
50
|
+
* name: serviceResolver.name,
|
|
47
51
|
* configJson: JSON.stringify({
|
|
48
52
|
* Splits: [
|
|
49
53
|
* {
|
|
@@ -57,8 +61,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
57
61
|
* ],
|
|
58
62
|
* }),
|
|
59
63
|
* });
|
|
60
|
-
* const serviceRouter = new consul.ConfigEntry("
|
|
64
|
+
* const serviceRouter = new consul.ConfigEntry("service_router", {
|
|
61
65
|
* kind: "service-router",
|
|
66
|
+
* name: "web",
|
|
62
67
|
* configJson: JSON.stringify({
|
|
63
68
|
* Routes: [{
|
|
64
69
|
* Match: {
|
|
@@ -72,7 +77,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
72
77
|
* }],
|
|
73
78
|
* }),
|
|
74
79
|
* });
|
|
75
|
-
* const ingressGateway = new consul.ConfigEntry("
|
|
80
|
+
* const ingressGateway = new consul.ConfigEntry("ingress_gateway", {
|
|
81
|
+
* name: "us-east-ingress",
|
|
76
82
|
* kind: "ingress-gateway",
|
|
77
83
|
* configJson: JSON.stringify({
|
|
78
84
|
* TLS: {
|
|
@@ -87,7 +93,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
87
93
|
* }],
|
|
88
94
|
* }),
|
|
89
95
|
* });
|
|
90
|
-
* const terminatingGateway = new consul.ConfigEntry("
|
|
96
|
+
* const terminatingGateway = new consul.ConfigEntry("terminating_gateway", {
|
|
97
|
+
* name: "us-west-gateway",
|
|
91
98
|
* kind: "terminating-gateway",
|
|
92
99
|
* configJson: JSON.stringify({
|
|
93
100
|
* Services: [{
|
|
@@ -96,16 +103,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
96
103
|
* }),
|
|
97
104
|
* });
|
|
98
105
|
* ```
|
|
99
|
-
* <!--End PulumiCodeChooser -->
|
|
100
106
|
*
|
|
101
107
|
* ### `service-intentions` config entry
|
|
102
108
|
*
|
|
103
|
-
* <!--Start PulumiCodeChooser -->
|
|
104
109
|
* ```typescript
|
|
105
110
|
* import * as pulumi from "@pulumi/pulumi";
|
|
106
111
|
* import * as consul from "@pulumi/consul";
|
|
107
112
|
*
|
|
108
|
-
* const serviceIntentions = new consul.ConfigEntry("
|
|
113
|
+
* const serviceIntentions = new consul.ConfigEntry("service_intentions", {
|
|
114
|
+
* name: "api-service",
|
|
109
115
|
* kind: "service-intentions",
|
|
110
116
|
* configJson: JSON.stringify({
|
|
111
117
|
* Sources: [
|
|
@@ -125,20 +131,20 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
125
131
|
* }),
|
|
126
132
|
* });
|
|
127
133
|
* ```
|
|
128
|
-
* <!--End PulumiCodeChooser -->
|
|
129
134
|
*
|
|
130
|
-
* <!--Start PulumiCodeChooser -->
|
|
131
135
|
* ```typescript
|
|
132
136
|
* import * as pulumi from "@pulumi/pulumi";
|
|
133
137
|
* import * as consul from "@pulumi/consul";
|
|
134
138
|
*
|
|
135
139
|
* const sd = new consul.ConfigEntry("sd", {
|
|
140
|
+
* name: "fort-knox",
|
|
136
141
|
* kind: "service-defaults",
|
|
137
142
|
* configJson: JSON.stringify({
|
|
138
143
|
* Protocol: "http",
|
|
139
144
|
* }),
|
|
140
145
|
* });
|
|
141
|
-
* const jwtProvider = new consul.ConfigEntry("
|
|
146
|
+
* const jwtProvider = new consul.ConfigEntry("jwt_provider", {
|
|
147
|
+
* name: "test-provider",
|
|
142
148
|
* kind: "jwt-provider",
|
|
143
149
|
* configJson: JSON.stringify({
|
|
144
150
|
* Issuer: "test-issuer",
|
|
@@ -153,7 +159,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
153
159
|
* },
|
|
154
160
|
* }),
|
|
155
161
|
* });
|
|
156
|
-
* const serviceIntentions = new consul.ConfigEntry("
|
|
162
|
+
* const serviceIntentions = new consul.ConfigEntry("service_intentions", {
|
|
163
|
+
* name: sd.name,
|
|
157
164
|
* kind: "service-intentions",
|
|
158
165
|
* configJson: pulumi.jsonStringify({
|
|
159
166
|
* Sources: [
|
|
@@ -200,16 +207,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
200
207
|
* }),
|
|
201
208
|
* });
|
|
202
209
|
* ```
|
|
203
|
-
* <!--End PulumiCodeChooser -->
|
|
204
210
|
*
|
|
205
211
|
* ### `exported-services` config entry
|
|
206
212
|
*
|
|
207
|
-
* <!--Start PulumiCodeChooser -->
|
|
208
213
|
* ```typescript
|
|
209
214
|
* import * as pulumi from "@pulumi/pulumi";
|
|
210
215
|
* import * as consul from "@pulumi/consul";
|
|
211
216
|
*
|
|
212
|
-
* const exportedServices = new consul.ConfigEntry("
|
|
217
|
+
* const exportedServices = new consul.ConfigEntry("exported_services", {
|
|
218
|
+
* name: "test",
|
|
213
219
|
* kind: "exported-services",
|
|
214
220
|
* configJson: JSON.stringify({
|
|
215
221
|
* Services: [{
|
|
@@ -222,16 +228,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
222
228
|
* }),
|
|
223
229
|
* });
|
|
224
230
|
* ```
|
|
225
|
-
* <!--End PulumiCodeChooser -->
|
|
226
231
|
*
|
|
227
232
|
* ### `mesh` config entry
|
|
228
233
|
*
|
|
229
|
-
* <!--Start PulumiCodeChooser -->
|
|
230
234
|
* ```typescript
|
|
231
235
|
* import * as pulumi from "@pulumi/pulumi";
|
|
232
236
|
* import * as consul from "@pulumi/consul";
|
|
233
237
|
*
|
|
234
238
|
* const mesh = new consul.ConfigEntry("mesh", {
|
|
239
|
+
* name: "mesh",
|
|
235
240
|
* kind: "mesh",
|
|
236
241
|
* partition: "default",
|
|
237
242
|
* configJson: JSON.stringify({
|
|
@@ -241,16 +246,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
241
246
|
* }),
|
|
242
247
|
* });
|
|
243
248
|
* ```
|
|
244
|
-
* <!--End PulumiCodeChooser -->
|
|
245
249
|
*
|
|
246
250
|
* ### `jwt-provider` config entry
|
|
247
251
|
*
|
|
248
|
-
* <!--Start PulumiCodeChooser -->
|
|
249
252
|
* ```typescript
|
|
250
253
|
* import * as pulumi from "@pulumi/pulumi";
|
|
251
254
|
* import * as consul from "@pulumi/consul";
|
|
252
255
|
*
|
|
253
|
-
* const jwtProvider = new consul.ConfigEntry("
|
|
256
|
+
* const jwtProvider = new consul.ConfigEntry("jwt_provider", {
|
|
257
|
+
* name: "provider-name",
|
|
254
258
|
* kind: "jwt-provider",
|
|
255
259
|
* configJson: JSON.stringify({
|
|
256
260
|
* Issuer: "https://your.issuer.com",
|
|
@@ -267,7 +271,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
267
271
|
* }),
|
|
268
272
|
* });
|
|
269
273
|
* ```
|
|
270
|
-
* <!--End PulumiCodeChooser -->
|
|
271
274
|
*
|
|
272
275
|
* ## Import
|
|
273
276
|
*
|
package/configEntry.js
CHANGED
|
@@ -8,13 +8,13 @@ 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 proxyDefaults = new consul.ConfigEntry("
|
|
15
|
+
* const proxyDefaults = new consul.ConfigEntry("proxy_defaults", {
|
|
17
16
|
* kind: "proxy-defaults",
|
|
17
|
+
* name: "global",
|
|
18
18
|
* configJson: JSON.stringify({
|
|
19
19
|
* Config: {
|
|
20
20
|
* local_connect_timeout_ms: 1000,
|
|
@@ -23,19 +23,22 @@ const utilities = require("./utilities");
|
|
|
23
23
|
* }),
|
|
24
24
|
* });
|
|
25
25
|
* const web = new consul.ConfigEntry("web", {
|
|
26
|
+
* name: "web",
|
|
26
27
|
* kind: "service-defaults",
|
|
27
28
|
* configJson: JSON.stringify({
|
|
28
29
|
* Protocol: "http",
|
|
29
30
|
* }),
|
|
30
31
|
* });
|
|
31
32
|
* const admin = new consul.ConfigEntry("admin", {
|
|
33
|
+
* name: "admin",
|
|
32
34
|
* kind: "service-defaults",
|
|
33
35
|
* configJson: JSON.stringify({
|
|
34
36
|
* Protocol: "http",
|
|
35
37
|
* }),
|
|
36
38
|
* });
|
|
37
|
-
* const serviceResolver = new consul.ConfigEntry("
|
|
39
|
+
* const serviceResolver = new consul.ConfigEntry("service_resolver", {
|
|
38
40
|
* kind: "service-resolver",
|
|
41
|
+
* name: web.name,
|
|
39
42
|
* configJson: JSON.stringify({
|
|
40
43
|
* DefaultSubset: "v1",
|
|
41
44
|
* Subsets: {
|
|
@@ -48,8 +51,9 @@ const utilities = require("./utilities");
|
|
|
48
51
|
* },
|
|
49
52
|
* }),
|
|
50
53
|
* });
|
|
51
|
-
* const serviceSplitter = new consul.ConfigEntry("
|
|
54
|
+
* const serviceSplitter = new consul.ConfigEntry("service_splitter", {
|
|
52
55
|
* kind: "service-splitter",
|
|
56
|
+
* name: serviceResolver.name,
|
|
53
57
|
* configJson: JSON.stringify({
|
|
54
58
|
* Splits: [
|
|
55
59
|
* {
|
|
@@ -63,8 +67,9 @@ const utilities = require("./utilities");
|
|
|
63
67
|
* ],
|
|
64
68
|
* }),
|
|
65
69
|
* });
|
|
66
|
-
* const serviceRouter = new consul.ConfigEntry("
|
|
70
|
+
* const serviceRouter = new consul.ConfigEntry("service_router", {
|
|
67
71
|
* kind: "service-router",
|
|
72
|
+
* name: "web",
|
|
68
73
|
* configJson: JSON.stringify({
|
|
69
74
|
* Routes: [{
|
|
70
75
|
* Match: {
|
|
@@ -78,7 +83,8 @@ const utilities = require("./utilities");
|
|
|
78
83
|
* }],
|
|
79
84
|
* }),
|
|
80
85
|
* });
|
|
81
|
-
* const ingressGateway = new consul.ConfigEntry("
|
|
86
|
+
* const ingressGateway = new consul.ConfigEntry("ingress_gateway", {
|
|
87
|
+
* name: "us-east-ingress",
|
|
82
88
|
* kind: "ingress-gateway",
|
|
83
89
|
* configJson: JSON.stringify({
|
|
84
90
|
* TLS: {
|
|
@@ -93,7 +99,8 @@ const utilities = require("./utilities");
|
|
|
93
99
|
* }],
|
|
94
100
|
* }),
|
|
95
101
|
* });
|
|
96
|
-
* const terminatingGateway = new consul.ConfigEntry("
|
|
102
|
+
* const terminatingGateway = new consul.ConfigEntry("terminating_gateway", {
|
|
103
|
+
* name: "us-west-gateway",
|
|
97
104
|
* kind: "terminating-gateway",
|
|
98
105
|
* configJson: JSON.stringify({
|
|
99
106
|
* Services: [{
|
|
@@ -102,16 +109,15 @@ const utilities = require("./utilities");
|
|
|
102
109
|
* }),
|
|
103
110
|
* });
|
|
104
111
|
* ```
|
|
105
|
-
* <!--End PulumiCodeChooser -->
|
|
106
112
|
*
|
|
107
113
|
* ### `service-intentions` config entry
|
|
108
114
|
*
|
|
109
|
-
* <!--Start PulumiCodeChooser -->
|
|
110
115
|
* ```typescript
|
|
111
116
|
* import * as pulumi from "@pulumi/pulumi";
|
|
112
117
|
* import * as consul from "@pulumi/consul";
|
|
113
118
|
*
|
|
114
|
-
* const serviceIntentions = new consul.ConfigEntry("
|
|
119
|
+
* const serviceIntentions = new consul.ConfigEntry("service_intentions", {
|
|
120
|
+
* name: "api-service",
|
|
115
121
|
* kind: "service-intentions",
|
|
116
122
|
* configJson: JSON.stringify({
|
|
117
123
|
* Sources: [
|
|
@@ -131,20 +137,20 @@ const utilities = require("./utilities");
|
|
|
131
137
|
* }),
|
|
132
138
|
* });
|
|
133
139
|
* ```
|
|
134
|
-
* <!--End PulumiCodeChooser -->
|
|
135
140
|
*
|
|
136
|
-
* <!--Start PulumiCodeChooser -->
|
|
137
141
|
* ```typescript
|
|
138
142
|
* import * as pulumi from "@pulumi/pulumi";
|
|
139
143
|
* import * as consul from "@pulumi/consul";
|
|
140
144
|
*
|
|
141
145
|
* const sd = new consul.ConfigEntry("sd", {
|
|
146
|
+
* name: "fort-knox",
|
|
142
147
|
* kind: "service-defaults",
|
|
143
148
|
* configJson: JSON.stringify({
|
|
144
149
|
* Protocol: "http",
|
|
145
150
|
* }),
|
|
146
151
|
* });
|
|
147
|
-
* const jwtProvider = new consul.ConfigEntry("
|
|
152
|
+
* const jwtProvider = new consul.ConfigEntry("jwt_provider", {
|
|
153
|
+
* name: "test-provider",
|
|
148
154
|
* kind: "jwt-provider",
|
|
149
155
|
* configJson: JSON.stringify({
|
|
150
156
|
* Issuer: "test-issuer",
|
|
@@ -159,7 +165,8 @@ const utilities = require("./utilities");
|
|
|
159
165
|
* },
|
|
160
166
|
* }),
|
|
161
167
|
* });
|
|
162
|
-
* const serviceIntentions = new consul.ConfigEntry("
|
|
168
|
+
* const serviceIntentions = new consul.ConfigEntry("service_intentions", {
|
|
169
|
+
* name: sd.name,
|
|
163
170
|
* kind: "service-intentions",
|
|
164
171
|
* configJson: pulumi.jsonStringify({
|
|
165
172
|
* Sources: [
|
|
@@ -206,16 +213,15 @@ const utilities = require("./utilities");
|
|
|
206
213
|
* }),
|
|
207
214
|
* });
|
|
208
215
|
* ```
|
|
209
|
-
* <!--End PulumiCodeChooser -->
|
|
210
216
|
*
|
|
211
217
|
* ### `exported-services` config entry
|
|
212
218
|
*
|
|
213
|
-
* <!--Start PulumiCodeChooser -->
|
|
214
219
|
* ```typescript
|
|
215
220
|
* import * as pulumi from "@pulumi/pulumi";
|
|
216
221
|
* import * as consul from "@pulumi/consul";
|
|
217
222
|
*
|
|
218
|
-
* const exportedServices = new consul.ConfigEntry("
|
|
223
|
+
* const exportedServices = new consul.ConfigEntry("exported_services", {
|
|
224
|
+
* name: "test",
|
|
219
225
|
* kind: "exported-services",
|
|
220
226
|
* configJson: JSON.stringify({
|
|
221
227
|
* Services: [{
|
|
@@ -228,16 +234,15 @@ const utilities = require("./utilities");
|
|
|
228
234
|
* }),
|
|
229
235
|
* });
|
|
230
236
|
* ```
|
|
231
|
-
* <!--End PulumiCodeChooser -->
|
|
232
237
|
*
|
|
233
238
|
* ### `mesh` config entry
|
|
234
239
|
*
|
|
235
|
-
* <!--Start PulumiCodeChooser -->
|
|
236
240
|
* ```typescript
|
|
237
241
|
* import * as pulumi from "@pulumi/pulumi";
|
|
238
242
|
* import * as consul from "@pulumi/consul";
|
|
239
243
|
*
|
|
240
244
|
* const mesh = new consul.ConfigEntry("mesh", {
|
|
245
|
+
* name: "mesh",
|
|
241
246
|
* kind: "mesh",
|
|
242
247
|
* partition: "default",
|
|
243
248
|
* configJson: JSON.stringify({
|
|
@@ -247,16 +252,15 @@ const utilities = require("./utilities");
|
|
|
247
252
|
* }),
|
|
248
253
|
* });
|
|
249
254
|
* ```
|
|
250
|
-
* <!--End PulumiCodeChooser -->
|
|
251
255
|
*
|
|
252
256
|
* ### `jwt-provider` config entry
|
|
253
257
|
*
|
|
254
|
-
* <!--Start PulumiCodeChooser -->
|
|
255
258
|
* ```typescript
|
|
256
259
|
* import * as pulumi from "@pulumi/pulumi";
|
|
257
260
|
* import * as consul from "@pulumi/consul";
|
|
258
261
|
*
|
|
259
|
-
* const jwtProvider = new consul.ConfigEntry("
|
|
262
|
+
* const jwtProvider = new consul.ConfigEntry("jwt_provider", {
|
|
263
|
+
* name: "provider-name",
|
|
260
264
|
* kind: "jwt-provider",
|
|
261
265
|
* configJson: JSON.stringify({
|
|
262
266
|
* Issuer: "https://your.issuer.com",
|
|
@@ -273,7 +277,6 @@ const utilities = require("./utilities");
|
|
|
273
277
|
* }),
|
|
274
278
|
* });
|
|
275
279
|
* ```
|
|
276
|
-
* <!--End PulumiCodeChooser -->
|
|
277
280
|
*
|
|
278
281
|
* ## Import
|
|
279
282
|
*
|
package/configEntry.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configEntry.js","sourceRoot":"","sources":["../configEntry.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"configEntry.js","sourceRoot":"","sources":["../configEntry.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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@@ export declare class ConfigEntryServiceDefaults extends pulumi.CustomResource {
|
|
|
53
53
|
*/
|
|
54
54
|
readonly maxInboundConnections: pulumi.Output<number | undefined>;
|
|
55
55
|
/**
|
|
56
|
-
* Specifies the default mesh gateway mode field for
|
|
56
|
+
* Specifies the default mesh gateway mode field for the service.
|
|
57
57
|
*/
|
|
58
58
|
readonly meshGateways: pulumi.Output<outputs.ConfigEntryServiceDefaultsMeshGateway[] | undefined>;
|
|
59
59
|
/**
|
|
@@ -75,11 +75,11 @@ export declare class ConfigEntryServiceDefaults extends pulumi.CustomResource {
|
|
|
75
75
|
*/
|
|
76
76
|
readonly name: pulumi.Output<string>;
|
|
77
77
|
/**
|
|
78
|
-
* Specifies the namespace
|
|
78
|
+
* Specifies the Consul namespace that the configuration entry applies to.
|
|
79
79
|
*/
|
|
80
80
|
readonly namespace: pulumi.Output<string | undefined>;
|
|
81
81
|
/**
|
|
82
|
-
* Specifies the name of the name of the Consul admin partition that the configuration entry applies to.
|
|
82
|
+
* Specifies the name of the name of the Consul admin partition that the configuration entry applies to. Refer to Admin Partitions for additional information.
|
|
83
83
|
*/
|
|
84
84
|
readonly partition: pulumi.Output<string | undefined>;
|
|
85
85
|
/**
|
|
@@ -140,7 +140,7 @@ export interface ConfigEntryServiceDefaultsState {
|
|
|
140
140
|
*/
|
|
141
141
|
maxInboundConnections?: pulumi.Input<number>;
|
|
142
142
|
/**
|
|
143
|
-
* Specifies the default mesh gateway mode field for
|
|
143
|
+
* Specifies the default mesh gateway mode field for the service.
|
|
144
144
|
*/
|
|
145
145
|
meshGateways?: pulumi.Input<pulumi.Input<inputs.ConfigEntryServiceDefaultsMeshGateway>[]>;
|
|
146
146
|
/**
|
|
@@ -162,11 +162,11 @@ export interface ConfigEntryServiceDefaultsState {
|
|
|
162
162
|
*/
|
|
163
163
|
name?: pulumi.Input<string>;
|
|
164
164
|
/**
|
|
165
|
-
* Specifies the namespace
|
|
165
|
+
* Specifies the Consul namespace that the configuration entry applies to.
|
|
166
166
|
*/
|
|
167
167
|
namespace?: pulumi.Input<string>;
|
|
168
168
|
/**
|
|
169
|
-
* Specifies the name of the name of the Consul admin partition that the configuration entry applies to.
|
|
169
|
+
* Specifies the name of the name of the Consul admin partition that the configuration entry applies to. Refer to Admin Partitions for additional information.
|
|
170
170
|
*/
|
|
171
171
|
partition?: pulumi.Input<string>;
|
|
172
172
|
/**
|
|
@@ -219,7 +219,7 @@ export interface ConfigEntryServiceDefaultsArgs {
|
|
|
219
219
|
*/
|
|
220
220
|
maxInboundConnections?: pulumi.Input<number>;
|
|
221
221
|
/**
|
|
222
|
-
* Specifies the default mesh gateway mode field for
|
|
222
|
+
* Specifies the default mesh gateway mode field for the service.
|
|
223
223
|
*/
|
|
224
224
|
meshGateways?: pulumi.Input<pulumi.Input<inputs.ConfigEntryServiceDefaultsMeshGateway>[]>;
|
|
225
225
|
/**
|
|
@@ -241,11 +241,11 @@ export interface ConfigEntryServiceDefaultsArgs {
|
|
|
241
241
|
*/
|
|
242
242
|
name?: pulumi.Input<string>;
|
|
243
243
|
/**
|
|
244
|
-
* Specifies the namespace
|
|
244
|
+
* Specifies the Consul namespace that the configuration entry applies to.
|
|
245
245
|
*/
|
|
246
246
|
namespace?: pulumi.Input<string>;
|
|
247
247
|
/**
|
|
248
|
-
* Specifies the name of the name of the Consul admin partition that the configuration entry applies to.
|
|
248
|
+
* Specifies the name of the name of the Consul admin partition that the configuration entry applies to. Refer to Admin Partitions for additional information.
|
|
249
249
|
*/
|
|
250
250
|
partition?: pulumi.Input<string>;
|
|
251
251
|
/**
|