Closed bollig closed 9 months ago
https://github.com/aws-samples/aws-parallelcluster-monitoring/blob/e92abfce17a9a274558ee7deaeeccd09d86635d1/custom-metrics/1m-cost-metrics.sh#L13
eu-west-1 => "Europe (Ireland)" here when using the botocore library (see https://github.com/boto/botocore/blob/develop/botocore/data/endpoints.json)
our get-pricing api requires eu-west-1 => "EU (Ireland)"
a quick fix is to add a patch:
aws_region_long_name=${aws_region_long_name/Europe/EU}
https://github.com/aws-samples/aws-parallelcluster-monitoring/blob/e92abfce17a9a274558ee7deaeeccd09d86635d1/custom-metrics/1m-cost-metrics.sh#L13
eu-west-1 => "Europe (Ireland)" here when using the botocore library (see https://github.com/boto/botocore/blob/develop/botocore/data/endpoints.json)
our get-pricing api requires eu-west-1 => "EU (Ireland)"
a quick fix is to add a patch: