@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.
Files changed (133) hide show
  1. package/aclAuthMethod.d.ts +2 -4
  2. package/aclAuthMethod.js +2 -4
  3. package/aclAuthMethod.js.map +1 -1
  4. package/aclBindingRule.d.ts +1 -2
  5. package/aclBindingRule.js +1 -2
  6. package/aclBindingRule.js.map +1 -1
  7. package/aclPolicy.d.ts +1 -3
  8. package/aclPolicy.js +1 -3
  9. package/aclPolicy.js.map +1 -1
  10. package/aclRole.d.ts +5 -5
  11. package/aclRole.js +2 -2
  12. package/aclRolePolicyAttachment.d.ts +4 -5
  13. package/aclRolePolicyAttachment.js +4 -5
  14. package/aclRolePolicyAttachment.js.map +1 -1
  15. package/aclToken.d.ts +9 -8
  16. package/aclToken.js +9 -8
  17. package/aclToken.js.map +1 -1
  18. package/adminPartition.d.ts +4 -3
  19. package/adminPartition.js +4 -3
  20. package/adminPartition.js.map +1 -1
  21. package/agentService.d.ts +1 -2
  22. package/agentService.js +1 -2
  23. package/agentService.js.map +1 -1
  24. package/autopilotConfig.d.ts +0 -2
  25. package/autopilotConfig.js +0 -2
  26. package/autopilotConfig.js.map +1 -1
  27. package/catalogEntry.d.ts +0 -24
  28. package/catalogEntry.js +0 -24
  29. package/catalogEntry.js.map +1 -1
  30. package/certificateAuthority.d.ts +0 -21
  31. package/certificateAuthority.js.map +1 -1
  32. package/configEntry.d.ts +26 -23
  33. package/configEntry.js +26 -23
  34. package/configEntry.js.map +1 -1
  35. package/configEntryServiceDefaults.d.ts +9 -9
  36. package/configEntryServiceIntentions.d.ts +12 -12
  37. package/configEntryServiceIntentions.js +3 -3
  38. package/configEntryServiceResolver.d.ts +25 -26
  39. package/configEntryServiceResolver.js +16 -17
  40. package/configEntryServiceResolver.js.map +1 -1
  41. package/configEntryServiceRouter.d.ts +9 -29
  42. package/configEntryServiceRouter.js +0 -20
  43. package/configEntryServiceRouter.js.map +1 -1
  44. package/configEntryServiceSplitter.d.ts +11 -10
  45. package/configEntryServiceSplitter.js +5 -4
  46. package/configEntryServiceSplitter.js.map +1 -1
  47. package/getAclAuthMethod.d.ts +0 -4
  48. package/getAclAuthMethod.js +0 -4
  49. package/getAclAuthMethod.js.map +1 -1
  50. package/getAclPolicy.d.ts +0 -4
  51. package/getAclPolicy.js +0 -4
  52. package/getAclPolicy.js.map +1 -1
  53. package/getAclRole.d.ts +6 -4
  54. package/getAclRole.js +0 -4
  55. package/getAclRole.js.map +1 -1
  56. package/getAclToken.d.ts +0 -4
  57. package/getAclToken.js +0 -4
  58. package/getAclToken.js.map +1 -1
  59. package/getAclTokenSecretId.d.ts +8 -10
  60. package/getAclTokenSecretId.js +8 -10
  61. package/getAclTokenSecretId.js.map +1 -1
  62. package/getAgentConfig.d.ts +0 -4
  63. package/getAgentConfig.js +0 -4
  64. package/getAgentConfig.js.map +1 -1
  65. package/getAutopilotHealth.d.ts +0 -4
  66. package/getAutopilotHealth.js +0 -4
  67. package/getAutopilotHealth.js.map +1 -1
  68. package/getCatalogService.d.ts +38 -8
  69. package/getCatalogService.js +38 -0
  70. package/getCatalogService.js.map +1 -1
  71. package/getCatalogServices.d.ts +40 -0
  72. package/getCatalogServices.js +40 -0
  73. package/getCatalogServices.js.map +1 -1
  74. package/getKeyPrefix.d.ts +14 -22
  75. package/getKeyPrefix.js +14 -22
  76. package/getKeyPrefix.js.map +1 -1
  77. package/getKeys.d.ts +4 -10
  78. package/getKeys.js +4 -10
  79. package/getKeys.js.map +1 -1
  80. package/getNetworkAreaMembers.d.ts +6 -10
  81. package/getNetworkAreaMembers.js +6 -10
  82. package/getNetworkAreaMembers.js.map +1 -1
  83. package/getNetworkSegments.d.ts +12 -8
  84. package/getNetworkSegments.js +12 -8
  85. package/getNetworkSegments.js.map +1 -1
  86. package/getPeering.d.ts +0 -4
  87. package/getPeering.js +0 -4
  88. package/getPeering.js.map +1 -1
  89. package/getPeerings.d.ts +0 -4
  90. package/getPeerings.js +0 -4
  91. package/getPeerings.js.map +1 -1
  92. package/getService.d.ts +38 -8
  93. package/getService.js +38 -0
  94. package/getService.js.map +1 -1
  95. package/getServices.d.ts +40 -0
  96. package/getServices.js +40 -0
  97. package/getServices.js.map +1 -1
  98. package/intention.d.ts +4 -8
  99. package/intention.js +4 -8
  100. package/intention.js.map +1 -1
  101. package/keyPrefix.d.ts +12 -14
  102. package/keyPrefix.js +12 -14
  103. package/keyPrefix.js.map +1 -1
  104. package/keys.d.ts +2 -4
  105. package/keys.js +2 -4
  106. package/keys.js.map +1 -1
  107. package/license.d.ts +4 -4
  108. package/license.js +4 -4
  109. package/namespace.d.ts +1 -2
  110. package/namespace.js +1 -2
  111. package/namespace.js.map +1 -1
  112. package/networkArea.d.ts +0 -2
  113. package/networkArea.js +0 -2
  114. package/networkArea.js.map +1 -1
  115. package/node.d.ts +4 -3
  116. package/node.js +4 -3
  117. package/node.js.map +1 -1
  118. package/package.json +3 -2
  119. package/peering.d.ts +3 -12
  120. package/peering.js +3 -12
  121. package/peering.js.map +1 -1
  122. package/peeringToken.d.ts +0 -2
  123. package/peeringToken.js +0 -2
  124. package/peeringToken.js.map +1 -1
  125. package/preparedQuery.d.ts +30 -30
  126. package/preparedQuery.js +27 -27
  127. package/provider.d.ts +8 -8
  128. package/service.d.ts +41 -8
  129. package/service.js +38 -5
  130. package/service.js.map +1 -1
  131. package/types/input.d.ts +11 -11
  132. package/types/output.d.ts +11 -11
  133. package/package.json.bak +0 -27
