Commit Graph

5442 Commits

Author SHA1 Message Date
Mike Grima
bdeeeb701a
Merge pull request #2880 from bblommers/bugfix/2877
EC2 - Ensure NCI always has a Subnet
2020-04-16 15:02:45 -07:00
Steve Pulec
da14f692a5
Merge pull request #2900 from spulec/bugfix/rds2-multi-az-stop-db-instance
Bugfix: Allow stop_db_instance for compatible engines (refs #2006)
2020-04-16 16:25:09 -05:00
Hugo Lopes Tavares
4dc46a697d Bugfix: Allow stop_db_instance for compatible engines
From the RDS documentation:
    You can stop and start a DB instance whether it is configured for a single Availability Zone or for Multi-AZ, for database engines that support Multi-AZ deployments. You can't stop an Amazon RDS for SQL Server DB instance in a Multi-AZ configuration.

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_StopInstance.html#USER_StopInstance.Limitations
2020-04-16 15:14:37 -04:00
Erik Hovland
88494c58f9 Add a test for assume_role_with_saml.
Add a test with SAML assertion to test the assume_role_with_saml method
in the STSBackend.
2020-04-16 11:47:30 -07:00
Erik Hovland
b10718eea7 Add AssumeRoleWithSAML response to responses.py.
Add the AssumeRoleWithSAML response to the available STS responses.
2020-04-16 11:47:30 -07:00
Erik Hovland
b7f4ae21d1 Add assume_role_with_saml to STSBackend.
Add the assume_role_with_saml method to the STSBackend class.
2020-04-16 11:47:30 -07:00
Bert Blommers
07c33105e5
Merge pull request #2897 from caphrim007/feature.add-secretsmanager-update-secret
Adds initial support for secretsmanager update_secret
2020-04-16 17:36:12 +01:00
Tim
92bbc3fbac Adds initial support for secretsmanager update_secret
The support in this patch is preliminary and may or may not be feature complete.
It provides the basic support for update_secret so that future work can build
on it as needed.
2020-04-16 08:20:43 -07:00
Bert Blommers
870b34ba76 Spacing 2020-04-16 07:09:50 +01:00
Bert Blommers
47d80621f9 Merge branch 'master' into feature/dynamodb_item_limit 2020-04-16 07:07:59 +01:00
Bert Blommers
adfe08eb29
Merge pull request #38 from spulec/master
Merge upstream
2020-04-16 07:07:25 +01:00
Bert Blommers
92b0586b8b
Merge pull request #2893 from jwfh/instance-types
Update EC2 instance type list
2020-04-16 06:42:58 +01:00
Jacob-House
f04d64d981
Update EC2 instance type list 2020-04-15 18:48:33 -02:30
Bert Blommers
a6902e8713
Update tests/test_dynamodb2/test_dynamodb.py
Co-Authored-By: Guilherme Martins Crocetti <gmcrocetti@gmail.com>
2020-04-15 07:26:09 +01:00
Bert Blommers
532480a3b5
Merge pull request #2888 from usmangani1/lstack#1991
Added implementation for create-model,get-models,get-model in api gat…
2020-04-14 10:34:39 +01:00
Bert Blommers
69f963a3c2 Linting 2020-04-14 08:06:00 +01:00
Bert Blommers
d0c60ecaac
Merge pull request #2891 from DenverJ/enhancement/autoscaling-standby-terminate
Implement enter_standby, exit_standby and terminate_instance_in_auto_scaling_group
2020-04-14 08:01:50 +01:00
Bert Blommers
16aafa3a53
Merge pull request #2889 from pvbouwel/split_models
Allow reuse of DynamoType from models.py
2020-04-14 07:54:58 +01:00
Bert Blommers
c2b4c397f2 DDB test - Fix KeySchema, and set BillingMode for easier online testing 2020-04-14 07:53:15 +01:00
Bert Blommers
8122a40be0
Update moto/dynamodb2/models.py
Co-Authored-By: pvbouwel <petervanbouwel@gmail.com>
2020-04-14 07:48:20 +01:00
Bert Blommers
1e1fe3ee4b
Update moto/dynamodb2/models.py
Co-Authored-By: pvbouwel <petervanbouwel@gmail.com>
2020-04-14 07:48:13 +01:00
Bert Blommers
b63a6f1336
Merge pull request #2884 from usmangani1/2263_Issue
Adding missing Param zoneId in the ec2 describe-availability-zone
2020-04-14 07:12:51 +01:00
DenverJ
d745dfd3d2 Implement enter_standby, exit_standby and terminate_instance_in_auto_scaling_group 2020-04-13 10:54:13 +10:00
pvbouwel
4be97916bf Allow reuse of components packed in models.py
By having models.py as one big file it causes to
easily create circular dependencies. With the current
setup it is not possible to re-use DynamoType. This
refactor moves it out to its own file while trying to
keep the structure as much as it is.
2020-04-12 20:05:35 +01:00
usmankb
1c96a05314 linting 2020-04-12 18:10:23 +05:30
usmankb
79e63e3bcf Added implementation for create-model,get-models,get-model in api gateway 2020-04-12 17:49:22 +05:30
Bert Blommers
755a08e137
Merge pull request #2887 from DenverJ/enhancement/fix-describe-autoscaling-instances-filter
Add instance-id filter to describe_auto_scaling_instances
2020-04-12 11:09:31 +01:00
DenverJ
965046aa39 Fix formatting 2020-04-12 17:08:40 +10:00
DenverJ
593e5dc86a Add instance-id filter to describe_auto_scaling_instances 2020-04-12 13:44:16 +10:00
usmankb
7a9cdd4fd2 Adding missing Param zoneId in the describe-availability-zone 2020-04-11 08:37:00 +05:30
Bert Blommers
48288d8bb1
Merge pull request #2878 from usmangani1/2187_Issue
Adding functionalities aws apigateway create domain name,get domain names,get domain name
2020-04-09 08:58:05 +01:00
Bert Blommers
1654280e43 Linting 2020-04-09 08:12:44 +01:00
usmankb
82311087f4 linting 2020-04-08 22:04:48 +05:30
usmankb
8542309fc9 conflicts 2020-04-08 22:00:48 +05:30
usmankb
af57cfc7ec Added more tests and coverage 2020-04-08 21:54:26 +05:30
Bert Blommers
414fcf7bbd Fix AvailibilityZones in CF tests 2020-04-08 15:14:39 +01:00
Bert Blommers
8475804a8b Simplify tests 2020-04-08 14:02:35 +01:00
Bert Blommers
5c7e0b56af #2877 - Ensure NetworkInterfaces are assigned to the default Subnet 2020-04-08 13:53:53 +01:00
Bert Blommers
8237fdaff0 Linting 2020-04-08 11:06:30 +01:00
Bert Blommers
54f51fc7c1 DynamoDB - TransactWriteItems implementation 2020-04-08 10:49:58 +01:00
Bert Blommers
3b9717d5b1
Merge pull request #2876 from tmwong2003/tmwong2003/ecs-run-task-support-default-cluster
Changed mock_ecs to support ecs.run_task calls with a default cluster
2020-04-08 07:53:27 +01:00
Theodore Wong
0163eb6a9d Changed mock_ecs to support ecs.run_task calls with a default cluster 2020-04-07 15:32:44 -07:00
usmankb
856c07de63 aws apigateway create,get domain names 2020-04-08 03:18:42 +05:30
Bert Blommers
79eea51bf4
Merge pull request #2873 from usmangani1/Ec2_credit_spec
Implemented describe_instance_credit_specifications function in ec2 #…
2020-04-07 09:34:41 +01:00
Bert Blommers
e0f6e9d2c2
Merge pull request #2875 from dholroyd/no-response-body
PutObject and DeleteObject should produce no XML
2020-04-07 09:09:27 +01:00
Bert Blommers
aae49493c4 Linting 2020-04-07 08:52:37 +01:00
David Holroyd
a845de1142 PutObject and DeleteObject should produce no XML
S3 itself produces an empty body, with any response metadata in HTTP
headers only.
2020-04-06 21:01:43 +01:00
usmankb
81ca5c3ab0 Implemented describe_instance_credit_specifications function in ec2 #2150 localstack 2020-04-06 21:25:59 +05:30
Bert Blommers
452e63977e
Merge pull request #2869 from JessFlan/master
DynamodBStreams get_records gets JSON errors when processing complex types
2020-04-06 11:53:54 +01:00
jess
49fd7988ab make black happy 2020-04-06 19:55:54 +10:00