@pulumi/cloudinit 1.5.0-alpha.1769799439 → 1.5.0-alpha.1770156322
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/config.d.ts +3 -3
- package/config.js +3 -0
- package/config.js.map +1 -1
- package/getConfig.d.ts +5 -5
- package/getConfig.js +0 -2
- package/getConfig.js.map +1 -1
- package/package.json +2 -2
package/config.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export declare class Config extends pulumi.CustomResource {
|
|
|
52
52
|
/**
|
|
53
53
|
* A nested block type which adds a file to the generated cloud-init configuration. Use multiple `part` blocks to specify multiple files, which will be included in order of declaration in the final MIME document.
|
|
54
54
|
*/
|
|
55
|
-
readonly parts: pulumi.Output<outputs.ConfigPart[]
|
|
55
|
+
readonly parts: pulumi.Output<outputs.ConfigPart[]>;
|
|
56
56
|
/**
|
|
57
57
|
* The final rendered multi-part cloud-init config.
|
|
58
58
|
*/
|
|
@@ -64,7 +64,7 @@ export declare class Config extends pulumi.CustomResource {
|
|
|
64
64
|
* @param args The arguments to use to populate this resource's properties.
|
|
65
65
|
* @param opts A bag of options that control this resource's behavior.
|
|
66
66
|
*/
|
|
67
|
-
constructor(name: string, args
|
|
67
|
+
constructor(name: string, args: ConfigArgs, opts?: pulumi.CustomResourceOptions);
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
70
|
* Input properties used for looking up and filtering Config resources.
|
|
@@ -110,5 +110,5 @@ export interface ConfigArgs {
|
|
|
110
110
|
/**
|
|
111
111
|
* A nested block type which adds a file to the generated cloud-init configuration. Use multiple `part` blocks to specify multiple files, which will be included in order of declaration in the final MIME document.
|
|
112
112
|
*/
|
|
113
|
-
parts
|
|
113
|
+
parts: pulumi.Input<pulumi.Input<inputs.ConfigPart>[]>;
|
|
114
114
|
}
|
package/config.js
CHANGED
|
@@ -61,6 +61,9 @@ class Config extends pulumi.CustomResource {
|
|
|
61
61
|
}
|
|
62
62
|
else {
|
|
63
63
|
const args = argsOrState;
|
|
64
|
+
if (args?.parts === undefined && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'parts'");
|
|
66
|
+
}
|
|
64
67
|
resourceInputs["base64Encode"] = args?.base64Encode;
|
|
65
68
|
resourceInputs["boundary"] = args?.boundary;
|
|
66
69
|
resourceInputs["gzip"] = args?.gzip;
|
package/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../config.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,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,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAhFL,wBAiFC;AAnEG,gBAAgB;AACO,mBAAY,GAAG,+BAA+B,CAAC"}
|
package/getConfig.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ import * as outputs from "./types/output";
|
|
|
18
18
|
*
|
|
19
19
|
* <!-- This schema was originally generated with tfplugindocs, then modified manually to ensure `part` block list is noted as Required -->
|
|
20
20
|
*/
|
|
21
|
-
export declare function getConfig(args
|
|
21
|
+
export declare function getConfig(args: GetConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetConfigResult>;
|
|
22
22
|
/**
|
|
23
23
|
* A collection of arguments for invoking getConfig.
|
|
24
24
|
*/
|
|
@@ -38,7 +38,7 @@ export interface GetConfigArgs {
|
|
|
38
38
|
/**
|
|
39
39
|
* A nested block type which adds a file to the generated cloud-init configuration. Use multiple `part` blocks to specify multiple files, which will be included in order of declaration in the final MIME document.
|
|
40
40
|
*/
|
|
41
|
-
parts
|
|
41
|
+
parts: inputs.GetConfigPart[];
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
44
|
* A collection of values returned by getConfig.
|
|
@@ -63,7 +63,7 @@ export interface GetConfigResult {
|
|
|
63
63
|
/**
|
|
64
64
|
* A nested block type which adds a file to the generated cloud-init configuration. Use multiple `part` blocks to specify multiple files, which will be included in order of declaration in the final MIME document.
|
|
65
65
|
*/
|
|
66
|
-
readonly parts
|
|
66
|
+
readonly parts: outputs.GetConfigPart[];
|
|
67
67
|
/**
|
|
68
68
|
* The final rendered multi-part cloud-init config.
|
|
69
69
|
*/
|
|
@@ -86,7 +86,7 @@ export interface GetConfigResult {
|
|
|
86
86
|
*
|
|
87
87
|
* <!-- This schema was originally generated with tfplugindocs, then modified manually to ensure `part` block list is noted as Required -->
|
|
88
88
|
*/
|
|
89
|
-
export declare function getConfigOutput(args
|
|
89
|
+
export declare function getConfigOutput(args: GetConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConfigResult>;
|
|
90
90
|
/**
|
|
91
91
|
* A collection of arguments for invoking getConfig.
|
|
92
92
|
*/
|
|
@@ -106,5 +106,5 @@ export interface GetConfigOutputArgs {
|
|
|
106
106
|
/**
|
|
107
107
|
* A nested block type which adds a file to the generated cloud-init configuration. Use multiple `part` blocks to specify multiple files, which will be included in order of declaration in the final MIME document.
|
|
108
108
|
*/
|
|
109
|
-
parts
|
|
109
|
+
parts: pulumi.Input<pulumi.Input<inputs.GetConfigPartArgs>[]>;
|
|
110
110
|
}
|
package/getConfig.js
CHANGED
|
@@ -23,7 +23,6 @@ const utilities = require("./utilities");
|
|
|
23
23
|
* <!-- This schema was originally generated with tfplugindocs, then modified manually to ensure `part` block list is noted as Required -->
|
|
24
24
|
*/
|
|
25
25
|
function getConfig(args, opts) {
|
|
26
|
-
args = args || {};
|
|
27
26
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
28
27
|
return pulumi.runtime.invoke("cloudinit:index/getConfig:getConfig", {
|
|
29
28
|
"base64Encode": args.base64Encode,
|
|
@@ -51,7 +50,6 @@ exports.getConfig = getConfig;
|
|
|
51
50
|
* <!-- This schema was originally generated with tfplugindocs, then modified manually to ensure `part` block list is noted as Required -->
|
|
52
51
|
*/
|
|
53
52
|
function getConfigOutput(args, opts) {
|
|
54
|
-
args = args || {};
|
|
55
53
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
56
54
|
return pulumi.runtime.invokeOutput("cloudinit:index/getConfig:getConfig", {
|
|
57
55
|
"base64Encode": args.base64Encode,
|
package/getConfig.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getConfig.js","sourceRoot":"","sources":["../getConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"getConfig.js","sourceRoot":"","sources":["../getConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8BAQC;AAqDD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qCAAqC,EAAE;QACtE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/cloudinit",
|
|
3
|
-
"version": "1.5.0-alpha.
|
|
3
|
+
"version": "1.5.0-alpha.1770156322",
|
|
4
4
|
"description": "A Pulumi package for creating and managing cloudinit cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "cloudinit",
|
|
26
|
-
"version": "1.5.0-alpha.
|
|
26
|
+
"version": "1.5.0-alpha.1770156322"
|
|
27
27
|
}
|
|
28
28
|
}
|