pulumi-cloudinit 1.4.4__py3-none-any.whl → 1.4.5__py3-none-any.whl
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.
Potentially problematic release.
This version of pulumi-cloudinit might be problematic. Click here for more details.
- pulumi_cloudinit/_utilities.py +5 -4
- pulumi_cloudinit/config.py +5 -5
- pulumi_cloudinit/get_config.py +4 -4
- pulumi_cloudinit/pulumi-plugin.json +1 -1
- {pulumi_cloudinit-1.4.4.dist-info → pulumi_cloudinit-1.4.5.dist-info}/METADATA +1 -1
- pulumi_cloudinit-1.4.5.dist-info/RECORD +13 -0
- {pulumi_cloudinit-1.4.4.dist-info → pulumi_cloudinit-1.4.5.dist-info}/WHEEL +1 -1
- pulumi_cloudinit-1.4.4.dist-info/RECORD +0 -13
- {pulumi_cloudinit-1.4.4.dist-info → pulumi_cloudinit-1.4.5.dist-info}/top_level.txt +0 -0
pulumi_cloudinit/_utilities.py
CHANGED
|
@@ -13,10 +13,12 @@ import os
|
|
|
13
13
|
import sys
|
|
14
14
|
import typing
|
|
15
15
|
import warnings
|
|
16
|
+
import base64
|
|
16
17
|
|
|
17
18
|
import pulumi
|
|
18
19
|
import pulumi.runtime
|
|
19
20
|
from pulumi.runtime.sync_await import _sync_await
|
|
21
|
+
from pulumi.runtime.proto import resource_pb2
|
|
20
22
|
|
|
21
23
|
from semver import VersionInfo as SemverVersion
|
|
22
24
|
from parver import Version as PEP440Version
|
|
@@ -100,10 +102,6 @@ def _get_semver_version():
|
|
|
100
102
|
_version = _get_semver_version()
|
|
101
103
|
_version_str = str(_version)
|
|
102
104
|
|
|
103
|
-
|
|
104
|
-
def get_version():
|
|
105
|
-
return _version_str
|
|
106
|
-
|
|
107
105
|
def get_resource_opts_defaults() -> pulumi.ResourceOptions:
|
|
108
106
|
return pulumi.ResourceOptions(
|
|
109
107
|
version=get_version(),
|
|
@@ -324,3 +322,6 @@ def deprecated(message: str) -> typing.Callable[[C], C]:
|
|
|
324
322
|
|
|
325
323
|
def get_plugin_download_url():
|
|
326
324
|
return None
|
|
325
|
+
|
|
326
|
+
def get_version():
|
|
327
|
+
return _version_str
|
pulumi_cloudinit/config.py
CHANGED
|
@@ -181,7 +181,7 @@ class Config(pulumi.CustomResource):
|
|
|
181
181
|
base64_encode: Optional[pulumi.Input[bool]] = None,
|
|
182
182
|
boundary: Optional[pulumi.Input[str]] = None,
|
|
183
183
|
gzip: Optional[pulumi.Input[bool]] = None,
|
|
184
|
-
parts: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
184
|
+
parts: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ConfigPartArgs', 'ConfigPartArgsDict']]]]] = None,
|
|
185
185
|
__props__=None):
|
|
186
186
|
"""
|
|
187
187
|
> **This resource is deprecated** Please use the Config
|
|
@@ -208,7 +208,7 @@ class Config(pulumi.CustomResource):
|
|
|
208
208
|
:param pulumi.Input[bool] base64_encode: Specify whether or not to base64 encode the `rendered` output. Defaults to `true`, and cannot be disabled if gzip is `true`.
|
|
209
209
|
:param pulumi.Input[str] boundary: Specify the Writer's default boundary separator. Defaults to `MIMEBOUNDARY`.
|
|
210
210
|
:param pulumi.Input[bool] gzip: Specify whether or not to gzip the `rendered` output. Defaults to `true`.
|
|
211
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
211
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ConfigPartArgs', 'ConfigPartArgsDict']]]] parts: 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.
|
|
212
212
|
"""
|
|
213
213
|
...
|
|
214
214
|
@overload
|
|
@@ -254,7 +254,7 @@ class Config(pulumi.CustomResource):
|
|
|
254
254
|
base64_encode: Optional[pulumi.Input[bool]] = None,
|
|
255
255
|
boundary: Optional[pulumi.Input[str]] = None,
|
|
256
256
|
gzip: Optional[pulumi.Input[bool]] = None,
|
|
257
|
-
parts: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
257
|
+
parts: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ConfigPartArgs', 'ConfigPartArgsDict']]]]] = None,
|
|
258
258
|
__props__=None):
|
|
259
259
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
260
260
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -282,7 +282,7 @@ class Config(pulumi.CustomResource):
|
|
|
282
282
|
base64_encode: Optional[pulumi.Input[bool]] = None,
|
|
283
283
|
boundary: Optional[pulumi.Input[str]] = None,
|
|
284
284
|
gzip: Optional[pulumi.Input[bool]] = None,
|
|
285
|
-
parts: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
285
|
+
parts: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ConfigPartArgs', 'ConfigPartArgsDict']]]]] = None,
|
|
286
286
|
rendered: Optional[pulumi.Input[str]] = None) -> 'Config':
|
|
287
287
|
"""
|
|
288
288
|
Get an existing Config resource's state with the given name, id, and optional extra
|
|
@@ -294,7 +294,7 @@ class Config(pulumi.CustomResource):
|
|
|
294
294
|
:param pulumi.Input[bool] base64_encode: Specify whether or not to base64 encode the `rendered` output. Defaults to `true`, and cannot be disabled if gzip is `true`.
|
|
295
295
|
:param pulumi.Input[str] boundary: Specify the Writer's default boundary separator. Defaults to `MIMEBOUNDARY`.
|
|
296
296
|
:param pulumi.Input[bool] gzip: Specify whether or not to gzip the `rendered` output. Defaults to `true`.
|
|
297
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
297
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ConfigPartArgs', 'ConfigPartArgsDict']]]] parts: 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.
|
|
298
298
|
:param pulumi.Input[str] rendered: The final rendered multi-part cloud-init config.
|
|
299
299
|
"""
|
|
300
300
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
pulumi_cloudinit/get_config.py
CHANGED
|
@@ -109,7 +109,7 @@ class AwaitableGetConfigResult(GetConfigResult):
|
|
|
109
109
|
def get_config(base64_encode: Optional[bool] = None,
|
|
110
110
|
boundary: Optional[str] = None,
|
|
111
111
|
gzip: Optional[bool] = None,
|
|
112
|
-
parts: Optional[Sequence[
|
|
112
|
+
parts: Optional[Sequence[Union['GetConfigPartArgs', 'GetConfigPartArgsDict']]] = None,
|
|
113
113
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigResult:
|
|
114
114
|
"""
|
|
115
115
|
Renders a [multi-part MIME configuration](https://cloudinit.readthedocs.io/en/latest/explanation/format.html#mime-multi-part-archive) for use with [cloud-init](https://cloudinit.readthedocs.io/en/latest/).
|
|
@@ -132,7 +132,7 @@ def get_config(base64_encode: Optional[bool] = None,
|
|
|
132
132
|
:param bool base64_encode: Specify whether or not to base64 encode the `rendered` output. Defaults to `true`, and cannot be disabled if gzip is `true`.
|
|
133
133
|
:param str boundary: Specify the Writer's default boundary separator. Defaults to `MIMEBOUNDARY`.
|
|
134
134
|
:param bool gzip: Specify whether or not to gzip the `rendered` output. Defaults to `true`.
|
|
135
|
-
:param Sequence[
|
|
135
|
+
:param Sequence[Union['GetConfigPartArgs', 'GetConfigPartArgsDict']] parts: 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.
|
|
136
136
|
"""
|
|
137
137
|
__args__ = dict()
|
|
138
138
|
__args__['base64Encode'] = base64_encode
|
|
@@ -155,7 +155,7 @@ def get_config(base64_encode: Optional[bool] = None,
|
|
|
155
155
|
def get_config_output(base64_encode: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
156
156
|
boundary: Optional[pulumi.Input[Optional[str]]] = None,
|
|
157
157
|
gzip: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
158
|
-
parts: Optional[pulumi.Input[Optional[Sequence[
|
|
158
|
+
parts: Optional[pulumi.Input[Optional[Sequence[Union['GetConfigPartArgs', 'GetConfigPartArgsDict']]]]] = None,
|
|
159
159
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigResult]:
|
|
160
160
|
"""
|
|
161
161
|
Renders a [multi-part MIME configuration](https://cloudinit.readthedocs.io/en/latest/explanation/format.html#mime-multi-part-archive) for use with [cloud-init](https://cloudinit.readthedocs.io/en/latest/).
|
|
@@ -178,6 +178,6 @@ def get_config_output(base64_encode: Optional[pulumi.Input[Optional[bool]]] = No
|
|
|
178
178
|
:param bool base64_encode: Specify whether or not to base64 encode the `rendered` output. Defaults to `true`, and cannot be disabled if gzip is `true`.
|
|
179
179
|
:param str boundary: Specify the Writer's default boundary separator. Defaults to `MIMEBOUNDARY`.
|
|
180
180
|
:param bool gzip: Specify whether or not to gzip the `rendered` output. Defaults to `true`.
|
|
181
|
-
:param Sequence[
|
|
181
|
+
:param Sequence[Union['GetConfigPartArgs', 'GetConfigPartArgsDict']] parts: 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.
|
|
182
182
|
"""
|
|
183
183
|
...
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
pulumi_cloudinit/__init__.py,sha256=ZUoQnlEisLLi4mXn2olbTSvLgktNDKJO5WAmhtnkF2o,742
|
|
2
|
+
pulumi_cloudinit/_inputs.py,sha256=VPTZqOyZX1gpF-K1YO_92rG8BhGacN1wn715BIdCfWc,5664
|
|
3
|
+
pulumi_cloudinit/_utilities.py,sha256=aNnnaO6zRha3FhNHonuabR4fJLWGXANtK5dlh1Mz95k,10506
|
|
4
|
+
pulumi_cloudinit/config.py,sha256=c1jsU8p9MLCNo-P1SDR6JgD8WnySwMWh_OGjLcj81fM,16944
|
|
5
|
+
pulumi_cloudinit/get_config.py,sha256=VzoAPF8NSbeow_JvKY-QEONUDeowNqzfEZ9boCOPZjw,8531
|
|
6
|
+
pulumi_cloudinit/outputs.py,sha256=dJjV0MZt_2WQ9JzW2cK717aGR9tUtLXXJ04ZYH3MX9k,5164
|
|
7
|
+
pulumi_cloudinit/provider.py,sha256=kxpTmaKzB_SnaSlNKTBEAeyoo_sKz4vipRY3G00Js_0,3429
|
|
8
|
+
pulumi_cloudinit/pulumi-plugin.json,sha256=2NTLJpGAV2F98Z7JBr25j1JQao_jpMi6U4ZORjhG5mc,68
|
|
9
|
+
pulumi_cloudinit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
|
+
pulumi_cloudinit-1.4.5.dist-info/METADATA,sha256=hO4Rzh8Ymq93CmS3jdxoa_RSQT8NiVN6It-PVv0uf38,2292
|
|
11
|
+
pulumi_cloudinit-1.4.5.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
|
|
12
|
+
pulumi_cloudinit-1.4.5.dist-info/top_level.txt,sha256=r4QYaTIAq7VhHfjPgOmRvtkrHwZffd3a78VTmuaWcg8,17
|
|
13
|
+
pulumi_cloudinit-1.4.5.dist-info/RECORD,,
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
pulumi_cloudinit/__init__.py,sha256=ZUoQnlEisLLi4mXn2olbTSvLgktNDKJO5WAmhtnkF2o,742
|
|
2
|
-
pulumi_cloudinit/_inputs.py,sha256=VPTZqOyZX1gpF-K1YO_92rG8BhGacN1wn715BIdCfWc,5664
|
|
3
|
-
pulumi_cloudinit/_utilities.py,sha256=zozFZPZGnJJ7MjOYHQPdH-l-EHcRcX5lh5TVi22oTCw,10446
|
|
4
|
-
pulumi_cloudinit/config.py,sha256=iLwjKQpi_Ck1eNnY8ub09hmbo4pwW3r4k5OgQDYquK8,16889
|
|
5
|
-
pulumi_cloudinit/get_config.py,sha256=LVR_IHBf00GDUD_6EBVXZHbWv27PBg9g8uu08sYHsuY,8475
|
|
6
|
-
pulumi_cloudinit/outputs.py,sha256=dJjV0MZt_2WQ9JzW2cK717aGR9tUtLXXJ04ZYH3MX9k,5164
|
|
7
|
-
pulumi_cloudinit/provider.py,sha256=kxpTmaKzB_SnaSlNKTBEAeyoo_sKz4vipRY3G00Js_0,3429
|
|
8
|
-
pulumi_cloudinit/pulumi-plugin.json,sha256=xdytDbUzrb79u-kIrJBMfKqkS5QC0ZaiXdZAEBpTAcE,68
|
|
9
|
-
pulumi_cloudinit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
|
-
pulumi_cloudinit-1.4.4.dist-info/METADATA,sha256=wZ_s_uem-po8UpcwNvChW0cmp4-T3vC8UirjVxi4IAc,2292
|
|
11
|
-
pulumi_cloudinit-1.4.4.dist-info/WHEEL,sha256=cpQTJ5IWu9CdaPViMhC9YzF8gZuS5-vlfoFihTBC86A,91
|
|
12
|
-
pulumi_cloudinit-1.4.4.dist-info/top_level.txt,sha256=r4QYaTIAq7VhHfjPgOmRvtkrHwZffd3a78VTmuaWcg8,17
|
|
13
|
-
pulumi_cloudinit-1.4.4.dist-info/RECORD,,
|
|
File without changes
|