{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/1173","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/1173/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/1173/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/1173/events","html_url":"https://github.com/hashicorp/terraform/pull/1173","id":60557661,"number":1173,"title":"provider/aws: Add env default for AWS_ACCOUNT_ID in VPC Peering connection","user":{"login":"catsby","id":61721,"avatar_url":"https://avatars.githubusercontent.com/u/61721?v=3","gravatar_id":"","url":"https://api.github.com/users/catsby","html_url":"https://github.com/catsby","followers_url":"https://api.github.com/users/catsby/followers","following_url":"https://api.github.com/users/catsby/following{/other_user}","gists_url":"https://api.github.com/users/catsby/gists{/gist_id}","starred_url":"https://api.github.com/users/catsby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catsby/subscriptions","organizations_url":"https://api.github.com/users/catsby/orgs","repos_url":"https://api.github.com/users/catsby/repos","events_url":"https://api.github.com/users/catsby/events{/privacy}","received_events_url":"https://api.github.com/users/catsby/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashicorp/terraform/labels/provider/aws","name":"provider/aws","color":"bfdadc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-10T19:45:06Z","updated_at":"2015-06-16T19:17:12Z","closed_at":"2015-03-10T20:21:11Z","pull_request":{"url":"https://api.github.com/repos/hashicorp/terraform/pulls/1173","html_url":"https://github.com/hashicorp/terraform/pull/1173","diff_url":"https://github.com/hashicorp/terraform/pull/1173.diff","patch_url":"https://github.com/hashicorp/terraform/pull/1173.patch"},"body":"- Provide a default value for `peer_owner_id`, so we don't have to hard code a valid `peer_owner_id`. \r\n- Fix the CIDR blocks so they don't overlap"},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/112533651","html_url":"https://github.com/hashicorp/terraform/pull/1173#issuecomment-112533651","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/1173","id":112533651,"user":{"login":"marcosnils","id":1578458,"avatar_url":"https://avatars.githubusercontent.com/u/1578458?v=3","gravatar_id":"","url":"https://api.github.com/users/marcosnils","html_url":"https://github.com/marcosnils","followers_url":"https://api.github.com/users/marcosnils/followers","following_url":"https://api.github.com/users/marcosnils/following{/other_user}","gists_url":"https://api.github.com/users/marcosnils/gists{/gist_id}","starred_url":"https://api.github.com/users/marcosnils/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcosnils/subscriptions","organizations_url":"https://api.github.com/users/marcosnils/orgs","repos_url":"https://api.github.com/users/marcosnils/repos","events_url":"https://api.github.com/users/marcosnils/events{/privacy}","received_events_url":"https://api.github.com/users/marcosnils/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T19:17:12Z","updated_at":"2015-06-16T19:17:12Z","body":"I've checked that using the aws cli the peer_owner_id is not required as AWS will automatically use the account_id to perform the peering. \r\n\r\nI guess the `required` option can be removed right?\r\n\r\nReference: http://docs.aws.amazon.com/cli/latest/reference/ec2/create-vpc-peering-connection.html\r\n\r\nI'm migrating my Cloudformation scripts to Terraform and I used to do internal VPC peering without specifying any peer_owner_id as I owned both VPC's.\r\n\r\nThx!."}}