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
Neil Roberts
1f499971d1
Merge branch 'master' into add_describe_secret_to_secretsmanager
2018-08-14 11:01:47 -07:00
Neil Roberts
b2c672a074
Issue 1753: add server test for mismatched secret
2018-08-13 12:53:22 -07:00
Neil Roberts
85d3250b89
Issue 1753: add test for mismatched secret
2018-08-13 12:49:35 -07:00
Neil Roberts
1f3256ed40
Issue 1770: Deal with the friendly name properly
...
- Save friendly name in create_secret.
- Reference the saved friendly name in responses that have "Name" field.
- Verify the received secret_id matches the current value. Don't just
test for an empty string.
- Add test for mismatched secret_id.
2018-08-10 16:40:31 -07:00
Steve Pulec
42d486f9b0
Merge pull request #1750 from TheDooner64/glue-data-catalog
...
Scaffolding for AWS Glue Data Catalog
2018-08-08 13:25:15 -04:00
Will Bengtson
a420064621
IAM get account authorization details ( #1736 )
...
* start of get_account_authorization_details for iam
* add get_account_authorization_details dynamic template
* remove old commented out template
* Fix flake8 problems and add unit test
2018-08-07 10:31:36 -07:00
Neil Roberts
cce3a678aa
Implement secretsmanager.DescribeSecret and tests.
2018-08-06 14:40:33 -07:00
TheDooner64
d988ee15fe
Add create_table, get_table, and get_tables for the Glue Data Catalog
2018-08-05 19:18:11 -04:00
TheDooner64
c5c57efbb5
Creating a database that already exists in the glue data catalog raises an exception
2018-08-05 19:18:11 -04:00
TheDooner64
e67a8c6f1b
Revert minor changes to s3 tests
2018-08-05 19:18:11 -04:00
TheDooner64
77f0a61c9f
Add scaffolding for Glue service, including create_database and get_database for the Glue Data Catalog
2018-08-05 19:18:11 -04:00
Gary Donovan
2e5e7e7f5e
Fix typo in test name ( #1729 )
2018-07-24 23:11:04 +01:00
Steve Pulec
a1d095c14b
Merge pull request #1721 from sepulworld/adding_secretsmanager_random_password
...
Added SecretsManager get_random_password mock
2018-07-19 11:13:24 -04:00
Steve Pulec
cc31f22bb5
Merge pull request #1723 from Comcast/create_policy
...
Adding account id to ManagedPolicy ARN
2018-07-19 10:55:22 -04:00
Steve Pulec
2c1aa8a63d
Merge pull request #1717 from fewstera/usage-plans
...
APIGateway: Added API for usage plans and usage plan keys
2018-07-19 10:40:14 -04:00
Steve Pulec
0309d1ec39
Merge pull request #1707 from Whamied/etag-no-quote-patch
...
Added support for multipart upload completion with unquoted etags
2018-07-19 10:05:07 -04:00
Steve Pulec
4c904e19c1
Merge pull request #1699 from chezclem/ECR-list-images-exception
...
ECR: list_images should return RepositoryNotFoundException when repository is not found
2018-07-19 09:43:29 -04:00
Steve Pulec
786ec0501e
Merge pull request #1692 from sanjeevsuresh/exception-when-missing-key
...
BugFix: Exception in ListObjectVersions with a Prefix that Returns an Empty Result Set
2018-07-19 09:41:44 -04:00
Steve Pulec
f3175118d1
Merge pull request #1600 from nimbis/extend-ssm-backend
...
Extend ssm backend
2018-07-19 08:44:30 -04:00
zane
6c7a22c7d7
Added get_random_password mock with tests
2018-07-18 00:27:53 -07:00
Nathan Mische
ff80ecb56d
Adding account id to ManagedPolicy ARN
2018-07-17 13:31:18 -04:00
Zane Williamson
ba1ceee95f
Adding create_secret, exception handle, fix ( #1680 )
2018-07-14 08:39:19 +01:00
Aidan Fewster
9bd6f0a725
APIGateway: Added usage plan keys API
2018-07-13 15:16:25 +01:00
Aidan Fewster
43e430560c
APIGateway: Added API for usage plans
2018-07-13 15:10:30 +01:00
Aidan Fewster
c20e8568e0
APIGateway - Generate API key value when no value provided ( #1713 )
2018-07-13 12:53:00 +01:00
temyers
c3b690114c
Add support for CloudFormation Fn::GetAtt to KMS Key ( #1681 )
2018-07-13 11:40:54 +01:00
Nate Peterson
dcdaca8984
parameters return from root path ( #1701 )
2018-07-13 10:24:11 +01:00
Michael Bell
51db19067c
Allow attributes to be set with subscribe command ( #1705 )
2018-07-13 10:21:33 +01:00
Gary Donovan
802402bdba
Tweak comparison to treat NULL/NOT_NULL correctly. ( #1709 )
...
The AWS documentation says that a ComparisonOperator of NULL means
the attribute should not exist, whereas NOT_NULL means that the
attribute should exist. It explicitly says that an attribute with a
value of NULL is considered to exist, which contradicts our previous
implementation. This affects both put_item and get_item in dynamodb2.
https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Condition.html
2018-07-13 10:11:10 +01:00
Henadzi Tsaryk
46dd351965
Add ApproximateArrivalTimestamp and MillisBehindLatest to Kinesis get_records response ( #1715 )
...
* Add ApproximateArrivalTimestamp to Kinesis response
* Add MillisBehindLatest to Kinesis get_records response
2018-07-13 10:06:28 +01:00
Waleed Hamied
f8fdd439ad
Added support for multipart upload confirmation with unquoted etags
2018-07-03 15:36:41 -04:00
Clément Huyghebaert
e32a640861
Fix for spulec/moto#1698 - ECR list_images missing RepositoryNotFoundException
2018-06-25 12:34:10 -04:00
Steve Pulec
bb6da93891
Merge pull request #1697 from spulec/ecs-tasks
...
Improve ECS update_service and describing tasks.
2018-06-24 20:39:16 -04:00
Steve Pulec
7c1fd0a2f1
Fix ECS update_service and describing tasks.
2018-06-24 20:13:39 -04:00
Sanjeev Suresh
2ebd5f7359
tests for prefixes that return empty result sets
2018-06-22 11:59:01 -07:00
Steve Pulec
38a4558925
Merge pull request #1677 from sepulworld/adding_secretmanager_support
...
[WIP] Adding secretmanager support
2018-06-10 20:57:49 -04:00
zane
b1a8ae8299
Updating tests
2018-06-09 23:42:33 -07:00
zane
8ee7a9495d
UPdate
2018-06-09 22:08:10 -07:00
Steve Pulec
0dfe55fde9
Merge pull request #1675 from william-richard/dynamodb-index-query-bug-fix
...
Make dynamodb table indexes a list
2018-06-08 18:46:41 -04:00
Steve Pulec
15bc8f5f95
Merge pull request #1563 from william-richard/target-group-cloudformation-name
...
Correctly generate resource name for target groups when using cloudformation
2018-06-08 18:29:20 -04:00
Steve Pulec
9fd933cc4c
Merge pull request #1671 from sthuber90/master
...
Fixes #1670
2018-06-08 18:10:36 -04:00
Steve Pulec
85be08de79
Merge pull request #1669 from fferrara/NEW-ecs-service-load-balancer
...
Extend support for ECS
2018-06-08 18:08:13 -04:00
Steve Pulec
db4c84c680
Merge pull request #1667 from iainb/enforce-message-size
...
SNS - Enforce 'Message too long' exception when publishing messages
2018-06-08 17:59:10 -04:00
Steve Pulec
b26d233820
Merge pull request #1565 from spulec/fix-1522
...
Fix security group rules for single rule case. Closes #1522 .
2018-06-08 17:58:30 -04:00
zane
c4abd98ed3
Adding server test for get_secret_value
2018-06-07 22:53:34 -07:00
zane
6e893ff055
Adding response, urls and test
2018-06-07 22:31:44 -07:00
Alec Rajeev
6c10dc0403
Fix Storage Class error handling ( #1653 )
...
Added check for valid storage classes in set_key and copy_key
added unit test for standard storage and infrequent access
2018-06-07 08:09:36 +01:00
William Richard
014fbbb8cb
Added a test that queries an index when created via the table resource update
...
When you create an index via the table resource update, in python 3.6, it is saved as a `dict_value`,
which causes an error - this test replicates this bug
2018-06-06 12:51:51 -04:00
William Richard
25b5f03ea4
These tests do not use pytest
2018-06-06 12:09:09 -04:00