{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-go/issues/855","repository_url":"https://api.github.com/repos/aws/aws-sdk-go","labels_url":"https://api.github.com/repos/aws/aws-sdk-go/issues/855/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-go/issues/855/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-go/issues/855/events","html_url":"https://github.com/aws/aws-sdk-go/issues/855","id":179241665,"number":855,"title":"EC2 CustomerGateway Bug","user":{"login":"stack72","id":227823,"avatar_url":"https://avatars.githubusercontent.com/u/227823?v=3","gravatar_id":"","url":"https://api.github.com/users/stack72","html_url":"https://github.com/stack72","followers_url":"https://api.github.com/users/stack72/followers","following_url":"https://api.github.com/users/stack72/following{/other_user}","gists_url":"https://api.github.com/users/stack72/gists{/gist_id}","starred_url":"https://api.github.com/users/stack72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stack72/subscriptions","organizations_url":"https://api.github.com/users/stack72/orgs","repos_url":"https://api.github.com/users/stack72/repos","events_url":"https://api.github.com/users/stack72/events{/privacy}","received_events_url":"https://api.github.com/users/stack72/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aws/aws-sdk-go/labels/Service%20API","name":"Service API","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"xibz","id":1964445,"avatar_url":"https://avatars.githubusercontent.com/u/1964445?v=3","gravatar_id":"","url":"https://api.github.com/users/xibz","html_url":"https://github.com/xibz","followers_url":"https://api.github.com/users/xibz/followers","following_url":"https://api.github.com/users/xibz/following{/other_user}","gists_url":"https://api.github.com/users/xibz/gists{/gist_id}","starred_url":"https://api.github.com/users/xibz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xibz/subscriptions","organizations_url":"https://api.github.com/users/xibz/orgs","repos_url":"https://api.github.com/users/xibz/repos","events_url":"https://api.github.com/users/xibz/events{/privacy}","received_events_url":"https://api.github.com/users/xibz/received_events","type":"User","site_admin":false},"assignees":[{"login":"xibz","id":1964445,"avatar_url":"https://avatars.githubusercontent.com/u/1964445?v=3","gravatar_id":"","url":"https://api.github.com/users/xibz","html_url":"https://github.com/xibz","followers_url":"https://api.github.com/users/xibz/followers","following_url":"https://api.github.com/users/xibz/following{/other_user}","gists_url":"https://api.github.com/users/xibz/gists{/gist_id}","starred_url":"https://api.github.com/users/xibz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xibz/subscriptions","organizations_url":"https://api.github.com/users/xibz/orgs","repos_url":"https://api.github.com/users/xibz/repos","events_url":"https://api.github.com/users/xibz/events{/privacy}","received_events_url":"https://api.github.com/users/xibz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-09-26T14:18:38Z","updated_at":"2016-10-25T17:57:24Z","closed_at":"2016-10-25T17:57:24Z","body":"When i have an existing EC2 Customer Gateway as follows:\r\n\r\n<img width=\"487\" alt=\"screen shot 2016-09-26 at 15 07 41\" src=\"https://cloud.githubusercontent.com/assets/227823/18837552/1007a1b6-83fc-11e6-8cb6-f66986291a9d.png\">\r\n\r\nThe AWS Console doesn't let me create another with the same parameters:\r\n\r\n<img width=\"636\" alt=\"screen shot 2016-09-26 at 14 37 31\" src=\"https://cloud.githubusercontent.com/assets/227823/18837572/21ff0300-83fc-11e6-975f-2dca4c914fd9.png\">\r\n\r\nBut the SDK does allow me to do this:\r\n\r\n```\r\n[DEBUG] Creating customer gateway\r\n[DEBUG] [aws-sdk-go] DEBUG: Request ec2/CreateCustomerGateway Details:\r\n---[ REQUEST POST-SIGN ]-----------------------------\r\nPOST / HTTP/1.1\r\nHost: ec2.us-west-2.amazonaws.com\r\nUser-Agent: terraform/0.7.5-dev aws-sdk-go/1.4.11 (go1.7.1; darwin; amd64)\r\nContent-Length: 93\r\nAuthorization: AWS4-HMAC-SHA256 Credential=REDACTED/20160926/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=cdc735b4995c0a745895bd20cbabdb158d99db28d88fba7f29d3973ff6fecdcc\r\nContent-Type: application/x-www-form-urlencoded; charset=utf-8\r\nX-Amz-Date: 20160926T140112Z\r\nAccept-Encoding: gzip\r\n\r\nAction=CreateCustomerGateway&BgpAsn=65000&IpAddress=192.1.1.1&Type=ipsec.1&Version=2016-04-01\r\n-----------------------------------------------------\r\n[DEBUG] [aws-sdk-go] DEBUG: Response ec2/CreateCustomerGateway Details:\r\n---[ RESPONSE ]--------------------------------------\r\nHTTP/1.1 200 OK\r\nConnection: close\r\nTransfer-Encoding: chunked\r\nContent-Type: text/xml;charset=UTF-8\r\nDate: Mon, 26 Sep 2016 14:01:13 GMT\r\nServer: AmazonEC2\r\nVary: Accept-Encoding\r\n\r\n1c7\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<CreateCustomerGatewayResponse xmlns=\"http://ec2.amazonaws.com/doc/2016-04-01/\">\r\n    <requestId>36280252-c994-4ee5-afe4-14b42c74b4ea</requestId>\r\n    <customerGateway>\r\n        <customerGatewayId>cgw-cd528bd3</customerGatewayId>\r\n        <state>available</state>\r\n        <type>ipsec.1</type>\r\n        <ipAddress>192.1.1.1</ipAddress>\r\n        <bgpAsn>65000</bgpAsn>\r\n    </customerGateway>\r\n</CreateCustomerGatewayResponse>\r\n0\r\n\r\n\r\n-----------------------------------------------------\r\n[INFO] Customer gateway ID: cgw-cd528bd3\r\n```\r\n\r\nAs you can see, the CustomerGatewayID is the same as the one already in the screenshot above\r\n\r\nPaul"},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-go/issues/comments/256111065","html_url":"https://github.com/aws/aws-sdk-go/issues/855#issuecomment-256111065","issue_url":"https://api.github.com/repos/aws/aws-sdk-go/issues/855","id":256111065,"user":{"login":"jasdel","id":961963,"avatar_url":"https://avatars.githubusercontent.com/u/961963?v=3","gravatar_id":"","url":"https://api.github.com/users/jasdel","html_url":"https://github.com/jasdel","followers_url":"https://api.github.com/users/jasdel/followers","following_url":"https://api.github.com/users/jasdel/following{/other_user}","gists_url":"https://api.github.com/users/jasdel/gists{/gist_id}","starred_url":"https://api.github.com/users/jasdel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasdel/subscriptions","organizations_url":"https://api.github.com/users/jasdel/orgs","repos_url":"https://api.github.com/users/jasdel/repos","events_url":"https://api.github.com/users/jasdel/events{/privacy}","received_events_url":"https://api.github.com/users/jasdel/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T17:57:24Z","updated_at":"2016-10-25T17:57:24Z","body":"Thanks for contacting us @stack72 We've forward this information on to the EC2 service team. In addition the console website has a \"Feedback\" button in the bottom left hand corner of the page. Submitting your feedback here will send your feedback to the EC2 and console teams.\r\n\r\nSince this issue seems to be a limitation of the console website and not the SDK I'm going to go ahead and close this issue."}}
{"actor":{"display_login":"jasdel"}}