@pulumi/command 0.8.3-alpha.1694716865 → 0.9.0
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/package.json +2 -2
- package/package.json.dev +1 -1
- package/types/input.d.ts +50 -0
- package/types/input.js +11 -1
- package/types/input.js.map +1 -1
- package/types/output.d.ts +50 -0
- package/types/output.js +10 -1
- package/types/output.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/command",
|
|
3
|
-
"version": "v0.
|
|
3
|
+
"version": "v0.9.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"pulumi",
|
|
6
6
|
"command",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc",
|
|
15
|
-
"install": "node scripts/install-pulumi-plugin.js resource command v0.
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource command v0.9.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
package/types/input.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
2
3
|
export declare namespace remote {
|
|
3
4
|
/**
|
|
4
5
|
* Instructions for how to connect to a remote endpoint.
|
|
@@ -36,6 +37,10 @@ export declare namespace remote {
|
|
|
36
37
|
* The password to use in case the private key is encrypted.
|
|
37
38
|
*/
|
|
38
39
|
privateKeyPassword?: pulumi.Input<string>;
|
|
40
|
+
/**
|
|
41
|
+
* The connection settings for the bastion/proxy host.
|
|
42
|
+
*/
|
|
43
|
+
proxy?: pulumi.Input<inputs.remote.ProxyConnectionArgs>;
|
|
39
44
|
/**
|
|
40
45
|
* The user that we should use for the connection.
|
|
41
46
|
*/
|
|
@@ -45,4 +50,49 @@ export declare namespace remote {
|
|
|
45
50
|
* connectionArgsProvideDefaults sets the appropriate defaults for ConnectionArgs
|
|
46
51
|
*/
|
|
47
52
|
function connectionArgsProvideDefaults(val: ConnectionArgs): ConnectionArgs;
|
|
53
|
+
/**
|
|
54
|
+
* Instructions for how to connect to a remote endpoint via a bastion host.
|
|
55
|
+
*/
|
|
56
|
+
interface ProxyConnectionArgs {
|
|
57
|
+
/**
|
|
58
|
+
* SSH Agent socket path. Default to environment variable SSH_AUTH_SOCK if present.
|
|
59
|
+
*/
|
|
60
|
+
agentSocketPath?: pulumi.Input<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Max allowed errors on trying to dial the remote host. -1 set count to unlimited. Default value is 10.
|
|
63
|
+
*/
|
|
64
|
+
dialErrorLimit?: pulumi.Input<number>;
|
|
65
|
+
/**
|
|
66
|
+
* The address of the bastion host to connect to.
|
|
67
|
+
*/
|
|
68
|
+
host: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The password we should use for the connection to the bastion host.
|
|
71
|
+
*/
|
|
72
|
+
password?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Max number of seconds for each dial attempt. 0 implies no maximum. Default value is 15 seconds.
|
|
75
|
+
*/
|
|
76
|
+
perDialTimeout?: pulumi.Input<number>;
|
|
77
|
+
/**
|
|
78
|
+
* The port of the bastion host to connect to.
|
|
79
|
+
*/
|
|
80
|
+
port?: pulumi.Input<number>;
|
|
81
|
+
/**
|
|
82
|
+
* The contents of an SSH key to use for the connection. This takes preference over the password if provided.
|
|
83
|
+
*/
|
|
84
|
+
privateKey?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The password to use in case the private key is encrypted.
|
|
87
|
+
*/
|
|
88
|
+
privateKeyPassword?: pulumi.Input<string>;
|
|
89
|
+
/**
|
|
90
|
+
* The user that we should use for the connection to the bastion host.
|
|
91
|
+
*/
|
|
92
|
+
user?: pulumi.Input<string>;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* proxyConnectionArgsProvideDefaults sets the appropriate defaults for ProxyConnectionArgs
|
|
96
|
+
*/
|
|
97
|
+
function proxyConnectionArgsProvideDefaults(val: ProxyConnectionArgs): ProxyConnectionArgs;
|
|
48
98
|
}
|
package/types/input.js
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.remote = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const inputs = require("../types/input");
|
|
6
8
|
var remote;
|
|
7
9
|
(function (remote) {
|
|
8
10
|
/**
|
|
@@ -10,8 +12,16 @@ var remote;
|
|
|
10
12
|
*/
|
|
11
13
|
function connectionArgsProvideDefaults(val) {
|
|
12
14
|
var _a, _b, _c, _d;
|
|
13
|
-
return Object.assign(Object.assign({}, val), { dialErrorLimit: (_a = (val.dialErrorLimit)) !== null && _a !== void 0 ? _a : 10, perDialTimeout: (_b = (val.perDialTimeout)) !== null && _b !== void 0 ? _b : 15, port: (_c = (val.port)) !== null && _c !== void 0 ? _c : 22, user: (_d = (val.user)) !== null && _d !== void 0 ? _d : "root" });
|
|
15
|
+
return Object.assign(Object.assign({}, val), { dialErrorLimit: (_a = (val.dialErrorLimit)) !== null && _a !== void 0 ? _a : 10, perDialTimeout: (_b = (val.perDialTimeout)) !== null && _b !== void 0 ? _b : 15, port: (_c = (val.port)) !== null && _c !== void 0 ? _c : 22, proxy: (val.proxy ? pulumi.output(val.proxy).apply(inputs.remote.proxyConnectionArgsProvideDefaults) : undefined), user: (_d = (val.user)) !== null && _d !== void 0 ? _d : "root" });
|
|
14
16
|
}
|
|
15
17
|
remote.connectionArgsProvideDefaults = connectionArgsProvideDefaults;
|
|
18
|
+
/**
|
|
19
|
+
* proxyConnectionArgsProvideDefaults sets the appropriate defaults for ProxyConnectionArgs
|
|
20
|
+
*/
|
|
21
|
+
function proxyConnectionArgsProvideDefaults(val) {
|
|
22
|
+
var _a, _b, _c, _d;
|
|
23
|
+
return Object.assign(Object.assign({}, val), { dialErrorLimit: (_a = (val.dialErrorLimit)) !== null && _a !== void 0 ? _a : 10, perDialTimeout: (_b = (val.perDialTimeout)) !== null && _b !== void 0 ? _b : 15, port: (_c = (val.port)) !== null && _c !== void 0 ? _c : 22, user: (_d = (val.user)) !== null && _d !== void 0 ? _d : "root" });
|
|
24
|
+
}
|
|
25
|
+
remote.proxyConnectionArgsProvideDefaults = proxyConnectionArgsProvideDefaults;
|
|
16
26
|
})(remote = exports.remote || (exports.remote = {}));
|
|
17
27
|
//# sourceMappingURL=input.js.map
|
package/types/input.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAKzC,IAAiB,MAAM,CAiHtB;AAjHD,WAAiB,MAAM;IA8CnB;;OAEG;IACH,SAAgB,6BAA6B,CAAC,GAAmB;;QAC7D,uCACO,GAAG,KACN,cAAc,EAAE,MAAA,CAAC,GAAG,CAAC,cAAc,CAAC,mCAAI,EAAE,EAC1C,cAAc,EAAE,MAAA,CAAC,GAAG,CAAC,cAAc,CAAC,mCAAI,EAAE,EAC1C,IAAI,EAAE,MAAA,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,EACtB,KAAK,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,kCAAkC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,EACjH,IAAI,EAAE,MAAA,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,MAAM,IAC5B;IACN,CAAC;IATe,oCAA6B,gCAS5C,CAAA;IA2CD;;OAEG;IACH,SAAgB,kCAAkC,CAAC,GAAwB;;QACvE,uCACO,GAAG,KACN,cAAc,EAAE,MAAA,CAAC,GAAG,CAAC,cAAc,CAAC,mCAAI,EAAE,EAC1C,cAAc,EAAE,MAAA,CAAC,GAAG,CAAC,cAAc,CAAC,mCAAI,EAAE,EAC1C,IAAI,EAAE,MAAA,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,EACtB,IAAI,EAAE,MAAA,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,MAAM,IAC5B;IACN,CAAC;IARe,yCAAkC,qCAQjD,CAAA;AACL,CAAC,EAjHgB,MAAM,GAAN,cAAM,KAAN,cAAM,QAiHtB"}
|
package/types/output.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as outputs from "../types/output";
|
|
1
2
|
export declare namespace remote {
|
|
2
3
|
/**
|
|
3
4
|
* Instructions for how to connect to a remote endpoint.
|
|
@@ -35,6 +36,10 @@ export declare namespace remote {
|
|
|
35
36
|
* The password to use in case the private key is encrypted.
|
|
36
37
|
*/
|
|
37
38
|
privateKeyPassword?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The connection settings for the bastion/proxy host.
|
|
41
|
+
*/
|
|
42
|
+
proxy?: outputs.remote.ProxyConnection;
|
|
38
43
|
/**
|
|
39
44
|
* The user that we should use for the connection.
|
|
40
45
|
*/
|
|
@@ -44,4 +49,49 @@ export declare namespace remote {
|
|
|
44
49
|
* connectionProvideDefaults sets the appropriate defaults for Connection
|
|
45
50
|
*/
|
|
46
51
|
function connectionProvideDefaults(val: Connection): Connection;
|
|
52
|
+
/**
|
|
53
|
+
* Instructions for how to connect to a remote endpoint via a bastion host.
|
|
54
|
+
*/
|
|
55
|
+
interface ProxyConnection {
|
|
56
|
+
/**
|
|
57
|
+
* SSH Agent socket path. Default to environment variable SSH_AUTH_SOCK if present.
|
|
58
|
+
*/
|
|
59
|
+
agentSocketPath?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Max allowed errors on trying to dial the remote host. -1 set count to unlimited. Default value is 10.
|
|
62
|
+
*/
|
|
63
|
+
dialErrorLimit?: number;
|
|
64
|
+
/**
|
|
65
|
+
* The address of the bastion host to connect to.
|
|
66
|
+
*/
|
|
67
|
+
host: string;
|
|
68
|
+
/**
|
|
69
|
+
* The password we should use for the connection to the bastion host.
|
|
70
|
+
*/
|
|
71
|
+
password?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Max number of seconds for each dial attempt. 0 implies no maximum. Default value is 15 seconds.
|
|
74
|
+
*/
|
|
75
|
+
perDialTimeout?: number;
|
|
76
|
+
/**
|
|
77
|
+
* The port of the bastion host to connect to.
|
|
78
|
+
*/
|
|
79
|
+
port?: number;
|
|
80
|
+
/**
|
|
81
|
+
* The contents of an SSH key to use for the connection. This takes preference over the password if provided.
|
|
82
|
+
*/
|
|
83
|
+
privateKey?: string;
|
|
84
|
+
/**
|
|
85
|
+
* The password to use in case the private key is encrypted.
|
|
86
|
+
*/
|
|
87
|
+
privateKeyPassword?: string;
|
|
88
|
+
/**
|
|
89
|
+
* The user that we should use for the connection to the bastion host.
|
|
90
|
+
*/
|
|
91
|
+
user?: string;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* proxyConnectionProvideDefaults sets the appropriate defaults for ProxyConnection
|
|
95
|
+
*/
|
|
96
|
+
function proxyConnectionProvideDefaults(val: ProxyConnection): ProxyConnection;
|
|
47
97
|
}
|
package/types/output.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.remote = void 0;
|
|
6
|
+
const outputs = require("../types/output");
|
|
6
7
|
var remote;
|
|
7
8
|
(function (remote) {
|
|
8
9
|
/**
|
|
@@ -10,8 +11,16 @@ var remote;
|
|
|
10
11
|
*/
|
|
11
12
|
function connectionProvideDefaults(val) {
|
|
12
13
|
var _a, _b, _c, _d;
|
|
13
|
-
return Object.assign(Object.assign({}, val), { dialErrorLimit: (_a = (val.dialErrorLimit)) !== null && _a !== void 0 ? _a : 10, perDialTimeout: (_b = (val.perDialTimeout)) !== null && _b !== void 0 ? _b : 15, port: (_c = (val.port)) !== null && _c !== void 0 ? _c : 22, user: (_d = (val.user)) !== null && _d !== void 0 ? _d : "root" });
|
|
14
|
+
return Object.assign(Object.assign({}, val), { dialErrorLimit: (_a = (val.dialErrorLimit)) !== null && _a !== void 0 ? _a : 10, perDialTimeout: (_b = (val.perDialTimeout)) !== null && _b !== void 0 ? _b : 15, port: (_c = (val.port)) !== null && _c !== void 0 ? _c : 22, proxy: (val.proxy ? outputs.remote.proxyConnectionProvideDefaults(val.proxy) : undefined), user: (_d = (val.user)) !== null && _d !== void 0 ? _d : "root" });
|
|
14
15
|
}
|
|
15
16
|
remote.connectionProvideDefaults = connectionProvideDefaults;
|
|
17
|
+
/**
|
|
18
|
+
* proxyConnectionProvideDefaults sets the appropriate defaults for ProxyConnection
|
|
19
|
+
*/
|
|
20
|
+
function proxyConnectionProvideDefaults(val) {
|
|
21
|
+
var _a, _b, _c, _d;
|
|
22
|
+
return Object.assign(Object.assign({}, val), { dialErrorLimit: (_a = (val.dialErrorLimit)) !== null && _a !== void 0 ? _a : 10, perDialTimeout: (_b = (val.perDialTimeout)) !== null && _b !== void 0 ? _b : 15, port: (_c = (val.port)) !== null && _c !== void 0 ? _c : 22, user: (_d = (val.user)) !== null && _d !== void 0 ? _d : "root" });
|
|
23
|
+
}
|
|
24
|
+
remote.proxyConnectionProvideDefaults = proxyConnectionProvideDefaults;
|
|
16
25
|
})(remote = exports.remote || (exports.remote = {}));
|
|
17
26
|
//# sourceMappingURL=output.js.map
|
package/types/output.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;
|
|
1
|
+
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAIjF,2CAA2C;AAI3C,IAAiB,MAAM,CAkHtB;AAlHD,WAAiB,MAAM;IA8CnB;;OAEG;IACH,SAAgB,yBAAyB,CAAC,GAAe;;QACrD,uCACO,GAAG,KACN,cAAc,EAAE,MAAA,CAAC,GAAG,CAAC,cAAc,CAAC,mCAAI,EAAE,EAC1C,cAAc,EAAE,MAAA,CAAC,GAAG,CAAC,cAAc,CAAC,mCAAI,EAAE,EAC1C,IAAI,EAAE,MAAA,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,EACtB,KAAK,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,EACzF,IAAI,EAAE,MAAA,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,MAAM,IAC5B;IACN,CAAC;IATe,gCAAyB,4BASxC,CAAA;IA2CD;;OAEG;IACH,SAAgB,8BAA8B,CAAC,GAAoB;;QAC/D,uCACO,GAAG,KACN,cAAc,EAAE,MAAA,CAAC,GAAG,CAAC,cAAc,CAAC,mCAAI,EAAE,EAC1C,cAAc,EAAE,MAAA,CAAC,GAAG,CAAC,cAAc,CAAC,mCAAI,EAAE,EAC1C,IAAI,EAAE,MAAA,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,EACtB,IAAI,EAAE,MAAA,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,MAAM,IAC5B;IACN,CAAC;IARe,qCAA8B,iCAQ7C,CAAA;AAEL,CAAC,EAlHgB,MAAM,GAAN,cAAM,KAAN,cAAM,QAkHtB"}
|