{"action":"opened","issue":{"url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/186","labels_url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/186/comments","events_url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/186/events","html_url":"https://github.com/awslabs/aws-sdk-go/issues/186","id":66842821,"number":186,"title":"Route53 resource : InvalidSignatureException","user":{"login":"Iouns","id":486263,"avatar_url":"https://avatars.githubusercontent.com/u/486263?v=3","gravatar_id":"","url":"https://api.github.com/users/Iouns","html_url":"https://github.com/Iouns","followers_url":"https://api.github.com/users/Iouns/followers","following_url":"https://api.github.com/users/Iouns/following{/other_user}","gists_url":"https://api.github.com/users/Iouns/gists{/gist_id}","starred_url":"https://api.github.com/users/Iouns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iouns/subscriptions","organizations_url":"https://api.github.com/users/Iouns/orgs","repos_url":"https://api.github.com/users/Iouns/repos","events_url":"https://api.github.com/users/Iouns/events{/privacy}","received_events_url":"https://api.github.com/users/Iouns/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-07T09:56:12Z","updated_at":"2015-04-07T09:56:12Z","closed_at":null,"body":"Hello,\r\n\r\nSince Terraform 0.4.0, I have some issue with an aws resource.\r\nFollowing code works on 0.3.7 and not on 0.4.0 :\r\n<pre><code>\r\nresource \"aws_route53_record\" \"main\" {\r\n  zone_id = \"/hostedzone/XXXXXXXXXXX\"\r\n  name = \"${var.hostname}.${var.domain_name}\"\r\n  type = \"CNAME\"\r\n  ttl = \"60\"\r\n  records = [\"myrecord.tld.\"]\r\n}\r\n</code></pre>\r\n\r\nOn 0.3.7 I have following result :\r\n<pre><code>\r\naws_route53_record.main: Creating...\r\n  name:               \"\" => \"mynode.tld\"\r\n  records.#:          \"\" => \"1\"\r\n  records.1545658242: \"\" => \"myrecord.tld.\"\r\n  ttl:                \"\" => \"60\"\r\n  type:               \"\" => \"CNAME\"\r\n  zone_id:            \"\" => \"/hostedzone/XXXXXXXX\"\r\naws_route53_record.main: Creation complete\r\n</code></pre>\r\n\r\nOn 0.4.0 I have :\r\n<pre><code>\r\n* <?xml version=\"1.0\"?>\r\n<InvalidSignatureException>\r\n  <Message>The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.\r\n\r\nThe Canonical String for this request should have been\r\n'GET\r\n/2013-04-01/hostedzone/hostedzone/XXXXXXXXXXX\r\n\r\nhost:route53.amazonaws.com\r\nuser-agent:aws-go\r\n\r\nhost;user-agent\r\n##SHA1##'\r\n\r\nThe String-to-Sign should have been\r\n'AWS4-HMAC-SHA256\r\n##TIMESTAMP##\r\n20150407/us-east-1/route53/aws4_request\r\n##SHA1##'\r\n</Message>\r\n</InvalidSignatureException>\r\n</code></pre>\r\n\r\nRegards,"}}