cloudx-proxy 0.3.7__tar.gz → 0.3.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.
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/CHANGELOG.md +7 -0
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/PKG-INFO +1 -1
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/cloudx_proxy/_version.py +2 -2
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/cloudx_proxy/setup.py +4 -3
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/cloudx_proxy.egg-info/PKG-INFO +1 -1
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/.github/workflows/release.yml +0 -0
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/.gitignore +0 -0
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/.releaserc +0 -0
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/CONTRIBUTING.md +0 -0
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/LICENSE +0 -0
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/README.md +0 -0
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/cloudx_proxy/__init__.py +0 -0
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/cloudx_proxy/cli.py +0 -0
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/cloudx_proxy/core.py +0 -0
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/cloudx_proxy.egg-info/SOURCES.txt +0 -0
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/cloudx_proxy.egg-info/dependency_links.txt +0 -0
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/cloudx_proxy.egg-info/entry_points.txt +0 -0
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/cloudx_proxy.egg-info/requires.txt +0 -0
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/cloudx_proxy.egg-info/top_level.txt +0 -0
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/package.json +0 -0
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/pyproject.toml +0 -0
- {cloudx_proxy-0.3.7 → cloudx_proxy-0.3.8}/setup.cfg +0 -0
@@ -1,3 +1,10 @@
|
|
1
|
+
## [0.3.8](https://github.com/easytocloud/cloudX-proxy/compare/v0.3.7...v0.3.8) (2025-02-11)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* profile use for ec2 operations ([3b0c23f](https://github.com/easytocloud/cloudX-proxy/commit/3b0c23f6e6fd2b782ed3e17a8606133435d8f676))
|
7
|
+
|
1
8
|
## [0.3.7](https://github.com/easytocloud/cloudX-proxy/compare/v0.3.6...v0.3.7) (2025-02-11)
|
2
9
|
|
3
10
|
|
@@ -373,7 +373,8 @@ Host cloudx-{cloudx_env}-{hostname}
|
|
373
373
|
|
374
374
|
# First check if instance exists and its power state
|
375
375
|
try:
|
376
|
-
|
376
|
+
# Use the provided profile for EC2 operations
|
377
|
+
response = session.client('ec2').describe_instances(InstanceIds=[instance_id])
|
377
378
|
if not response['Reservations']:
|
378
379
|
self.print_status("Instance not found", False, 4)
|
379
380
|
return False, False, False
|
@@ -472,9 +473,9 @@ Host cloudx-{cloudx_env}-{hostname}
|
|
472
473
|
return False
|
473
474
|
|
474
475
|
try:
|
476
|
+
# Use the provided profile for EC2 operations
|
475
477
|
session = boto3.Session(profile_name=self.profile)
|
476
|
-
|
477
|
-
ec2.start_instances(InstanceIds=[instance_id])
|
478
|
+
session.client('ec2').start_instances(InstanceIds=[instance_id])
|
478
479
|
self.print_status("Instance start requested. This may take a few minutes...", None, 2)
|
479
480
|
|
480
481
|
# Wait for instance to start
|
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
|