{"action":"closed","issue":{"url":"https://api.github.com/repos/nubisproject/nubis-puppet-nat/issues/25","repository_url":"https://api.github.com/repos/nubisproject/nubis-puppet-nat","labels_url":"https://api.github.com/repos/nubisproject/nubis-puppet-nat/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/nubisproject/nubis-puppet-nat/issues/25/comments","events_url":"https://api.github.com/repos/nubisproject/nubis-puppet-nat/issues/25/events","html_url":"https://github.com/nubisproject/nubis-puppet-nat/issues/25","id":168708535,"number":25,"title":"Disable sourcedest check","user":{"login":"limed","id":145126,"avatar_url":"https://avatars.githubusercontent.com/u/145126?v=3","gravatar_id":"","url":"https://api.github.com/users/limed","html_url":"https://github.com/limed","followers_url":"https://api.github.com/users/limed/followers","following_url":"https://api.github.com/users/limed/following{/other_user}","gists_url":"https://api.github.com/users/limed/gists{/gist_id}","starred_url":"https://api.github.com/users/limed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limed/subscriptions","organizations_url":"https://api.github.com/users/limed/orgs","repos_url":"https://api.github.com/users/limed/repos","events_url":"https://api.github.com/users/limed/events{/privacy}","received_events_url":"https://api.github.com/users/limed/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nubisproject/nubis-puppet-nat/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/nubisproject/nubis-puppet-nat/milestones/5","html_url":"https://github.com/nubisproject/nubis-puppet-nat/milestones/v1.2.2","labels_url":"https://api.github.com/repos/nubisproject/nubis-puppet-nat/milestones/5/labels","id":1921221,"number":5,"title":"v1.2.2","description":"","creator":{"login":"limed","id":145126,"avatar_url":"https://avatars.githubusercontent.com/u/145126?v=3","gravatar_id":"","url":"https://api.github.com/users/limed","html_url":"https://github.com/limed","followers_url":"https://api.github.com/users/limed/followers","following_url":"https://api.github.com/users/limed/following{/other_user}","gists_url":"https://api.github.com/users/limed/gists{/gist_id}","starred_url":"https://api.github.com/users/limed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limed/subscriptions","organizations_url":"https://api.github.com/users/limed/orgs","repos_url":"https://api.github.com/users/limed/repos","events_url":"https://api.github.com/users/limed/events{/privacy}","received_events_url":"https://api.github.com/users/limed/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2016-08-03T15:26:50Z","updated_at":"2016-08-03T15:27:48Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-08-01T18:21:36Z","updated_at":"2016-08-03T15:27:48Z","closed_at":"2016-08-03T15:27:48Z","body":"This was removed at one point so we need to add them back in\r\n\r\n```\r\nfor eni in ${ENI_IN_ID} ${ENI_OUT_ID}; do\r\n    log \"Disabling SourceDestCheck for eni: ${eni}\"\r\n    SOURCEDEST_CHECK=$(aws ec2 describe-network-interfaces --network-interface-ids \"${eni}\" --query 'NetworkInterfaces[].SourceDestCheck' --region \"${REGION}\" --output text)\r\n\r\n    # This needs to happen otherwise the NAT will not work\r\n    if [[ \"${SOURCEDEST_CHECK}\" != 'False' ]] || [[ \"${SOURCEDEST_CHECK}\" != 'false' ]]; then\r\n        log \"Setting SourceDestCheck to false for eni: ${eni}\"\r\n        aws ec2 modify-network-interface-attribute --network-interface-id \"${eni}\" --no-source-dest-check --region \"${REGION}\" ||\r\n            die \"Unable to set SourceDestCheck to false\"\r\n    fi\r\ndone\r\n```"}}
{"actor":{"display_login":"limed"}}