File tree Expand file tree Collapse file tree 2 files changed +500
-4
lines changed Expand file tree Collapse file tree 2 files changed +500
-4
lines changed Original file line number Diff line number Diff line change 2727 "eu-central-1" , # Frankfurt
2828 "eu-west-1" , # Ireland
2929 "eu-west-2" , # London
30+ "eu-south-1" , # Milan
3031 "eu-west-3" , # Paris
3132 "eu-north-1" , # Stockholm
3233 "me-south-1" , # Bahrain
34+ "af-south-1" , # Cape town
3335 "ap-southeast-1" , # Singapore
3436 "ap-northeast-1" , # Tokyo
3537 "ap-southeast-2" , # Sydney
@@ -151,10 +153,7 @@ def get_ebs_metadata(pricing):
151153 ]
152154 price = list (price_dimensions .values ())[0 ]["pricePerUnit" ]["USD" ]
153155
154- metadata = {
155- "type" : product ["attributes" ].get ("volumeApiName" ),
156- "price_gb" : float (price ),
157- }
156+ metadata = {"type" : product ["attributes" ].get ("volumeApiName" ), "price_gb" : float (price )}
158157
159158 # io1 has per IOPS pricing --> add pricing to metadata
160159 # if storagedevice does not price per IOPS will set value to 0
You can’t perform that action at this time.
0 commit comments