pulumi-cloudinit 1.5.0a1728364888__py3-none-any.whl → 1.5.0a1729056112__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/_inputs.py +51 -0
- pulumi_cloudinit/_utilities.py +1 -1
- pulumi_cloudinit/config.py +5 -0
- pulumi_cloudinit/get_config.py +19 -4
- pulumi_cloudinit/outputs.py +5 -0
- pulumi_cloudinit/provider.py +5 -0
- pulumi_cloudinit/pulumi-plugin.json +1 -1
- {pulumi_cloudinit-1.5.0a1728364888.dist-info → pulumi_cloudinit-1.5.0a1729056112.dist-info}/METADATA +3 -2
- pulumi_cloudinit-1.5.0a1729056112.dist-info/RECORD +13 -0
- pulumi_cloudinit-1.5.0a1728364888.dist-info/RECORD +0 -13
- {pulumi_cloudinit-1.5.0a1728364888.dist-info → pulumi_cloudinit-1.5.0a1729056112.dist-info}/WHEEL +0 -0
- {pulumi_cloudinit-1.5.0a1728364888.dist-info → pulumi_cloudinit-1.5.0a1729056112.dist-info}/top_level.txt +0 -0
pulumi_cloudinit/_inputs.py
CHANGED
|
@@ -4,16 +4,46 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
13
18
|
'ConfigPartArgs',
|
|
19
|
+
'ConfigPartArgsDict',
|
|
14
20
|
'GetConfigPartArgs',
|
|
21
|
+
'GetConfigPartArgsDict',
|
|
15
22
|
]
|
|
16
23
|
|
|
24
|
+
MYPY = False
|
|
25
|
+
|
|
26
|
+
if not MYPY:
|
|
27
|
+
class ConfigPartArgsDict(TypedDict):
|
|
28
|
+
content: pulumi.Input[str]
|
|
29
|
+
"""
|
|
30
|
+
Body content for the part.
|
|
31
|
+
"""
|
|
32
|
+
content_type: NotRequired[pulumi.Input[str]]
|
|
33
|
+
"""
|
|
34
|
+
A MIME-style content type to report in the header for the part. Defaults to `text/plain`
|
|
35
|
+
"""
|
|
36
|
+
filename: NotRequired[pulumi.Input[str]]
|
|
37
|
+
"""
|
|
38
|
+
A filename to report in the header for the part.
|
|
39
|
+
"""
|
|
40
|
+
merge_type: NotRequired[pulumi.Input[str]]
|
|
41
|
+
"""
|
|
42
|
+
A value for the `X-Merge-Type` header of the part, to control [cloud-init merging behavior](https://cloudinit.readthedocs.io/en/latest/reference/merging.html).
|
|
43
|
+
"""
|
|
44
|
+
elif False:
|
|
45
|
+
ConfigPartArgsDict: TypeAlias = Mapping[str, Any]
|
|
46
|
+
|
|
17
47
|
@pulumi.input_type
|
|
18
48
|
class ConfigPartArgs:
|
|
19
49
|
def __init__(__self__, *,
|
|
@@ -84,6 +114,27 @@ class ConfigPartArgs:
|
|
|
84
114
|
pulumi.set(self, "merge_type", value)
|
|
85
115
|
|
|
86
116
|
|
|
117
|
+
if not MYPY:
|
|
118
|
+
class GetConfigPartArgsDict(TypedDict):
|
|
119
|
+
content: str
|
|
120
|
+
"""
|
|
121
|
+
Body content for the part.
|
|
122
|
+
"""
|
|
123
|
+
content_type: NotRequired[str]
|
|
124
|
+
"""
|
|
125
|
+
A MIME-style content type to report in the header for the part. Defaults to `text/plain`
|
|
126
|
+
"""
|
|
127
|
+
filename: NotRequired[str]
|
|
128
|
+
"""
|
|
129
|
+
A filename to report in the header for the part.
|
|
130
|
+
"""
|
|
131
|
+
merge_type: NotRequired[str]
|
|
132
|
+
"""
|
|
133
|
+
A value for the `X-Merge-Type` header of the part, to control [cloud-init merging behavior](https://cloudinit.readthedocs.io/en/latest/reference/merging.html).
|
|
134
|
+
"""
|
|
135
|
+
elif False:
|
|
136
|
+
GetConfigPartArgsDict: TypeAlias = Mapping[str, Any]
|
|
137
|
+
|
|
87
138
|
@pulumi.input_type
|
|
88
139
|
class GetConfigPartArgs:
|
|
89
140
|
def __init__(__self__, *,
|
pulumi_cloudinit/_utilities.py
CHANGED
|
@@ -264,7 +264,7 @@ def call_plain(
|
|
|
264
264
|
output = pulumi.runtime.call(tok, props, res, typ)
|
|
265
265
|
|
|
266
266
|
# Ingoring deps silently. They are typically non-empty, r.f() calls include r as a dependency.
|
|
267
|
-
result, known, secret, _ = _sync_await(asyncio.
|
|
267
|
+
result, known, secret, _ = _sync_await(asyncio.create_task(_await_output(output)))
|
|
268
268
|
|
|
269
269
|
problem = None
|
|
270
270
|
if not known:
|
pulumi_cloudinit/config.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
pulumi_cloudinit/get_config.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -149,9 +154,6 @@ def get_config(base64_encode: Optional[bool] = None,
|
|
|
149
154
|
id=pulumi.get(__ret__, 'id'),
|
|
150
155
|
parts=pulumi.get(__ret__, 'parts'),
|
|
151
156
|
rendered=pulumi.get(__ret__, 'rendered'))
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
@_utilities.lift_output_func(get_config)
|
|
155
157
|
def get_config_output(base64_encode: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
156
158
|
boundary: Optional[pulumi.Input[Optional[str]]] = None,
|
|
157
159
|
gzip: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
@@ -180,4 +182,17 @@ def get_config_output(base64_encode: Optional[pulumi.Input[Optional[bool]]] = No
|
|
|
180
182
|
:param bool gzip: Specify whether or not to gzip the `rendered` output. Defaults to `true`.
|
|
181
183
|
: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
184
|
"""
|
|
183
|
-
|
|
185
|
+
__args__ = dict()
|
|
186
|
+
__args__['base64Encode'] = base64_encode
|
|
187
|
+
__args__['boundary'] = boundary
|
|
188
|
+
__args__['gzip'] = gzip
|
|
189
|
+
__args__['parts'] = parts
|
|
190
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
191
|
+
__ret__ = pulumi.runtime.invoke_output('cloudinit:index/getConfig:getConfig', __args__, opts=opts, typ=GetConfigResult)
|
|
192
|
+
return __ret__.apply(lambda __response__: GetConfigResult(
|
|
193
|
+
base64_encode=pulumi.get(__response__, 'base64_encode'),
|
|
194
|
+
boundary=pulumi.get(__response__, 'boundary'),
|
|
195
|
+
gzip=pulumi.get(__response__, 'gzip'),
|
|
196
|
+
id=pulumi.get(__response__, 'id'),
|
|
197
|
+
parts=pulumi.get(__response__, 'parts'),
|
|
198
|
+
rendered=pulumi.get(__response__, 'rendered')))
|
pulumi_cloudinit/outputs.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
pulumi_cloudinit/provider.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['ProviderArgs', 'Provider']
|
{pulumi_cloudinit-1.5.0a1728364888.dist-info → pulumi_cloudinit-1.5.0a1729056112.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pulumi_cloudinit
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.0a1729056112
|
|
4
4
|
Summary: A Pulumi package for creating and managing cloudinit cloud resources.
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Project-URL: Homepage, https://pulumi.io
|
|
@@ -9,8 +9,9 @@ Keywords: pulumi,cloudinit
|
|
|
9
9
|
Requires-Python: >=3.8
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
Requires-Dist: parver >=0.2.1
|
|
12
|
-
Requires-Dist: pulumi <4.0.0,>=3.
|
|
12
|
+
Requires-Dist: pulumi <4.0.0,>=3.136.0
|
|
13
13
|
Requires-Dist: semver >=2.8.1
|
|
14
|
+
Requires-Dist: typing-extensions >=4.11 ; python_version < "3.11"
|
|
14
15
|
|
|
15
16
|
[](https://github.com/pulumi/pulumi-cloudinit/actions)
|
|
16
17
|
[](https://slack.pulumi.com)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
pulumi_cloudinit/__init__.py,sha256=ZUoQnlEisLLi4mXn2olbTSvLgktNDKJO5WAmhtnkF2o,742
|
|
2
|
+
pulumi_cloudinit/_inputs.py,sha256=1V3BHomqWoqrNBvw-RogEZ44niz_ul0Y-x80AtJCn-A,7381
|
|
3
|
+
pulumi_cloudinit/_utilities.py,sha256=-gxwnD6__OYdSf8jJgJijNuu-UHUwi5pJ1H7-eIHDhg,10504
|
|
4
|
+
pulumi_cloudinit/config.py,sha256=oVBo2DIEsohXTkG-GlJEKrU5FGincIbRE0gQTO198M8,17118
|
|
5
|
+
pulumi_cloudinit/get_config.py,sha256=8yUPW9q3nk_Zt-bx_6jSJv_1MM_WDcQfAK28nOuOXDc,9400
|
|
6
|
+
pulumi_cloudinit/outputs.py,sha256=9Tnb4Ubfh9VdKXhjVOHpg_LWcCN4iV6pXLqT9VHALFk,5338
|
|
7
|
+
pulumi_cloudinit/provider.py,sha256=pKzC7N6bMV_Rxnmg7IHU3WcHOy5Z9k3g7iF_wmIq73E,3603
|
|
8
|
+
pulumi_cloudinit/pulumi-plugin.json,sha256=hH9Tff953jDQu-i4NTt0qb_lFezmZvg5dNAolHvgHT0,85
|
|
9
|
+
pulumi_cloudinit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
|
+
pulumi_cloudinit-1.5.0a1729056112.dist-info/METADATA,sha256=0dxVO7IQ5dNLfKob7BQ13LJ5kmaOEomlZt5uhf0EV-Q,2371
|
|
11
|
+
pulumi_cloudinit-1.5.0a1729056112.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
12
|
+
pulumi_cloudinit-1.5.0a1729056112.dist-info/top_level.txt,sha256=r4QYaTIAq7VhHfjPgOmRvtkrHwZffd3a78VTmuaWcg8,17
|
|
13
|
+
pulumi_cloudinit-1.5.0a1729056112.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=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=7rjp_gVCYTIXoocyLk-uh14hwWsklMEwf5h6-qr34VU,85
|
|
9
|
-
pulumi_cloudinit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
|
-
pulumi_cloudinit-1.5.0a1728364888.dist-info/METADATA,sha256=ccwZhoUS_wNF_EPIZ2mLjSNUMMtpyIiXxrSd4bKmdpA,2303
|
|
11
|
-
pulumi_cloudinit-1.5.0a1728364888.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
12
|
-
pulumi_cloudinit-1.5.0a1728364888.dist-info/top_level.txt,sha256=r4QYaTIAq7VhHfjPgOmRvtkrHwZffd3a78VTmuaWcg8,17
|
|
13
|
-
pulumi_cloudinit-1.5.0a1728364888.dist-info/RECORD,,
|
{pulumi_cloudinit-1.5.0a1728364888.dist-info → pulumi_cloudinit-1.5.0a1729056112.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|