Skip to content

Commit 5c96475

Browse files
committed
Update AWS resource metadata
1 parent a22422f commit 5c96475

File tree

2 files changed

+500
-4
lines changed

2 files changed

+500
-4
lines changed

pkg/lib/aws/gen_resource_metadata.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@
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

0 commit comments

Comments
 (0)