Commit Graph

3885 Commits

Author SHA1 Message Date
Steve Pulec
e052219161
Merge pull request #2315 from bkovacki/asg_min_max_size_update_desired_capacity_change
Handle change of ASG desired capacity on min and max size update
2019-07-19 23:38:16 -04:00
Steve Pulec
2dabb629f7
Merge pull request #2324 from acsbendi/elbv2-stopped-instance-target
ELBv2 DescribeTargetHealth returns correct response for stopped instance
2019-07-19 23:35:58 -04:00
Steve Pulec
2a981d3d45
Merge pull request #2325 from acsbendi/autoscaling-terminate-instance-in-group
Auto Scaling groups recreate terminated instances
2019-07-19 23:34:42 -04:00
acsbendi
19c9c59367 Implemented Auto Scaling groups recreate terminated instances. 2019-07-19 12:56:27 +02:00
acsbendi
201d9fb491 Created test for terminating instance in an Auto Scaling group. 2019-07-18 20:30:07 +02:00
acsbendi
9149852217 Implemented returning correct health for stopped instances. 2019-07-18 16:57:27 +02:00
acsbendi
44e93c94e8 Created test for describing health of a stopped instance target. 2019-07-18 16:25:41 +02:00
Berislav Kovacki
1b3157ced0 Handle change of ASG desired capacity on min and max size update
A change in UpdateAutoScalingGroup:
* if a value for MinSize is specified without specifying a value for
DesiredCapacity, and the new MinSize is larger than the current size of
the group, set the group's DesiredCapacity to the new MinSize value
* if a value for MaxSize is specified without specifying a value for
DesiredCapacity, and the new MaxSize is smaller than the current size of
the group, set the group's DesiredCapacity to the new MaxSize value
2019-07-16 09:12:03 +02:00
Steve Pulec
6bc07360a1
Merge pull request #2313 from caguado/fix/2312
Implement assume_role_with_web_identity
2019-07-15 23:08:23 -05:00
Steve Pulec
d1e057ecab
Merge pull request #2309 from caguado/fix/2308
Implement update_user_pool_domain
2019-07-15 22:46:26 -05:00
Carlos Aguado
e54f74776b Implement assume_role_with_web_identity
The AssumeRoleWithWebIdentity is a similar endpoint to STS's AssumeRole
where the authentication element is a JWT id_token from a configured OP.
This commit implements the functionality and relies on the same result
generated for the regular AssumeRole.
2019-07-16 13:27:47 +10:00
Steve Pulec
9acdc59aa4
Merge pull request #2291 from spulec/context-manager-return-mock
Have context manager return mock.
2019-07-15 22:09:19 -05:00
Carlos Aguado
81980850d4 Implement update_user_pool_domain
Introduce the CognitoIDP's UpdateUserPoolDomain to update configuration
options of the associated domain to a Cognito IDP (e.g. ACM certificate).
2019-07-16 13:09:13 +10:00
Steve Pulec
e4ed14b131
Merge pull request #2297 from yan12125/patch-2
setup.py: remove unnecessary 'datetime' entry
2019-07-15 20:49:23 -05:00
Steve Pulec
25ab3afc31
Merge pull request #2295 from garrettheel/condition-expr-or-evaluation
dynamodb2: Defer evaluation of the OR RHS in condition expr
2019-07-15 20:46:11 -05:00
Steve Pulec
ef4f7e1ecc
Merge pull request #2307 from efiop/master
moto: s3: support partNumber for head_object
2019-07-15 20:33:21 -05:00
Steve Pulec
67b3d07e5d
Merge pull request #2306 from bkovacki/extend-describe-network-interface-filter
Extend EC2 DescribeNetworkInterface filter support
2019-07-15 20:30:22 -05:00
Steve Pulec
f80b309835
Merge pull request #2301 from asherf/versions
Update supported python versions, add badages.
2019-07-15 20:29:22 -05:00
Steve Pulec
3ad72a9871
Merge pull request #2299 from bkovacki/rds-vpc-security-groups-set-update
Add support for VpcSecurityGroups set/update in RDS
2019-07-15 20:19:36 -05:00
Steve Pulec
3a92d0f016
Merge pull request #2305 from jakzo/fix-id-generation
Fix ID generation
2019-07-15 20:04:22 -05:00
Ruslan Kuprieiev
2c2dff22bc moto: s3: support partNumber for head_object
To support it, we need to keep multipart info in the key itself when
completing multipart upload.

Fixes #2154

