Commit Graph

2761 Commits

Author SHA1 Message Date
Terry Cain
453da4c8b3
Added CreateEnvironment to cloudformation 2017-10-20 00:51:04 +01:00
Argishti Rostamian
427705c9f0 check is subject_alt_names is not none before checking length 2017-10-19 14:53:56 -07:00
Jack Danger
d63040c5d1 Merge pull request #1274 from WhileLoop/fix-acm-expiration-check
Fix timezone mismatch in acm certificate created date and now date check
2017-10-19 13:35:32 -07:00
Terry Cain
d67ef8d128
Merge branch 'master' into batch 2017-10-19 21:16:40 +01:00
Argishti Rostamian
760f466a9c Fix timezone mismatch in acm certificate created date and now date check 2017-10-18 17:30:00 -07:00
Terry Cain
b40c5e557e Fixed S3 versioning bug + minor cleanup (#1272)
* Fixed S3 versioning bug + minor cleanup

Fixes 1271

* flake8
2017-10-18 16:22:35 -07:00
John Kerkstra
b8a0cfd6f7 filter out already related elbs to prevent duplicates (#1270) 2017-10-18 14:23:14 -07:00
Jack Danger
b286123425 bumping to version 1.1.23 (#1269) 2017-10-17 18:33:57 -07:00
Jack Danger
317dbbd1a3 requiring minimum botocore (#1268)
Boto and Boto3 can be a little old but Moto will throw an error if
botocoe doesn't even know about some of the services it supports.
As of this commit Polly is new enough some users are running into
exceptions.
2017-10-17 18:13:27 -07:00
Andrew Miller
194da53a0e Correct the type of a default attribute in SNS PlatformEndpoint (#1267)
The `Enabled` Attribute in the PlatformEndpoint of SNS current returns a boolean, however, the 'enabled' property is expecting a string as `.lower()` is called on the result.

This change simply changes the default from `True` to `'True'` so the property works as expected.
2017-10-17 10:42:29 -07:00
John Kerkstra
b8bb6c2dcf Fix bug with update_attached_elbs (#1266)
* fixed bug where we were using elb_backend.describe_load_balancers
incorrectly, returning all available load balancers when we wanted none.

* improve skip, clean up tests
2017-10-16 22:04:47 -07:00
John Kerkstra
0af3427c15 Add autoscaling load balancer methods (#1265)
* add attach_load_balancers, detach_load_balancers,
describe_load_balancers methods

* prefer using amzn_request_id decorator to generate unique request ids
2017-10-16 19:07:00 -07:00
John Kerkstra
5ef236e966 Add attach_ and detach_instances methods to autoscaling service (#1264)
* add detach_instances functionality to autoscaling service

* use ASG_NAME_TAG constant

* cleanup models method a bit, add mocked DetachInstancesResult to
response template

* add attach_instances method
2017-10-16 17:09:51 -07:00
Terry Cain
49ddb500a8 AWS X-Ray client mock. (#1255)
* X-Ray Client SDK patched

Fixes #1250

* Fixed flake8

* Fixed some issues

* Fixed flake8

* Fixed more typos

* Fixed python2 string

* Fixed aws-sdk patch order

* Added more test cases to test the patching
2017-10-16 17:06:22 -07:00
Terry Cain
2bb3e841d1 Fixed #1261 dynamodb FilterExpression bugs (#1262)
* Fixed #1261 dynamodb FilterExpression bugs

FilterExpression was incorrectly handling numbers, stupid typo there. Also >= <= and <> was not being parsed correctly.

* Switched up logic a bit for better end result. Fixes #1263

* Fixed another bug
2017-10-16 13:56:03 -07:00
Tom Elliff
a6c38913a7 Add more tests for task count of container instance 2017-10-13 09:37:39 +01:00
Terry Cain
f3623e3cd3 Fix for #1258 (#1260)
* Fix for #1258

* Updated doc link
2017-10-12 13:59:02 -07:00
Tom Elliff
51afd54229 Fix runningTasksCount ECS container instance attribute
ECS container instances have attributes of 'runningTasksCount' and 'pendingTasksCount'.
See Boto3 docs here: http://boto3.readthedocs.io/en/latest/reference/services/ecs.html#ECS.Client.describe_container_instances
REST API docs here: http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeContainerInstances.html#API_DescribeContainerInstances_ResponseSyntax
2017-10-12 13:26:19 +01:00
Terry Cain
e3024ae1ba
Implemented Terminate, Cancel and List jobs 2017-10-11 23:46:27 +01:00
Terry Cain
ddd52a5a97
Merge branch 'master' into batch 2017-10-11 23:02:47 +01:00
Jack Danger
098dd3fa1c Merge pull request #1257 from bpandola/fix/newlines-in-create-access-key-response
Remove newlines from create-access-key response
2017-10-11 11:54:59 -07:00
Brian Pandola
8021098815 Remove newlines from create-access-key response 2017-10-11 10:57:15 -07:00
Jack Danger
7c54d9672b Merge pull request #1253 from JackDanger/version-1.1.22
bumping to version 1.1.22
2017-10-10 13:45:11 -07:00
Jack Danger
9a55b0951b changelog for 1.1.22 2017-10-10 13:39:42 -07:00
Jack Danger
94fd0ad9f8 bumping to version 1.1.22 2017-10-10 13:36:50 -07:00
Jack Danger
aa46795ade Merge pull request #1252 from JackDanger/jack/implement-sqs-queuedoesnotexist-error
implement SQS QueueDoesNotExist error
2017-10-10 13:36:45 -07:00
Jack Danger
dc40fce146 implement SQS QueueDoesNotExist error 2017-10-10 13:05:48 -07:00
Jack Danger
de57abf63f Merge pull request #1245 from terrycain/scan_filter_expression
Added overkill FilterExpression to dynamodb scan
2017-10-10 13:05:07 -07:00
Terry Cain
9a6ded32ea
More spelling 2017-10-08 10:36:02 +01:00
Terry Cain
9f59f1f7ca
Spelling fix ;-) 2017-10-08 10:34:30 +01:00
Jack Danger
371bb2b824 Merge pull request #1248 from JackDanger/jack/reverting-codecov
Reverting the code that send coverage to codecov.io
2017-10-07 20:59:07 -07:00
Terry Cain
d145b5dc18
Possible fix 2017-10-08 04:57:40 +01:00
Jack Danger
10b0937de3 Revert "Merge pull request #1246 from JackDanger/jack/trying-codecov"
This reverts commit bd6108dae2, reversing
changes made to c23c5057f2.
2017-10-07 20:46:26 -07:00
Terry Cain
35a69d9f61
Merge branch 'master' into scan_filter_expression 2017-10-08 04:31:34 +01:00
Jack Danger
731bb39fe1 Merge pull request #1239 from terrycain/new_ec2_instance_id_style
Use long format for EC2 instance ID
2017-10-07 20:31:06 -07:00
Terry Cain
77fcafca18
Cleaned up code 2017-10-08 04:18:25 +01:00
Jack Danger
bd6108dae2 Merge pull request #1246 from JackDanger/jack/trying-codecov
trying codecov
2017-10-07 16:24:03 -07:00
Jack Danger
d5fdb837d2 trying codecov 2017-10-07 16:22:48 -07:00
Terry Cain
a5895db4f8
Python27 string type fix 2017-10-07 22:20:16 +01:00
Terry Cain
c86bece382
Added FilterExpression to dynamodb scan 2017-10-07 21:57:14 +01:00
Jack Danger
c23c5057f2 Merge pull request #1244 from radhus/sg_filter_tag_wildcard
Support wildcard tag filters on SecurityGroups
2017-10-06 13:02:55 -07:00
William Johansson
88fb732302 Support wildcard tag filters on SecurityGroups 2017-10-06 21:55:01 +02:00
Jack Danger
da4934fd37 Merge pull request #1242 from drmorr0/modify_spot_fleet_request
Modify spot fleet request
2017-10-06 09:52:27 -07:00
David Morrison
fa3268b7b7 fix tests 2017-10-06 08:07:21 -07:00
David Morrison
3d3d0e916e minor bugfixes and added tests 2017-10-05 18:46:58 -07:00
Terry Cain
e135344f0c
Added simple SubmitJob and DescribeJobs 2017-10-06 01:21:29 +01:00
David Morrison
8ca7ccfcb5 add support for the modify_spot_fleet_request operation 2017-10-05 12:50:42 -07:00
Terry Cain
6eb755029c
fix flake8 2017-10-05 00:09:10 +01:00
Terry Cain
0ca3fcc7a2
Added DescribeJobDefinitions 2017-10-05 00:00:40 +01:00
Terry Cain
558f246115
Added RegisterJobDefinition 2017-10-04 20:17:29 +01:00