{"action":"closed","issue":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/6730","repository_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/6730/labels{/name}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/6730/comments","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/6730/events","html_url":"https://github.com/terraform-providers/terraform-provider-aws/issues/6730","id":387923296,"node_id":"MDU6SXNzdWUzODc5MjMyOTY=","number":6730,"title":"Add support of dns resolution on inter-region vpc peering","user":{"login":"tdegiacinto","id":29601135,"node_id":"MDQ6VXNlcjI5NjAxMTM1","avatar_url":"https://avatars1.githubusercontent.com/u/29601135?v=4","gravatar_id":"","url":"https://api.github.com/users/tdegiacinto","html_url":"https://github.com/tdegiacinto","followers_url":"https://api.github.com/users/tdegiacinto/followers","following_url":"https://api.github.com/users/tdegiacinto/following{/other_user}","gists_url":"https://api.github.com/users/tdegiacinto/gists{/gist_id}","starred_url":"https://api.github.com/users/tdegiacinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdegiacinto/subscriptions","organizations_url":"https://api.github.com/users/tdegiacinto/orgs","repos_url":"https://api.github.com/users/tdegiacinto/repos","events_url":"https://api.github.com/users/tdegiacinto/events{/privacy}","received_events_url":"https://api.github.com/users/tdegiacinto/received_events","type":"User","site_admin":false},"labels":[{"id":794043766,"node_id":"MDU6TGFiZWw3OTQwNDM3NjY=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/labels/service/ec2","name":"service/ec2","color":"bfd4f2","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-12-05T20:04:27Z","updated_at":"2018-12-06T13:13:14Z","closed_at":"2018-12-06T13:13:13Z","author_association":"NONE","body":"Hi \r\na few weeks ago AWS announced the support of dns resolution across multi-region vpc peering.\r\nI tried to use it but I got the following error \r\n```\r\nError modifying VPC Peering Connection Options: OperationNotPermitted: Modifying VPC peering connection options AllowEgressFromLocalClassicLinkToRemoteVpc, AllowEgressFromLocalVpcToRemoteClassicLink is not supported for cross-region VPC peering connections\r\n``` \r\nIt seems that when we set `allow_remote_vpc_dns_resolution` option , the provider try to set the 3 available options which 2 of them are not supported.\r\n\r\n### Terraform Version\r\n\r\nterraform version : 0.11.10\r\n\r\n### Affected Resource(s)\r\n\r\n* aws_vpc_peering_connection\r\n* aws_vpc_peering_connection_accepter\r\n* aws_vpc_peering_connection_options\r\n\r\n### Terraform Configuration Files\r\n\r\nHere is my code \r\n```hcl\r\nresource \"aws_vpc_peering_connection_options\" \"options_requester\" {\r\n  vpc_peering_connection_id = \"${aws_vpc_peering_connection.to_main_region.id}\"\r\n\r\n  requester {\r\n    allow_remote_vpc_dns_resolution = true\r\n  }\r\n}\r\n```\r\n\r\n### Expected Behavior\r\n\r\nJust change the dns resolution option\r\n\r\n### Actual Behavior\r\n\r\nTry to set all three options.\r\n\r\n### Steps to Reproduce\r\nCreate an inter-region peering with dns resolution"}}
{"actor":{"display_login":"tdegiacinto"}}