Signed-off-by: Ruslan Kuprieiev <ruslan@iterative.ai>
2019-07-15 20:47:29 +03:00
Steve Pulec
8b3b1f88ab Remove double-dev from release name. 2019-07-14 22:40:41 -05:00
Steve Pulec
86e650ff01 Set version to 1.3.14.dev. 2019-07-14 22:30:09 -05:00
Steve Pulec
cf95313b39 Disable non-prereleases; prep for 1.3.13. 2019-07-14 21:14:20 -05:00
Steve Pulec
77d5d099b9 Fix where we check version length. 2019-07-14 20:58:59 -05:00
Steve Pulec
81da2f5ff1 Add more debug logs. 2019-07-14 20:49:30 -05:00
Steve Pulec
57136a5f1b Prep for release 1.3.12 2019-07-14 20:39:57 -05:00
Berislav Kovacki
e67e2deee4 Extend EC2 DescribeNetworkInterface filter support
* add description property to EC2 NetworkInterface
* extend DescribeNetworkInterfaces filter support with description,
subnet-id, private-ip-address attributes
2019-07-15 00:01:37 +02:00
jakzo
9633917aec Fix ID generation 2019-07-14 16:37:54 +00:00
Asher Foa
4a87bdf1f3 Update supported python versions, add badages. 2019-07-13 13:16:12 -07:00
Berislav Kovacki
4ed189c454 Add support for VpcSecurityGroups set/update in RDS 2019-07-13 08:19:23 +02:00
Chih-Hsuan Yen
92bf8eff12
setup.py: remove unnecessary 'datetime' entry
This entry is added in [1]. New statements in [1] use the built-in datetime module, which is available since Python 2.3 [2]. On the other hand, when running `pip install moto`, pip installs Zope Datetime module [3], which is unnecessary.

[1] ed93821621
[2] https://docs.python.org/2.7/library/datetime.html
[3] https://pypi.org/project/DateTime/
2019-07-12 11:48:07 +08:00
Steve Pulec
396cb39676
Merge pull request #2296 from bkovacki/create-rds-with-option-group
Add support for OptionGroupName in create_db_instance
2019-07-11 19:56:41 -05:00
Berislav Kovacki
4fd0b5c710 Add support for OptionGroupName in create_db_instance 2019-07-11 22:43:42 +02:00
Garrett Heel
0093a7992f dynamodb2: Defer evaluation of the OR RHS in condition expr 2019-07-11 08:29:07 -04:00
Steve Pulec
108dc6b049 Prep for 1.3.11 2019-07-10 22:18:24 -05:00
Steve Pulec
ab67c1b26e 1.3.10 2019-07-10 22:04:31 -05:00
Steve Pulec
c2e382f537 Dont test context manager in server mode. 2019-07-10 21:40:49 -05:00
Steve Pulec
b19c201975 Cleanup model ref resetting. 2019-07-10 21:16:11 -05:00
Steve Pulec
308712841c Have context manager return mock. 2019-07-09 20:31:43 -05:00
Steve Pulec
12aa5dddf7
Merge pull request #2289 from spulec/fix-2275
Fix for UpdateExpression with newline. Closes #2275.
2019-07-09 19:58:32 -05:00
Steve Pulec
6a13d54616
Merge pull request #2266 from garrettheel/feat/dynamodb-expressions
Improve DynamoDB condition expression support
2019-07-09 18:22:55 -05:00
Steve Pulec
53f8997d62 Fix for UpdateExpression with newline. Closes #2275. 2019-07-09 18:21:00 -05:00
Garrett Heel
ba95c945f9 remove dead code 2019-07-09 09:20:35 -04:00
Steve Pulec
e77c4e3d09 Add getting setup to contributing. 2019-07-08 20:42:36 -05:00
Steve Pulec
d758952d84
Merge pull request #2287 from bkovacki/add-instance-create-time-to-db-instance
Add InstanceCreateTime to DBInstance
2019-07-08 19:43:07 -05:00
Berislav Kovacki
c51ce76ee9 Add InstanceCreateTime to DBInstance 2019-07-09 02:10:33 +02:00
Steve Pulec
7bb2b9dc8c
Merge pull request #2016 from adriangalera/ses->sns
Enable SES feedback via SNS
2019-07-08 19:00:58 -05:00
Steve Pulec
a9ec1c7ee7
Merge pull request #2082 from markchalloner/mark-alias-target
Fix route53 alias response.
2019-07-08 18:27:22 -05:00
Steve Pulec
841eaf3886
Merge pull request #2286 from acsbendi/assume-role-fix
AssumeRole returns randomly generated credentials.
2019-07-08 18:23:15 -05:00