package/service.d.ts CHANGED
@@ -15,35 +15,68 @@ import * as outputs from "./types/output";
15
15
  *
16
16
  * Creating a new node with the service:
17
17
  *
18
- * <!--Start PulumiCodeChooser -->
19
18
  * ```typescript
20
19
  * import * as pulumi from "@pulumi/pulumi";
21
20
  * import * as consul from "@pulumi/consul";
22
21
  *
23
- * const compute = new consul.Node("compute", {address: "www.google.com"});
22
+ * const compute = new consul.Node("compute", {
23
+ * name: "compute-google",
24
+ * address: "www.google.com",
25
+ * });
24
26
  * const google = new consul.Service("google", {
27
+ * name: "google",
25
28
  * node: compute.name,
26
29
  * port: 80,
27
30
  * tags: ["tag0"],
28
31
  * });
29
32
  * ```
30
- * <!--End PulumiCodeChooser -->
31
33
  *
32
34
  * Utilizing an existing known node:
33
35
  *
34
- * <!--Start PulumiCodeChooser -->
35
36
  * ```typescript
36
37
  * import * as pulumi from "@pulumi/pulumi";
37
38
  * import * as consul from "@pulumi/consul";
38
39
  *
39
40
  * const google = new consul.Service("google", {
41
+ * name: "google",
40
42
  * node: "google",
41
43
  * port: 443,
42
44
  * });
43
45
  * ```
44
- * <!--End PulumiCodeChooser -->
45
46
  *
46
47
  * Register a health-check:
48
+ *
49
+ * ```typescript
50
+ * import * as pulumi from "@pulumi/pulumi";
51
+ * import * as consul from "@pulumi/consul";
52
+ *
53
+ * const redis = new consul.Service("redis", {
54
+ * name: "redis",
55
+ * node: "redis",
56
+ * port: 6379,
57
+ * checks: [{
58
+ * checkId: "service:redis1",
59
+ * name: "Redis health check",
60
+ * status: "passing",
61
+ * http: "https://www.hashicorptest.com",
62
+ * tlsSkipVerify: false,
63
+ * method: "PUT",
64
+ * interval: "5s",
65
+ * timeout: "1s",
66
+ * deregisterCriticalServiceAfter: "30s",
67
+ * headers: [
68
+ * {
69
+ * name: "foo",
70
+ * values: ["test"],
71
+ * },
72
+ * {
73
+ * name: "bar",
74
+ * values: ["test"],
75
+ * },
76
+ * ],
77
+ * }],
78
+ * });
79
+ * ```
47
80
  */
