@pulumi/cloudamqp 3.25.0 → 3.25.1
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/customCertificate.d.ts +17 -5
- package/customCertificate.js +4 -2
- package/customCertificate.js.map +1 -1
- package/package.json +2 -2
package/customCertificate.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* This resource allows you to upload a custom certificate to all servers in your cluster. Update is
|
|
4
4
|
* not supported, all changes require replacement. `ca`, `cert` and `privateKey` all use **WriteOnly**,
|
|
5
|
-
* no information is present in plan phase, logs or stored in the state.
|
|
5
|
+
* meaning no information is present in plan phase, logs or stored in the state for security purposes.
|
|
6
6
|
*
|
|
7
|
-
* > **WARNING:** Please note that when uploading a custom or restoring to default certificate,
|
|
7
|
+
* > **WARNING:** Please note that when uploading a custom certificate or restoring to default certificate,
|
|
8
8
|
* all current connections will be closed.
|
|
9
9
|
*
|
|
10
10
|
* > **Note:** Destroying this resource will restore the cluster to use the default CloudAMQP certificate.
|
|
@@ -41,6 +41,10 @@ export declare class CustomCertificate extends pulumi.CustomResource {
|
|
|
41
41
|
* The CloudAMQP instance identifier.
|
|
42
42
|
*/
|
|
43
43
|
readonly instanceId: pulumi.Output<number>;
|
|
44
|
+
/**
|
|
45
|
+
* A string based argument to trigger force new (default: "").
|
|
46
|
+
*/
|
|
47
|
+
readonly keyId: pulumi.Output<string>;
|
|
44
48
|
/**
|
|
45
49
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
46
50
|
* The PEM-encoded private key corresponding to the certificate.
|
|
@@ -51,7 +55,7 @@ export declare class CustomCertificate extends pulumi.CustomResource {
|
|
|
51
55
|
*/
|
|
52
56
|
readonly sniHosts: pulumi.Output<string>;
|
|
53
57
|
/**
|
|
54
|
-
* An argument to trigger force new (default: 1).
|
|
58
|
+
* An integer based argument to trigger force new (default: 1).
|
|
55
59
|
*/
|
|
56
60
|
readonly version: pulumi.Output<number>;
|
|
57
61
|
/**
|
|
@@ -81,6 +85,10 @@ export interface CustomCertificateState {
|
|
|
81
85
|
* The CloudAMQP instance identifier.
|
|
82
86
|
*/
|
|
83
87
|
instanceId?: pulumi.Input<number>;
|
|
88
|
+
/**
|
|
89
|
+
* A string based argument to trigger force new (default: "").
|
|
90
|
+
*/
|
|
91
|
+
keyId?: pulumi.Input<string>;
|
|
84
92
|
/**
|
|
85
93
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
86
94
|
* The PEM-encoded private key corresponding to the certificate.
|
|
@@ -91,7 +99,7 @@ export interface CustomCertificateState {
|
|
|
91
99
|
*/
|
|
92
100
|
sniHosts?: pulumi.Input<string>;
|
|
93
101
|
/**
|
|
94
|
-
* An argument to trigger force new (default: 1).
|
|
102
|
+
* An integer based argument to trigger force new (default: 1).
|
|
95
103
|
*/
|
|
96
104
|
version?: pulumi.Input<number>;
|
|
97
105
|
}
|
|
@@ -113,6 +121,10 @@ export interface CustomCertificateArgs {
|
|
|
113
121
|
* The CloudAMQP instance identifier.
|
|
114
122
|
*/
|
|
115
123
|
instanceId: pulumi.Input<number>;
|
|
124
|
+
/**
|
|
125
|
+
* A string based argument to trigger force new (default: "").
|
|
126
|
+
*/
|
|
127
|
+
keyId?: pulumi.Input<string>;
|
|
116
128
|
/**
|
|
117
129
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
118
130
|
* The PEM-encoded private key corresponding to the certificate.
|
|
@@ -123,7 +135,7 @@ export interface CustomCertificateArgs {
|
|
|
123
135
|
*/
|
|
124
136
|
sniHosts: pulumi.Input<string>;
|
|
125
137
|
/**
|
|
126
|
-
* An argument to trigger force new (default: 1).
|
|
138
|
+
* An integer based argument to trigger force new (default: 1).
|
|
127
139
|
*/
|
|
128
140
|
version?: pulumi.Input<number>;
|
|
129
141
|
}
|
package/customCertificate.js
CHANGED
|
@@ -8,9 +8,9 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* This resource allows you to upload a custom certificate to all servers in your cluster. Update is
|
|
10
10
|
* not supported, all changes require replacement. `ca`, `cert` and `privateKey` all use **WriteOnly**,
|
|
11
|
-
* no information is present in plan phase, logs or stored in the state.
|
|
11
|
+
* meaning no information is present in plan phase, logs or stored in the state for security purposes.
|
|
12
12
|
*
|
|
13
|
-
* > **WARNING:** Please note that when uploading a custom or restoring to default certificate,
|
|
13
|
+
* > **WARNING:** Please note that when uploading a custom certificate or restoring to default certificate,
|
|
14
14
|
* all current connections will be closed.
|
|
15
15
|
*
|
|
16
16
|
* > **Note:** Destroying this resource will restore the cluster to use the default CloudAMQP certificate.
|
|
@@ -48,6 +48,7 @@ class CustomCertificate extends pulumi.CustomResource {
|
|
|
48
48
|
resourceInputs["ca"] = state?.ca;
|
|
49
49
|
resourceInputs["cert"] = state?.cert;
|
|
50
50
|
resourceInputs["instanceId"] = state?.instanceId;
|
|
51
|
+
resourceInputs["keyId"] = state?.keyId;
|
|
51
52
|
resourceInputs["privateKey"] = state?.privateKey;
|
|
52
53
|
resourceInputs["sniHosts"] = state?.sniHosts;
|
|
53
54
|
resourceInputs["version"] = state?.version;
|
|
@@ -72,6 +73,7 @@ class CustomCertificate extends pulumi.CustomResource {
|
|
|
72
73
|
resourceInputs["ca"] = args?.ca ? pulumi.secret(args.ca) : undefined;
|
|
73
74
|
resourceInputs["cert"] = args?.cert ? pulumi.secret(args.cert) : undefined;
|
|
74
75
|
resourceInputs["instanceId"] = args?.instanceId;
|
|
76
|
+
resourceInputs["keyId"] = args?.keyId;
|
|
75
77
|
resourceInputs["privateKey"] = args?.privateKey ? pulumi.secret(args.privateKey) : undefined;
|
|
76
78
|
resourceInputs["sniHosts"] = args?.sniHosts;
|
|
77
79
|
resourceInputs["version"] = args?.version;
|
package/customCertificate.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customCertificate.js","sourceRoot":"","sources":["../customCertificate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;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,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;
|
|
1
|
+
{"version":3,"file":"customCertificate.js","sourceRoot":"","sources":["../customCertificate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;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,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,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,iBAAiB,CAAC,YA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G,gBAAgB;AACO,8BAAY,GAAG,qDAAqD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/cloudamqp",
|
|
3
|
-
"version": "3.25.
|
|
3
|
+
"version": "3.25.1",
|
|
4
4
|
"description": "A Pulumi package for creating and managing CloudAMQP resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "cloudamqp",
|
|
26
|
-
"version": "3.25.
|
|
26
|
+
"version": "3.25.1"
|
|
27
27
|
}
|
|
28
28
|
}
|