pulumi-external 0.0.1__tar.gz → 0.0.2a1695237080__tar.gz
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-external might be problematic. Click here for more details.
- {pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/PKG-INFO +4 -1
- {pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/README.md +3 -0
- {pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/pulumi_external/get_external.py +6 -6
- {pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/pulumi_external/provider.py +10 -1
- {pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/pulumi_external.egg-info/PKG-INFO +4 -1
- {pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/setup.py +1 -24
- {pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/pulumi_external/__init__.py +0 -0
- {pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/pulumi_external/_utilities.py +0 -0
- {pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/pulumi_external/pulumi-plugin.json +0 -0
- {pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/pulumi_external/py.typed +0 -0
- {pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/pulumi_external.egg-info/SOURCES.txt +0 -0
- {pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/pulumi_external.egg-info/dependency_links.txt +0 -0
- {pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/pulumi_external.egg-info/not-zip-safe +0 -0
- {pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/pulumi_external.egg-info/requires.txt +0 -0
- {pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/pulumi_external.egg-info/top_level.txt +0 -0
- {pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pulumi_external
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.2a1695237080
|
|
4
4
|
Summary: A Pulumi package for creating and managing External cloud resources.
|
|
5
5
|
Home-page: https://www.pulumi.com/
|
|
6
6
|
License: Apache-2.0
|
|
@@ -19,6 +19,9 @@ Description-Content-Type: text/markdown
|
|
|
19
19
|
|
|
20
20
|
# External Resource Provider
|
|
21
21
|
|
|
22
|
+
This provider is mainly used for ease of converting terraform programs to Pulumi.
|
|
23
|
+
When using standard Pulumi programs, you would not need to use this provider.
|
|
24
|
+
|
|
22
25
|
The External resource provider for Pulumi lets you use External resources in your cloud programs.
|
|
23
26
|
To use this package, please [install the Pulumi CLI first](https://www.pulumi.com/docs/install/).
|
|
24
27
|
|
|
@@ -7,6 +7,9 @@
|
|
|
7
7
|
|
|
8
8
|
# External Resource Provider
|
|
9
9
|
|
|
10
|
+
This provider is mainly used for ease of converting terraform programs to Pulumi.
|
|
11
|
+
When using standard Pulumi programs, you would not need to use this provider.
|
|
12
|
+
|
|
10
13
|
The External resource provider for Pulumi lets you use External resources in your cloud programs.
|
|
11
14
|
To use this package, please [install the Pulumi CLI first](https://www.pulumi.com/docs/install/).
|
|
12
15
|
|
|
@@ -6,7 +6,7 @@ import copy
|
|
|
6
6
|
import warnings
|
|
7
7
|
import pulumi
|
|
8
8
|
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
9
|
+
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
11
|
|
|
12
12
|
__all__ = [
|
|
@@ -107,11 +107,11 @@ def get_external(programs: Optional[Sequence[str]] = None,
|
|
|
107
107
|
__ret__ = pulumi.runtime.invoke('external:index/getExternal:getExternal', __args__, opts=opts, typ=GetExternalResult).value
|
|
108
108
|
|
|
109
109
|
return AwaitableGetExternalResult(
|
|
110
|
-
id=__ret__
|
|
111
|
-
programs=__ret__
|
|
112
|
-
query=__ret__
|
|
113
|
-
result=__ret__
|
|
114
|
-
working_dir=__ret__
|
|
110
|
+
id=pulumi.get(__ret__, 'id'),
|
|
111
|
+
programs=pulumi.get(__ret__, 'programs'),
|
|
112
|
+
query=pulumi.get(__ret__, 'query'),
|
|
113
|
+
result=pulumi.get(__ret__, 'result'),
|
|
114
|
+
working_dir=pulumi.get(__ret__, 'working_dir'))
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
@_utilities.lift_output_func(get_external)
|
|
@@ -6,7 +6,7 @@ import copy
|
|
|
6
6
|
import warnings
|
|
7
7
|
import pulumi
|
|
8
8
|
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
9
|
+
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
11
|
|
|
12
12
|
__all__ = ['ProviderArgs', 'Provider']
|
|
@@ -18,6 +18,11 @@ class ProviderArgs:
|
|
|
18
18
|
The set of arguments for constructing a Provider resource.
|
|
19
19
|
"""
|
|
20
20
|
pass
|
|
21
|
+
@staticmethod
|
|
22
|
+
def _configure(
|
|
23
|
+
_setter: Callable[[Any, Any], None],
|
|
24
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
25
|
+
pass
|
|
21
26
|
|
|
22
27
|
|
|
23
28
|
class Provider(pulumi.ProviderResource):
|
|
@@ -57,6 +62,10 @@ class Provider(pulumi.ProviderResource):
|
|
|
57
62
|
if resource_args is not None:
|
|
58
63
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
59
64
|
else:
|
|
65
|
+
kwargs = kwargs or {}
|
|
66
|
+
def _setter(key, value):
|
|
67
|
+
kwargs[key] = value
|
|
68
|
+
ProviderArgs._configure(_setter, **kwargs)
|
|
60
69
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
61
70
|
|
|
62
71
|
def _internal_init(__self__,
|
{pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/pulumi_external.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pulumi-external
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.2a1695237080
|
|
4
4
|
Summary: A Pulumi package for creating and managing External cloud resources.
|
|
5
5
|
Home-page: https://www.pulumi.com/
|
|
6
6
|
License: Apache-2.0
|
|
@@ -19,6 +19,9 @@ Description-Content-Type: text/markdown
|
|
|
19
19
|
|
|
20
20
|
# External Resource Provider
|
|
21
21
|
|
|
22
|
+
This provider is mainly used for ease of converting terraform programs to Pulumi.
|
|
23
|
+
When using standard Pulumi programs, you would not need to use this provider.
|
|
24
|
+
|
|
22
25
|
The External resource provider for Pulumi lets you use External resources in your cloud programs.
|
|
23
26
|
To use this package, please [install the Pulumi CLI first](https://www.pulumi.com/docs/install/).
|
|
24
27
|
|
|
@@ -8,27 +8,7 @@ from setuptools.command.install import install
|
|
|
8
8
|
from subprocess import check_call
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
VERSION = "0.0.
|
|
12
|
-
PLUGIN_VERSION = "0.0.1"
|
|
13
|
-
|
|
14
|
-
class InstallPluginCommand(install):
|
|
15
|
-
def run(self):
|
|
16
|
-
install.run(self)
|
|
17
|
-
try:
|
|
18
|
-
check_call(['pulumi', 'plugin', 'install', 'resource', 'external', PLUGIN_VERSION])
|
|
19
|
-
except OSError as error:
|
|
20
|
-
if error.errno == errno.ENOENT:
|
|
21
|
-
print(f"""
|
|
22
|
-
There was an error installing the external resource provider plugin.
|
|
23
|
-
It looks like `pulumi` is not installed on your system.
|
|
24
|
-
Please visit https://pulumi.com/ to install the Pulumi CLI.
|
|
25
|
-
You may try manually installing the plugin by running
|
|
26
|
-
`pulumi plugin install resource external {PLUGIN_VERSION}`
|
|
27
|
-
""")
|
|
28
|
-
else:
|
|
29
|
-
raise
|
|
30
|
-
|
|
31
|
-
|
|
11
|
+
VERSION = "0.0.2a1695237080"
|
|
32
12
|
def readme():
|
|
33
13
|
try:
|
|
34
14
|
with open('README.md', encoding='utf-8') as f:
|
|
@@ -43,9 +23,6 @@ setup(name='pulumi_external',
|
|
|
43
23
|
description="A Pulumi package for creating and managing External cloud resources.",
|
|
44
24
|
long_description=readme(),
|
|
45
25
|
long_description_content_type='text/markdown',
|
|
46
|
-
cmdclass={
|
|
47
|
-
'install': InstallPluginCommand,
|
|
48
|
-
},
|
|
49
26
|
keywords='pulumi category/cloud',
|
|
50
27
|
url='https://www.pulumi.com/',
|
|
51
28
|
project_urls={
|
|
File without changes
|
|
File without changes
|
{pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/pulumi_external/pulumi-plugin.json
RENAMED
|
File without changes
|
|
File without changes
|
{pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/pulumi_external.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/pulumi_external.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/pulumi_external.egg-info/requires.txt
RENAMED
|
File without changes
|
{pulumi_external-0.0.1 → pulumi_external-0.0.2a1695237080}/pulumi_external.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|