diff --git a/.bumpversion.cfg b/.bumpversion.cfg index fdb252e3..09b91e76 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,7 +1,7 @@ [bumpversion] commit = False tag = True -current_version = 1.1.177 +current_version = 1.1.178 tag_name = v{current_version} message = GitHub Actions Build {current_version} diff --git a/cloud_governance/policy/policy_operations/aws/zombie_non_cluster/run_zombie_non_cluster_policies.py b/cloud_governance/policy/policy_operations/aws/zombie_non_cluster/run_zombie_non_cluster_policies.py index 7cc51e5c..c1458aec 100644 --- a/cloud_governance/policy/policy_operations/aws/zombie_non_cluster/run_zombie_non_cluster_policies.py +++ b/cloud_governance/policy/policy_operations/aws/zombie_non_cluster/run_zombie_non_cluster_policies.py @@ -336,6 +336,8 @@ def _organise_instance_data(self, resources: list): for attachment in volume.get('Attachments'): attachment['AttachTime'] = attachment['AttachTime'].strftime("%Y-%m-%dT%H:%M:%S+00:00") volume['CreateTime'] = volume['CreateTime'].strftime("%Y-%m-%dT%H:%M:%S+00:00") + if 'Tags' in volume: + del volume['Tags'] organize_data.append(volume) return organize_data diff --git a/jenkins/clouds/aws/daily/policies/run_policies.py b/jenkins/clouds/aws/daily/policies/run_policies.py index b1b99db9..f113a81e 100644 --- a/jenkins/clouds/aws/daily/policies/run_policies.py +++ b/jenkins/clouds/aws/daily/policies/run_policies.py @@ -57,6 +57,7 @@ def get_policies(type: str = None): policies.remove('cost_billing_reports') policies.remove('cost_explorer_payer_billings') policies.remove('optimize_resources_report') +policies.remove('spot_savings_analysis') for region in regions: for policy in policies: diff --git a/setup.py b/setup.py index 4cfb116f..ef9d5241 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from os import path from setuptools import setup, find_packages -__version__ = '1.1.177' +__version__ = '1.1.178' here = path.abspath(path.dirname(__file__))