ec2 eu-central-1 support missing

Bug #1390422 reported by Andreas Jaekle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
goamz
New
Undecided
Unassigned

Bug Description

please add eu-central-1 support for ec2.
simply adding a new Region does not work.

var EUCentral = Region{
        "eu-central-1",
        "https://ec2.eu-central-1.amazonaws.com",
        "https://s3.eu-cental-1.amazonaws.com",
        "",
        true,
        true,
        "https://sdb.eu-central-1.amazonaws.com",
        "https://sns.eu-central-1.amazonaws.com",
        "https://sqs.eu-central-1.amazonaws.com",
        "https://iam.amazonaws.com",
        SignV4Factory("eu-central-1"),
}

It returns a panic: The request must contain the parameter AWSAccessKeyId (MissingParameter)#

don't know if it is important for this, but
    ec2/ec2.go:147 ec2.Region.Sign
returns an error which is ignored:
   Could not retrieve a request date. Please provide one in either "x-amz-date", or "date".

providing a date with
   req.Header.Add("Date", timeNow().In(time.UTC).Format(time.RFC3339))
does result in an panic in aws/sign.go in payloadHash (...) => req.Body is nil there

providing an empty body does result in an error from amazon:
   AWS was not able to validate the provided access credentials (AuthFailure)

Andreas Jaekle (andfeas)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.