moto/moto
hans cedb89dc3b Fix #1830 Add support for cross-region VPC peering
Add a class level store in models/VPCBackend of ec2
for saving vpcs of all regions info. Any instance can correctly find vpc in another region
when connecting vpc of cross-region or vpc of same region.

Modify vpc_peering_connections in ec2/responses to handle
vpc peering of same region or cross region.

Update vpc_peering_connections response
template content to latest (2016-11-15) .

Add vpc cross region peering successful test case.
Add vpc cross region peering fail test case.

Related: https://github.com/spulec/moto/issues/1830

Reference
CreateVpcPeeringConnection Sample Response
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVpcPeeringConnection.html
2018-09-21 23:29:04 +08:00
..
acm
apigateway APIGateway: Added usage plan keys API 2018-07-13 15:16:25 +01:00
autoscaling Spaces also exist in AutoScalingGroupARN 2018-05-16 18:46:50 +01:00
awslambda Fix creating SQS queue with same attributes. Closes #1663. 2018-05-31 23:05:50 -04:00
batch 1606 Add additional fields to Batch job status endpoint 2018-05-02 13:39:54 +01:00
cloudformation Handle edge case where you can end up with double dashes in target group names 2018-06-06 11:57:42 -04:00
cloudwatch Merge branch 'master' into bugfix/1615-cloudwatch-statistics 2018-05-29 22:19:25 -04:00
cognitoidentity Made some corrections to the developer identity response and added checks to add coverage. 2018-04-03 17:05:36 -07:00
cognitoidp Implement some of cognito-idp 2018-05-07 09:38:04 -05:00
core AWSServiceSpec: Fix TypeError exceptions within json.load() 2018-04-24 16:33:39 +09:00
datapipeline
dynamodb Fix subtle typo 2018-06-01 08:38:35 +10:00
dynamodb2 Tweak comparison to treat NULL/NOT_NULL correctly. (#1709) 2018-07-13 10:11:10 +01:00
ec2 Fix #1830 Add support for cross-region VPC peering 2018-09-21 23:29:04 +08:00
ecr Fix for spulec/moto#1698 - ECR list_images missing RepositoryNotFoundException 2018-06-25 12:34:10 -04:00
ecs Merge pull request #1697 from spulec/ecs-tasks 2018-06-24 20:39:16 -04:00
elb Fix ELB ssl_certificate_id typo. Closes #1528. 2018-04-13 07:33:53 -04:00
elbv2 Correctly generate resource name for target groups when using cloudformation 2018-06-06 11:07:14 -04:00
emr Escape EMR template fields to avoid invalid XML responses (#1467) 2018-03-21 08:57:50 -07:00
events Merge pull request #1641 from cpitchford/bugfix_events_put_permission_action_filter 2018-05-29 22:32:49 -04:00
glacier Use 'data' attribute of Flask Request object. (#1117) 2018-03-21 22:13:09 -07:00
glue Adjust glue get_tables method to use items instead of iteritems 2018-08-05 19:46:40 -04:00
iam IAM get account authorization details (#1736) 2018-08-07 10:31:36 -07:00
instance_metadata
iot return thing_arn when calling list_things 2018-06-04 15:58:27 +02:00
iotdata Add publish operation to iotdata (#1362) 2017-11-24 17:22:53 +00:00
kinesis Add ApproximateArrivalTimestamp and MillisBehindLatest to Kinesis get_records response (#1715) 2018-07-13 10:06:28 +01:00
kms Add support for CloudFormation Fn::GetAtt to KMS Key (#1681) 2018-07-13 11:40:54 +01:00
logs Implement describe_log_groups() method for CloudWatchLogs 2018-04-24 18:38:51 +09:00
opsworks Add opsworks app mocks (#1481) 2018-03-21 09:05:57 -07:00
packages Unvendor responses, move back to upstream. 2018-04-05 16:57:43 -04:00
polly Fixed issue with server routing 2017-09-26 20:43:58 +01:00
rds
rds2 Merge pull request #1585 from bpandola/fix-1569 2018-05-30 23:10:20 -04:00
redshift Add support for Redshift.Waiter.ClusterRestored 2018-04-24 17:30:17 -07:00
resourcegroupstaggingapi add elasticloadbalancer:loadbalancer to resourcegroupstaggingapi.get_resources 2018-01-25 14:51:06 +13:00
route53 Fix bug adding None TTL to route53 responses. 2018-03-29 10:08:39 -04:00
s3 Merge pull request #1707 from Whamied/etag-no-quote-patch 2018-07-19 10:05:07 -04:00
s3bucket_path
secretsmanager Issue 1753: Add support for DescribeSecret 2018-08-14 12:04:39 -07:00
ses feature: add parameters back to Message models 2018-07-17 20:12:05 -04:00
sns Allow attributes to be set with subscribe command (#1705) 2018-07-13 10:21:33 +01:00
sqs Fix creating SQS queue with same attributes. Closes #1663. 2018-05-31 23:05:50 -04:00
ssm Merge pull request #1600 from nimbis/extend-ssm-backend 2018-07-19 08:44:30 -04:00
sts
swf improved SWF support 2017-12-23 05:45:05 +02:00
templates
xray
__init__.py Version 1.3.5. 2018-08-29 08:44:03 -04:00
backends.py Add glue to backends to support server mode 2018-08-07 16:57:20 -04:00
compat.py Fix urlparse for py3. 2017-02-23 21:41:05 -05:00
server.py Merge pull request #1617 from jbergknoff-rival/jbergknoff/cognito 2018-05-30 20:23:11 -04:00
settings.py