ikotlova
ikotlova
I still have a problem in GovCloud. My code works in regular AWS but not in AWS GOV. ec2_offer = awspricing.offer('AmazonEC2') fails with the error: botocore.exceptions.ClientError: An error occurred (UnrecognizedClientException)...
I found out that earlier version of awspricing - 1.1.5 does work without throwing the exception. However it does not return pricing either as the EC2 is not in the...
So, awspricing version 1.1.5 + botocore 1.12.107 + boto3 1.9.107 works well. Another caveat for GovCloud is that ec2_offer.ondemand_hourly() call should set region to 'us-west-1' instead of 'us-gov-west-1'.