{"id":17422226,"url":"https://github.com/alexzhangs/aws-cfn-vpc-peer-requester","last_synced_at":"2025-07-08T21:36:34.956Z","repository":{"id":90923135,"uuid":"197408017","full_name":"alexzhangs/aws-cfn-vpc-peer-requester","owner":"alexzhangs","description":"AWS CloudFormation Stack for VPC Peering Requester.","archived":false,"fork":false,"pushed_at":"2024-03-02T18:07:48.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-08T13:52:19.152Z","etag":null,"topics":["aws","aws-cloudformation","vpc-peer-connection"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexzhangs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-07-17T14:42:59.000Z","updated_at":"2024-03-02T18:07:52.000Z","dependencies_parsed_at":"2024-03-02T19:26:38.629Z","dependency_job_id":"07f84d90-a30c-4bf4-ae06-0f4c5d779ea5","html_url":"https://github.com/alexzhangs/aws-cfn-vpc-peer-requester","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexzhangs%2Faws-cfn-vpc-peer-requester","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexzhangs%2Faws-cfn-vpc-peer-requester/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexzhangs%2Faws-cfn-vpc-peer-requester/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexzhangs%2Faws-cfn-vpc-peer-requester/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexzhangs","download_url":"https://codeload.github.com/alexzhangs/aws-cfn-vpc-peer-requester/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239487539,"owners_count":19647011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-cloudformation","vpc-peer-connection"],"created_at":"2024-10-17T03:14:03.492Z","updated_at":"2025-02-18T14:28:08.754Z","avatar_url":"https://github.com/alexzhangs.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-cfn-vpc-peer-requester\n\nAWS CloudFormation Stack for VPC Peering Requester.\n\n## Usage\n\n### stack.json\n\nThis repo contains a standard AWS CloudFormation template `stack.json`\nwhich can be deployed with AWS web console, AWS CLI or any other AWS\nCloudFormation compitable tool.\n\nThis repo can be used along with below repoes:\n\n* [aws-cfn-vpc-peer-accepter](https://github.com/alexzhangs/aws-cfn-vpc-peer-accepter)\n* [aws-cfn-vpc](https://github.com/alexzhangs/aws-cfn-vpc)\n\nTo create cross account VPC peer connections, one accepter peers with\nmulti requesters. These repoes may make the process easier.\n\nHowever you will need to make a new template to put all these together,\nput `aws-cfn-vpc`, `aws-cfn-vpc-peer-accepter` and\n`aws-cfn-vpc-peer-requester` as the nested stack of your new stack.\n\nAbout how to do this, you may refer to a real world example\n[aws-cfn-vpn](https://github.com/alexzhangs/aws-cfn-vpn), which put\nall these together, and is able to create one(accepter) to many(requester) cross\naccount VPC peer connections.\n\nThis template will create an AWS CloudFormation stack, including\nfollowing resources:\n\n* 1 peer connection between 2 VPCs.\n* 1 route entry in the route table for the peer connection.\n* 1 IAM role to give the Lambda function necessary permissions for the\nSQS, and the logs.\n* 1 Lambda function to send SQS messages to trigger the Lambda funcion\n  in another VPC.\n* 1 CloudFormation Custom Resource to trigger the Lambda function of\nthis stack.\n\nFor the input parameters and the detail of the template, please check the template\nfile.\n\n## Troubleshooting\n\n1. CloudFormation Event: PeerConnection CREATE_FAILED: VpcPeeringConnection failed to stabilize. State: [failed]\n\n  Check following input parameters, make sure they were set right:\n\n    1. VpcPeerAccepterVpcId\n    2. VpcPeerAccepterRegion\n    3. VpcPeerAccepterAccountId\n    4. VpcPeerAccepterRoleArn\n\n1. The VPC peer connection is active but connecting to the IP of the\n  resource in the peering VPC is timeout.\n\n  Check following AWS resources on the console:\n\n     1. CloudWatch -\u003e Logs, check the log of Lambda execution.\n     2. VPC -\u003e Route Tables -\u003e Routes.\n     3. Lambda - Functions.\n     4. IAM - Role.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexzhangs%2Faws-cfn-vpc-peer-requester","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexzhangs%2Faws-cfn-vpc-peer-requester","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexzhangs%2Faws-cfn-vpc-peer-requester/lists"}