clear-skies-aws 2.0.6__tar.gz → 2.0.8__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.
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/CHANGELOG.md +19 -0
- clear_skies_aws-2.0.8/LATEST_CHANGELOG.md +8 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/PKG-INFO +1 -1
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/pyproject.toml +1 -1
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/cursors/port_forwarding/ssm.py +9 -3
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/uv.lock +4 -4
- clear_skies_aws-2.0.6/LATEST_CHANGELOG.md +0 -5
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/.copier-answers.yml +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/.editorconfig +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/.github/workflows/create-version.yaml +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/.github/workflows/docs.yaml +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/.github/workflows/run-tests.yml +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/.github/workflows/tests-matrix.yaml +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/.github/workflows/tests.yaml +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/.gitignore +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/.pre-commit-config.yaml +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/.python-version +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/LICENSE +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/README.md +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/cliff.toml +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/ruff.toml +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/__init__.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/actions/__init__.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/actions/action_aws.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/actions/assume_role.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/actions/ses.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/actions/sns.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/actions/sqs.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/actions/step_function.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/backends/__init__.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/backends/backend.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/backends/dynamo_db_backend.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/backends/dynamo_db_condition_parser.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/backends/dynamo_db_parti_ql_backend.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/backends/sqs_backend.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/configs/__init__.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/contexts/__init__.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/contexts/cli_web_socket_mock.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/contexts/lambda_alb.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/contexts/lambda_api_gateway.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/contexts/lambda_api_gateway_web_socket.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/contexts/lambda_invoke.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/contexts/lambda_sns.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/contexts/lambda_sqs_standard.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/cursors/__init__.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/cursors/iam/__init__.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/cursors/iam/rds_mysql.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/cursors/port_forwarding/__init__.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/di/__init__.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/di/aws_additional_config_auto_import.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/di/inject/__init__.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/di/inject/boto3.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/di/inject/boto3_session.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/di/inject/parameter_store.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/endpoints/__init__.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/endpoints/secrets_manager_rotation.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/endpoints/simple_body_routing.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/input_outputs/__init__.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/input_outputs/cli_web_socket_mock.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/input_outputs/lambda_alb.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/input_outputs/lambda_api_gateway.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/input_outputs/lambda_api_gateway_web_socket.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/input_outputs/lambda_input_output.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/input_outputs/lambda_invoke.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/input_outputs/lambda_sns.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/input_outputs/lambda_sqs_standard.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/mocks/__init__.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/mocks/actions/__init__.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/mocks/actions/ses.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/mocks/actions/sns.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/mocks/actions/sqs.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/mocks/actions/step_function.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/models/__init__.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/models/web_socket_connection_model.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/secrets/__init__.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/secrets/additional_configs/__init__.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/secrets/additional_configs/iam_db_auth.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/secrets/additional_configs/iam_db_auth_with_ssm.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/secrets/additional_configs/mysql_connection_dynamic_producer_via_ssh_cert_bastion.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/secrets/additional_configs/mysql_connection_dynamic_producer_via_ssm_bastion.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/secrets/akeyless_with_ssm_cache.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/secrets/parameter_store.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/secrets/secrets.py +0 -0
- {clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/secrets/secrets_manager.py +0 -0
|
@@ -5,8 +5,25 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.0.8] - 2026-01-12
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- Update clear-skies
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
- Ssm command
|
|
15
|
+
|
|
16
|
+
## [2.0.7] - 2026-01-12
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
- Bump version to v2.0.7 by @github-actions[bot]
|
|
20
|
+
- Update clear-skies
|
|
21
|
+
|
|
8
22
|
## [2.0.6] - 2026-01-12
|
|
9
23
|
|
|
24
|
+
### Changed
|
|
25
|
+
- Bump version to v2.0.6 by @github-actions[bot]
|
|
26
|
+
|
|
10
27
|
### Removed
|
|
11
28
|
- Remove handlers
|
|
12
29
|
|
|
@@ -103,6 +120,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
103
120
|
* @cmancone made their first contribution
|
|
104
121
|
* @ made their first contribution
|
|
105
122
|
* @github-actions[bot] made their first contribution
|
|
123
|
+
[2.0.8]: https://github.com/clearskies-py/aws/compare/v2.0.7..v2.0.8
|
|
124
|
+
[2.0.7]: https://github.com/clearskies-py/aws/compare/v2.0.6..v2.0.7
|
|
106
125
|
[2.0.6]: https://github.com/clearskies-py/aws/compare/v2.0.5..v2.0.6
|
|
107
126
|
[2.0.5]: https://github.com/clearskies-py/aws/compare/v2.0.4..v2.0.5
|
|
108
127
|
[2.0.4]: https://github.com/clearskies-py/aws/compare/v2.0.3..v2.0.4
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: clear-skies-aws
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.8
|
|
4
4
|
Summary: clearskies bindings for working in AWS
|
|
5
5
|
Project-URL: Repository, https://github.com/clearskies-py/clearskies-aws
|
|
6
6
|
Project-URL: Issues, https://github.com/clearskies-py/clearskies-aws/issues
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
name = "clear-skies-aws"
|
|
4
4
|
description = "clearskies bindings for working in AWS"
|
|
5
5
|
license = "MIT"
|
|
6
|
-
version = "2.0.
|
|
6
|
+
version = "2.0.8"
|
|
7
7
|
readme = "./README.md"
|
|
8
8
|
authors = [{name = "tnijboer"}, {name = "Conor Mancone", email = "cmancone@gmail.com"}]
|
|
9
9
|
requires-python = '>=3.11,<4.0'
|
{clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/cursors/port_forwarding/ssm.py
RENAMED
|
@@ -92,6 +92,9 @@ class Ssm(PortForwarder):
|
|
|
92
92
|
if self.local_port == 0:
|
|
93
93
|
self.local_port = self.pick_free_port("127.0.0.1")
|
|
94
94
|
|
|
95
|
+
if self.remote_port is None:
|
|
96
|
+
raise ValueError("remote_port must be set for SSM port forwarding.")
|
|
97
|
+
|
|
95
98
|
if self.is_port_open("127.0.0.1", self.local_port):
|
|
96
99
|
return "127.0.0.1", self.local_port
|
|
97
100
|
|
|
@@ -102,15 +105,17 @@ class Ssm(PortForwarder):
|
|
|
102
105
|
"--target",
|
|
103
106
|
self.instance_id,
|
|
104
107
|
"--document-name",
|
|
105
|
-
"AWS-
|
|
108
|
+
"AWS-StartPortForwardingSessionToRemoteHost",
|
|
106
109
|
"--parameters",
|
|
107
|
-
f"portNumber
|
|
110
|
+
f'{{"host":["{original_host}"],"portNumber":["{self.remote_port}"],"localPortNumber":["{self.local_port}"]}}',
|
|
108
111
|
]
|
|
109
112
|
if self.region:
|
|
110
113
|
ssm_cmd += ["--region", self.region]
|
|
111
114
|
if self.profile:
|
|
112
115
|
ssm_cmd += ["--profile", self.profile]
|
|
113
116
|
|
|
117
|
+
self.logger.debug(f"Starting SSM port forwarding session: {' '.join(ssm_cmd)}")
|
|
118
|
+
|
|
114
119
|
self._proc = self.subprocess.Popen(ssm_cmd, stdout=self.subprocess.PIPE, stderr=self.subprocess.PIPE)
|
|
115
120
|
|
|
116
121
|
start = time.time()
|
|
@@ -123,7 +128,8 @@ class Ssm(PortForwarder):
|
|
|
123
128
|
break
|
|
124
129
|
except Exception:
|
|
125
130
|
if self._proc is not None and self._proc.poll() is not None:
|
|
126
|
-
|
|
131
|
+
stderr = self._proc.stderr.read().decode() if self._proc.stderr else ""
|
|
132
|
+
raise RuntimeError(f"SSM process exited unexpectedly. Stderr: {stderr}")
|
|
127
133
|
if time.time() - start > 10:
|
|
128
134
|
raise TimeoutError(f"Timeout waiting for port {self.local_port} to open")
|
|
129
135
|
time.sleep(0.1)
|
|
@@ -201,16 +201,16 @@ wheels = [
|
|
|
201
201
|
|
|
202
202
|
[[package]]
|
|
203
203
|
name = "clear-skies"
|
|
204
|
-
version = "2.0.
|
|
204
|
+
version = "2.0.32"
|
|
205
205
|
source = { registry = "https://pypi.org/simple" }
|
|
206
206
|
dependencies = [
|
|
207
207
|
{ name = "dateparser" },
|
|
208
208
|
{ name = "requests" },
|
|
209
209
|
{ name = "wrapt" },
|
|
210
210
|
]
|
|
211
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
211
|
+
sdist = { url = "https://files.pythonhosted.org/packages/09/ae/7f421e4b9c8862e45a93b474209eb7b64714bf08ff258b512c93a961cacb/clear_skies-2.0.32.tar.gz", hash = "sha256:290162fdd34321758cdbdfbce93b2fc045f0e8029915de263422bde9abaac2a2", size = 369523, upload-time = "2026-01-12T11:16:49.976Z" }
|
|
212
212
|
wheels = [
|
|
213
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
213
|
+
{ url = "https://files.pythonhosted.org/packages/9d/81/a6f2edd8fcd58d902aab2fcc2e4acda647141cec5ef30a92939cb0675e5e/clear_skies-2.0.32-py3-none-any.whl", hash = "sha256:a36129f7e298a618147e635530889a9e0251c93356214055322c9f50ca09ed05", size = 358343, upload-time = "2026-01-12T11:16:51.521Z" },
|
|
214
214
|
]
|
|
215
215
|
|
|
216
216
|
[package.optional-dependencies]
|
|
@@ -220,7 +220,7 @@ mysql = [
|
|
|
220
220
|
|
|
221
221
|
[[package]]
|
|
222
222
|
name = "clear-skies-aws"
|
|
223
|
-
version = "2.0.
|
|
223
|
+
version = "2.0.8"
|
|
224
224
|
source = { editable = "." }
|
|
225
225
|
dependencies = [
|
|
226
226
|
{ name = "boto3" },
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/backends/dynamo_db_backend.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/contexts/cli_web_socket_mock.py
RENAMED
|
File without changes
|
|
File without changes
|
{clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/contexts/lambda_api_gateway.py
RENAMED
|
File without changes
|
|
File without changes
|
{clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/contexts/lambda_invoke.py
RENAMED
|
File without changes
|
|
File without changes
|
{clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/contexts/lambda_sqs_standard.py
RENAMED
|
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
|
{clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/di/inject/boto3_session.py
RENAMED
|
File without changes
|
{clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/di/inject/parameter_store.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/endpoints/simple_body_routing.py
RENAMED
|
File without changes
|
{clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/input_outputs/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/input_outputs/lambda_alb.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/input_outputs/lambda_invoke.py
RENAMED
|
File without changes
|
{clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/input_outputs/lambda_sns.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/mocks/actions/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/mocks/actions/step_function.py
RENAMED
|
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
|
|
File without changes
|
{clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/secrets/parameter_store.py
RENAMED
|
File without changes
|
|
File without changes
|
{clear_skies_aws-2.0.6 → clear_skies_aws-2.0.8}/src/clearskies_aws/secrets/secrets_manager.py
RENAMED
|
File without changes
|