cloud-governance 1.1.353__py3-none-any.whl → 1.1.354__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.
- cloud_governance/common/clouds/aws/s3/s3_operations.py +3 -2
- {cloud_governance-1.1.353.dist-info → cloud_governance-1.1.354.dist-info}/METADATA +3 -2
- {cloud_governance-1.1.353.dist-info → cloud_governance-1.1.354.dist-info}/RECORD +6 -6
- {cloud_governance-1.1.353.dist-info → cloud_governance-1.1.354.dist-info}/WHEEL +1 -1
- {cloud_governance-1.1.353.dist-info → cloud_governance-1.1.354.dist-info/licenses}/LICENSE +0 -0
- {cloud_governance-1.1.353.dist-info → cloud_governance-1.1.354.dist-info}/top_level.txt +0 -0
|
@@ -27,7 +27,7 @@ class S3Operations:
|
|
|
27
27
|
self.__report_file_name = report_file_name
|
|
28
28
|
self.__resource_file_name = resource_file_name
|
|
29
29
|
self.__report_file_full_path = os.path.join(os.path.dirname(__file__), self.__report_file_name)
|
|
30
|
-
self.__resources_file_full_path = os.path.join(
|
|
30
|
+
self.__resources_file_full_path = os.path.join('/tmp', self.__resource_file_name)
|
|
31
31
|
if bucket and logs_bucket_key:
|
|
32
32
|
self.__bucket, self.__logs_bucket_key = bucket, logs_bucket_key
|
|
33
33
|
|
|
@@ -383,7 +383,8 @@ class S3Operations:
|
|
|
383
383
|
:return:
|
|
384
384
|
"""
|
|
385
385
|
try:
|
|
386
|
-
return self.__s3_client.get_bucket_location(Bucket=bucket_name, **kwargs).get('LocationConstraint',
|
|
386
|
+
return self.__s3_client.get_bucket_location(Bucket=bucket_name, **kwargs).get('LocationConstraint',
|
|
387
|
+
self.__region)
|
|
387
388
|
except Exception as err:
|
|
388
389
|
logger.error(err)
|
|
389
390
|
return self.__region
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: cloud-governance
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.354
|
|
4
4
|
Summary: Cloud Governance Tool
|
|
5
5
|
Home-page: https://github.com/redhat-performance/cloud-governance
|
|
6
6
|
Author: Red Hat
|
|
@@ -62,6 +62,7 @@ Dynamic: description
|
|
|
62
62
|
Dynamic: description-content-type
|
|
63
63
|
Dynamic: home-page
|
|
64
64
|
Dynamic: license
|
|
65
|
+
Dynamic: license-file
|
|
65
66
|
Dynamic: requires-dist
|
|
66
67
|
Dynamic: summary
|
|
67
68
|
|
|
@@ -62,7 +62,7 @@ cloud_governance/common/clouds/aws/resource_explorer/resource_explorer_operation
|
|
|
62
62
|
cloud_governance/common/clouds/aws/resource_tagging_api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
63
63
|
cloud_governance/common/clouds/aws/resource_tagging_api/resource_tag_api_operations.py,sha256=KYSYpEwLsjT7K7E8cu_oAzzWrMdlyqlPvzuJQ2Xuzc0,2193
|
|
64
64
|
cloud_governance/common/clouds/aws/s3/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
65
|
-
cloud_governance/common/clouds/aws/s3/s3_operations.py,sha256=
|
|
65
|
+
cloud_governance/common/clouds/aws/s3/s3_operations.py,sha256=vLSooboPiIVzINhdDXgu_0UQwoecoPLfwt_UugdbV6c,14407
|
|
66
66
|
cloud_governance/common/clouds/aws/savingsplan/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
67
67
|
cloud_governance/common/clouds/aws/savingsplan/savings_plans_operations.py,sha256=3C7QBnuqG4sjh3ZApamNWdlNO2f3uoSvuOf2FQbci_w,6238
|
|
68
68
|
cloud_governance/common/clouds/aws/sts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -263,8 +263,8 @@ cloud_governance/policy/policy_runners/elasticsearch/__init__.py,sha256=47DEQpj8
|
|
|
263
263
|
cloud_governance/policy/policy_runners/elasticsearch/upload_elastic_search.py,sha256=pOwUJWXjJbyTy8iv3Ap8xJGnqQe-5lZgoR8-vGfAVos,1881
|
|
264
264
|
cloud_governance/policy/policy_runners/ibm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
265
265
|
cloud_governance/policy/policy_runners/ibm/policy_runner.py,sha256=V0E_f7F3hXit0aSq4BlfX1Jd4vjR2NEvOWsJ5upvZ4o,1302
|
|
266
|
-
cloud_governance-1.1.
|
|
267
|
-
cloud_governance-1.1.
|
|
268
|
-
cloud_governance-1.1.
|
|
269
|
-
cloud_governance-1.1.
|
|
270
|
-
cloud_governance-1.1.
|
|
266
|
+
cloud_governance-1.1.354.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
267
|
+
cloud_governance-1.1.354.dist-info/METADATA,sha256=nG7sgx5aOcgWvLHt4NVvtPRZyARdCfXX97SJ81k4KfU,11364
|
|
268
|
+
cloud_governance-1.1.354.dist-info/WHEEL,sha256=tTnHoFhvKQHCh4jz3yCn0WPTYIy7wXx3CJtJ7SJGV7c,91
|
|
269
|
+
cloud_governance-1.1.354.dist-info/top_level.txt,sha256=jfB1fgj7jvx3YZkZA4G6hFeS1RHO7J7XtnbjuMNMRww,17
|
|
270
|
+
cloud_governance-1.1.354.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|