jadeallenx / net-amazon-ec2

Perl interface to the Amazon Elastic Compute Cloud (EC2) environment.

Home Page:http://metacpan.org/release/Net-Amazon-EC2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Endpoint urls constructed with a wrong format

trantor opened this issue · comments

Hello.

The code reports the regional ec2 endpoints as following the format REGION.ec2.amazonaws.com .

According to the AWS docs the format is ec2.REGION.amazonaws.com .

The newly created AWS region, eu-central-1, doesn't even have an existing eu-central-1.ec2.amazonaws.com host, therefore all requests to it fail.

Regards,
trantor

Thanks for the report. I believe this issue was fixed in #41 - it should be on CPAN soon.