48
81
  export declare class Service extends pulumi.CustomResource {
49
82
  /**
@@ -85,7 +118,7 @@ export declare class Service extends pulumi.CustomResource {
85
118
  [key: string]: string;
86
119
  } | undefined>;
87
120
  /**
88
- * The name of the header.
121
+ * The name of the service.
89
122
  */
90
123
  readonly name: pulumi.Output<string>;
91
124
  /**
@@ -149,7 +182,7 @@ export interface ServiceState {
149
182
  [key: string]: pulumi.Input<string>;
150
183
  }>;
151
184
  /**
152
- * The name of the header.
185
+ * The name of the service.
153
186
  */
154
187
  name?: pulumi.Input<string>;
155
188
  /**
@@ -205,7 +238,7 @@ export interface ServiceArgs {
205
238
  [key: string]: pulumi.Input<string>;
206
239
  }>;
207
240
  /**
208
- * The name of the header.
241
+ * The name of the service.
209
242
  */
210
243
  name?: pulumi.Input<string>;
211
244
  /**
package/service.js CHANGED
@@ -19,35 +19,68 @@ const utilities = require("./utilities");
19
19
  *
20
20
  * Creating a new node with the service:
21
21
  *
22
- * <!--Start PulumiCodeChooser -->
23
22
  * ```typescript
24
23
  * import * as pulumi from "@pulumi/pulumi";
25
24
  * import * as consul from "@pulumi/consul";
26
25
  *
27
- * const compute = new consul.Node("compute", {address: "www.google.com"});
26
+ * const compute = new consul.Node("compute", {
27
+ * name: "compute-google",
28
+ * address: "www.google.com",
29
+ * });
28
30
  * const google = new consul.Service("google", {
31
+ * name: "google",
29
32
  * node: compute.name,
30
33
  * port: 80,
31
34
  * tags: ["tag0"],
32
35
  * });
33
36
  * ```
34
- * <!--End PulumiCodeChooser -->
35
37
  *
36
38
  * Utilizing an existing known node:
37
39
  *
38
- * <!--Start PulumiCodeChooser -->
39
40
  * ```typescript
40
41
  * import * as pulumi from "@pulumi/pulumi";
41
42
  * import * as consul from "@pulumi/consul";
42
43
  *
43
44
  * const google = new consul.Service("google", {
45
+ * name: "google",
44
46
  * node: "google",
45
47
  * port: 443,
46
48
  * });
47
49
  * ```
48
- * <!--End PulumiCodeChooser -->
49
50
  *
50
51
  * Register a health-check:
52
+ *
53
+ * ```typescript
54
+ * import * as pulumi from "@pulumi/pulumi";
55
+ * import * as consul from "@pulumi/consul";
56
+ *
57
+ * const redis = new consul.Service("redis", {
58
+ * name: "redis",
59
+ * node: "redis",
60
+ * port: 6379,
61
+ * checks: [{
62
+ * checkId: "service:redis1",
63
+ * name: "Redis health check",
64
+ * status: "passing",
65
+ * http: "https://www.hashicorptest.com",
66
+ * tlsSkipVerify: false,
67
+ * method: "PUT",
68
+ * interval: "5s",
69
+ * timeout: "1s",
70
+ * deregisterCriticalServiceAfter: "30s",
71
+ * headers: [
72
+ * {
73
+ * name: "foo",
74
+ * values: ["test"],
75
+ * },
76
+ * {
77
+ * name: "bar",
78
+ * values: ["test"],
79
+ * },
80
+ * ],
81
+ * }],
82
+ * });
83
+ * ```
51
84
  */
52
85
  class Service extends pulumi.CustomResource {
53
86
  /**
package/service.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"service.js","sourceRoot":"","sources":["../service.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IA4DD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,QAAQ,CA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CHANGED
@@ -371,7 +371,7 @@ export interface ConfigEntryServiceIntentionsSource {
371
371
  }
372
372
  export interface ConfigEntryServiceIntentionsSourcePermission {
373
373
  /**
374
- * Specifies the action to take when the source sends traffic to the destination service.
374
+ * Specifies the action to take when the source sends traffic to the destination service. The value is either allow or deny.
375
375
  */
376
376
  action: pulumi.Input<string>;
377
377
  /**
@@ -411,7 +411,7 @@ export interface ConfigEntryServiceIntentionsSourcePermissionHttpHeader {
411
411
  */
412
412
  invert?: pulumi.Input<boolean>;
413
413
  /**
414
- * Specifies the name of a JWT provider defined in the Name field of the jwt-provider configuration entry.
414
+ * Specifies the name of the header to match.
415
415
  */
416
416
  name: pulumi.Input<string>;
417
417
  /**
@@ -467,7 +467,7 @@ export interface ConfigEntryServiceResolverFailoverTarget {
467
467
  */
468
468
  datacenter?: pulumi.Input<string>;
469
469
  /**
470
- * Specifies the namespace at the failover location where the failover services are deployed.
470
+ * Specifies the namespace to use for the failover target. If empty, the default namespace is used.
471
471
  */
472
472
  namespace?: pulumi.Input<string>;
473
473
  /**
@@ -479,11 +479,11 @@ export interface ConfigEntryServiceResolverFailoverTarget {
479
479
  */
480
480
  peer?: pulumi.Input<string>;
481
481
  /**
482
- * Specifies the name of the service to resolve at the failover location during a failover scenario.
482
+ * Specifies the service name to use for the failover target. If empty, the current service name is used.
483
483
  */
484
484
  service?: pulumi.Input<string>;
485
485
  /**
486
- * Specifies the name of a subset of service instances to resolve at the failover location during a failover scenario.
486
+ * Specifies the named subset to use for the failover target. If empty, the default subset for the requested service name is used.
487
487
  */
488
488
  serviceSubset?: pulumi.Input<string>;
489
489
  }
@@ -682,7 +682,7 @@ export interface ConfigEntryServiceRouterRouteDestinationRequestHeaders {
682
682
  }
683
683
  export interface ConfigEntryServiceRouterRouteDestinationResponseHeaders {
684
684
  /**
685
- * Defines a set of key-value pairs to add to the header. Use header names as the keys.
685
+ * Defines a set of key-value pairs to add to the header. Use header names as the keys
686
686
  */
687
687
  add?: pulumi.Input<{
688
688
  [key: string]: pulumi.Input<string>;
@@ -692,7 +692,7 @@ export interface ConfigEntryServiceRouterRouteDestinationResponseHeaders {
692
692
  */
693
693
  removes?: pulumi.Input<pulumi.Input<string>[]>;
694
694
  /**
695
- * Defines a set of key-value pairs to add to the request header or to replace existing header values with.
695
+ * Defines a set of key-value pairs to add to the response header or to replace existing header values with
696
696
  */
697
697
  set?: pulumi.Input<{
698
698
  [key: string]: pulumi.Input<string>;
@@ -762,19 +762,19 @@ export interface ConfigEntryServiceRouterRouteMatchHttpHeader {
762
762
  }
763
763
  export interface ConfigEntryServiceRouterRouteMatchHttpQueryParam {
764
764
  /**
765
- * Specifies that a request matches when the header with the given name is this exact value.
765
+ * Specifies that a request matches when the query parameter with the given name is this exact value.
766
766
  */
767
767
  exact?: pulumi.Input<string>;
768
768
  /**
769
- * Specifies the name of the HTTP header to match.
769
+ * Specifies the name of the HTTP query parameter to match.
770
770
  */
771
771
  name?: pulumi.Input<string>;
772
772
  /**
773
- * Specifies that a request matches when the value in the `name` argument is present anywhere in the HTTP header.
773
+ * Specifies that a request matches when the value in the `name` argument is present anywhere in the HTTP query parameter.
774
774
  */
775
775
  present?: pulumi.Input<boolean>;
776
776
  /**
777
- * Specifies that a request matches when the header with the given name matches this regular expression.
777
+ * Specifies that a request matches when the query parameter with the given name matches this regular expression.
778
778
  */
779
779
  regex?: pulumi.Input<string>;
780
780
  }
package/types/output.d.ts CHANGED
@@ -370,7 +370,7 @@ export interface ConfigEntryServiceIntentionsSource {
370
370
  }
371
371
  export interface ConfigEntryServiceIntentionsSourcePermission {
372
372
  /**
373
- * Specifies the action to take when the source sends traffic to the destination service.
373
+ * Specifies the action to take when the source sends traffic to the destination service. The value is either allow or deny.
374
374
  */
375
375
  action: string;
376
376
  /**
@@ -410,7 +410,7 @@ export interface ConfigEntryServiceIntentionsSourcePermissionHttpHeader {
410
410
  */
411
411
  invert?: boolean;
412
412
  /**
413
- * Specifies the name of a JWT provider defined in the Name field of the jwt-provider configuration entry.
413
+ * Specifies the name of the header to match.
414
414
  */
415
415
  name: string;
416
416
  /**
@@ -466,7 +466,7 @@ export interface ConfigEntryServiceResolverFailoverTarget {
466
466
  */
467
467
  datacenter?: string;
468
468
  /**
469
- * Specifies the namespace at the failover location where the failover services are deployed.
469
+ * Specifies the namespace to use for the failover target. If empty, the default namespace is used.
470
470
  */
471
471
  namespace?: string;
472
472
  /**
@@ -478,11 +478,11 @@ export interface ConfigEntryServiceResolverFailoverTarget {
478
478
  */
479
479
  peer?: string;
480
480
  /**
481
- * Specifies the name of the service to resolve at the failover location during a failover scenario.
481
+ * Specifies the service name to use for the failover target. If empty, the current service name is used.
482
482
  */
483
483
  service?: string;
484
484
  /**
485
- * Specifies the name of a subset of service instances to resolve at the failover location during a failover scenario.
485
+ * Specifies the named subset to use for the failover target. If empty, the default subset for the requested service name is used.
486
486
  */
487
487
  serviceSubset?: string;
488
488
  }
@@ -681,7 +681,7 @@ export interface ConfigEntryServiceRouterRouteDestinationRequestHeaders {
681
681
  }
682
682
  export interface ConfigEntryServiceRouterRouteDestinationResponseHeaders {
683
683
  /**
684
- * Defines a set of key-value pairs to add to the header. Use header names as the keys.
684
+ * Defines a set of key-value pairs to add to the header. Use header names as the keys
685
685
  */
686
686
  add?: {
687
687
  [key: string]: string;
@@ -691,7 +691,7 @@ export interface ConfigEntryServiceRouterRouteDestinationResponseHeaders {
691
691
  */
692
692
  removes?: string[];
693
693
  /**
694
- * Defines a set of key-value pairs to add to the request header or to replace existing header values with.
694
+ * Defines a set of key-value pairs to add to the response header or to replace existing header values with
695
695
  */
696
696
  set?: {
697
697
  [key: string]: string;
@@ -761,19 +761,19 @@ export interface ConfigEntryServiceRouterRouteMatchHttpHeader {
761
761
  }
762
762
  export interface ConfigEntryServiceRouterRouteMatchHttpQueryParam {
763
763
  /**
764
- * Specifies that a request matches when the header with the given name is this exact value.
764
+ * Specifies that a request matches when the query parameter with the given name is this exact value.
765
765
  */
766
766
  exact?: string;
767
767
  /**
768
- * Specifies the name of the HTTP header to match.
768
+ * Specifies the name of the HTTP query parameter to match.
769
769
  */
770
770
  name?: string;
771
771
  /**
772
- * Specifies that a request matches when the value in the `name` argument is present anywhere in the HTTP header.
772
+ * Specifies that a request matches when the value in the `name` argument is present anywhere in the HTTP query parameter.
773
773
  */
774
774
  present?: boolean;
775
775
  /**
776
- * Specifies that a request matches when the header with the given name matches this regular expression.
776
+ * Specifies that a request matches when the query parameter with the given name matches this regular expression.
777
777
  */
778
778
  regex?: string;
779
779
  }
package/package.json.bak DELETED
@@ -1,27 +0,0 @@
1
- {
2
- "name": "@pulumi/consul",
3
- "version": "${VERSION}",
4
- "description": "A Pulumi package for creating and managing consul resources.",
5
- "keywords": [
6
- "pulumi",
7
- "consul"
8
- ],
9
- "homepage": "https://pulumi.io",
10
- "repository": "https://github.com/pulumi/pulumi-consul",
11
- "license": "Apache-2.0",
12
- "scripts": {
13
- "build": "tsc"
14
- },
15
- "dependencies": {
16
- "@pulumi/pulumi": "^3.0.0"
17
- },
18
- "devDependencies": {
19
- "@types/mime": "^2.0.0",
20
- "@types/node": "^10.0.0",
21
- "typescript": "^4.3.5"
22
- },
23
- "pulumi": {
24
- "resource": true,
25
- "name": "consul"
26
- }
27
- }