cloud-foundry 0.0.3__tar.gz → 0.0.4__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.
- {cloud_foundry-0.0.3 → cloud_foundry-0.0.4}/PKG-INFO +1 -1
- {cloud_foundry-0.0.3 → cloud_foundry-0.0.4}/cloud_foundry/__init__.py +1 -0
- {cloud_foundry-0.0.3 → cloud_foundry-0.0.4}/cloud_foundry/pulumi/python_function.py +4 -4
- {cloud_foundry-0.0.3 → cloud_foundry-0.0.4}/pyproject.toml +1 -1
- {cloud_foundry-0.0.3 → cloud_foundry-0.0.4}/.gitignore +0 -0
- {cloud_foundry-0.0.3 → cloud_foundry-0.0.4}/LICENSE +0 -0
- {cloud_foundry-0.0.3 → cloud_foundry-0.0.4}/cloud_foundry/archive_builder.py +0 -0
- {cloud_foundry-0.0.3 → cloud_foundry-0.0.4}/cloud_foundry/cloud_foundry.py +0 -0
- {cloud_foundry-0.0.3 → cloud_foundry-0.0.4}/cloud_foundry/pulumi/log_group.pv +0 -0
- {cloud_foundry-0.0.3 → cloud_foundry-0.0.4}/cloud_foundry/pulumi/rest_api.py +0 -0
- {cloud_foundry-0.0.3 → cloud_foundry-0.0.4}/cloud_foundry/python_archive_builder.py +0 -0
- {cloud_foundry-0.0.3 → cloud_foundry-0.0.4}/cloud_foundry/utils/hash_comparator.py +0 -0
- {cloud_foundry-0.0.3 → cloud_foundry-0.0.4}/cloud_foundry/utils/logger.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: cloud-foundry
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4
|
|
4
4
|
Summary: cloud-foundry is a curated set of cloud components that can be used to assemble cloud based applications.
|
|
5
5
|
Project-URL: Documentation, https://github.com/DanRepik/cloud-foundry
|
|
6
6
|
Project-URL: Source, https://github.com/DanRepik/cloud-foundry
|
|
@@ -18,14 +18,14 @@ class PythonFunction(pulumi.ComponentResource):
|
|
|
18
18
|
*,
|
|
19
19
|
hash: str,
|
|
20
20
|
archive_location: str,
|
|
21
|
-
handler: str,
|
|
21
|
+
handler: str = None,
|
|
22
22
|
timeout: int = None,
|
|
23
23
|
memory_size: int = None,
|
|
24
24
|
environment: dict[str, str]=None,
|
|
25
25
|
actions: list[str]=None,
|
|
26
26
|
opts=None
|
|
27
27
|
):
|
|
28
|
-
super().__init__("
|
|
28
|
+
super().__init__("cloud_forge:lambda:PythonFunction", name, {}, opts)
|
|
29
29
|
self.name = name
|
|
30
30
|
self.handler = handler
|
|
31
31
|
self.environment = environment or {}
|
|
@@ -90,7 +90,7 @@ class PythonFunction(pulumi.ComponentResource):
|
|
|
90
90
|
role=execution_role.arn,
|
|
91
91
|
memory_size=self.memory_size,
|
|
92
92
|
timeout=self.timeout,
|
|
93
|
-
handler=self.handler,
|
|
93
|
+
handler=self.handler or "app.handler",
|
|
94
94
|
source_code_hash=hash,
|
|
95
95
|
runtime=aws.lambda_.Runtime.PYTHON3D9,
|
|
96
96
|
environment=aws.lambda_.FunctionEnvironmentArgs(variables=self.environment),
|
|
@@ -99,7 +99,7 @@ class PythonFunction(pulumi.ComponentResource):
|
|
|
99
99
|
|
|
100
100
|
def python_function(
|
|
101
101
|
name: str, *,
|
|
102
|
-
handler: str,
|
|
102
|
+
handler: str = None,
|
|
103
103
|
memory_size: int = None,
|
|
104
104
|
timeout: int = None,
|
|
105
105
|
sources: dict[str, str] = None,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|