Skip to content

Commit

Permalink
Removed the spot_savings_analysis policy daily policy runner
Browse files Browse the repository at this point in the history
  • Loading branch information
athiruma committed Nov 29, 2023
1 parent c214730 commit f1ba0ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions jenkins/clouds/aws/daily/policies/run_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def get_policies(type: str = None):
policies.remove('monthly_report')
policies.remove('cost_billing_reports')
policies.remove('cost_explorer_payer_billings')
policies.remove('spot_savings_analysis')

for region in regions:
for policy in policies:
Expand Down

0 comments on commit f1ba0ab

Please sign in to comment.