scopely-devops / skew

Apache License 2.0
243 stars 70 forks source link

Added reserved instance/cluster/node support for ec2,rds,elasticache,… #177

Closed rainman-ph closed 1 year ago

rainman-ph commented 3 years ago
  1. Added reserved instance/cluster/node support for ec2,rds,elasticache,es, and redshift.
import skew
for service in ['ec2','rds','elasticache','es','redshift']:
    for ri in skew.scan('arn:aws:'+service+':us-east-1:*:reserved/*'):
        print(ri)
  1. Fixed the code in skew/resources/aws/s3.py if location is 'EU' to if location == 'EU'