Commit Graph

3173 Commits

Author SHA1 Message Date
Joe Keegan
6f6a881e52 rerun tests 2017-12-21 14:12:43 -08:00
Joe Keegan
bb4bc01999 update self.template_dict based on new template 2017-12-21 12:10:27 -08:00
NimbusScale
21606bc8ae update support JSON or YAML 2017-12-18 20:44:04 -08:00
Semyon Maryasin
7a4e48e8df
mock_xray_client: do return what f() returned
fixes #1399
this won't help with fixtures though
2017-12-17 04:40:26 +03:00
Alex M
e75f3ef4d4 Implement execute change set endpoint (#1391) 2017-12-14 12:07:23 +00:00
William Richard
df7a7958c1 Path is an optional property of instance profile cloudformation resource (#1382)
* Path is an optional property of instance profile cloudformation resource

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html

* Path is also optional for iam role clouformation resources

Based on http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html

* Use `properities.get` with a default instead of doing default handling myself
2017-12-14 12:06:04 +00:00
Alexander Mohr
a638019ea2 Merge remote-tracking branch 'spulec/master' 2017-12-11 15:09:27 -08:00
Alex M
2346e14e00 Add create change set endpoint (#1389) 2017-12-11 09:23:35 +00:00
Alexander Mohr
9d087b0729 add subject support (#1387) 2017-12-10 21:59:04 +00:00
Alexander Mohr
f763de85fb Merge remote-tracking branch 'spulec/master' 2017-12-08 17:21:30 -08:00
Chris Tomlinson
279efc6b12 Bump flake8 version and handle new lint errors (#1385) 2017-12-08 21:02:34 +00:00
Chris Tomlinson
499857e67f Fix co-operative inheritance for ec2 model (#1383) 2017-12-08 21:00:34 +00:00
Brian Cavagnolo
d2eea02774 add support for kinesis AT_TIMESTAMP shard iterator (#1376)
Fixes #813
2017-12-08 10:57:05 +00:00
William Richard
92f5f7b263 Add cloudformation update from s3 support (#1377)
* Fix variable name typo

* Make it possible to delete EC2 instances from cloudformation json

* Add support for updating a cloudformation stack from an s3 template url
2017-12-08 10:48:29 +00:00
David Bartle
52ce8d378f IAM delete_server_certificate (#1380)
* IAM delete_server_certificate

* flake8 fixes
2017-12-08 10:43:09 +00:00
Enis Afgan
0c01c7f495 Allow AMIs to be read from a custom file path (#1379) 2017-12-06 10:14:56 +00:00
Alexander Mohr
81f3cbb548 fix cloudwatch bug (#1374)
* bugfix + add tests
2017-12-05 09:25:08 +00:00
Pierre Tardy
d8f6f77a0f Fix prebuilt images usability. (#1375)
- add a better error message when user uses an unknown ami
- add image_location in the default fake images

Fixes #1372
2017-12-05 09:22:13 +00:00
Alexander Mohr
f541ff932c Merge remote-tracking branch 'spulec/master' 2017-12-04 12:27:07 -08:00
Alexander Mohr
97687d153a Implement CloudWatch get_metric_statistics (#1369)
* implement get_metric_statistics
2017-12-01 20:37:27 +00:00
Alexander Mohr
c36f1b6aab Merge remote-tracking branch 'spulec/master' 2017-11-30 13:01:33 -08:00
Ben Slusky
796fa6647b modify_db_instance should be able to rename DB instances (#1367) 2017-11-30 11:41:25 +00:00
Kai Xia(夏恺)
9e1a233549 fix KeyError in delete_alias in the KmsBackend. (#1359)
* fix KeyError in delete_alias in the KmsBackend.

If there're several aliases in the backend, previously we will bump into
a KeyError here.

Signed-off-by: Kai Xia <xiaket@gmail.com>

* add doc to make travis try one more time.

Signed-off-by: Kai Xia <xiaket@gmail.com>
a

* add another key and alias before the deletion of an alias.

This was done to make sure that we can correctly handle the deletion
when there are more than one alias defined.

Signed-off-by: Kai Xia <xiaket@gmail.com>
2017-11-27 10:36:25 +00:00
Terry Cain
a1f2ba21ee
Adds if_not_exists function to DynamoDB Update Expression
Fixes #1358
2017-11-26 22:29:23 +00:00
Terry Cain
d5ee48eedd
Lambda improvements (#1344)
* Revamped the lambda function storage to do versioning.

* Flake8

* .

* Fixes

* Swapped around an if
2017-11-26 21:28:28 +00:00
Toshiya Kawasaki
cfc994d0ae Add publish operation to iotdata (#1362)
* add publish operation to iotdata

* restart ci
2017-11-24 17:22:53 +00:00
Jack Danger
172396e6a8 Updating CONTRIBUTING with release instructions 2017-11-20 13:17:24 -08:00
Jack Danger
e227a30aa9
Merge pull request #1352 from JackDanger/version-1.1.25
bumping to version 1.1.25
2017-11-20 12:09:01 -08:00
Jack Danger
0f3c6df836 Updating implementation coverage 2017-11-20 12:07:37 -08:00
Jack Danger
360d497885 Updating implementation coverage 2017-11-20 12:05:29 -08:00
Jack Danger
a8ebb25efc sorting implementation coverage 2017-11-20 12:05:25 -08:00
Jack Danger
2b9e834e84 sorting implementation coverage 2017-11-20 10:34:07 -08:00
Jack Danger
6e840022fb Changelog entry for 1.1.25 2017-11-20 10:31:47 -08:00
Jack Danger
81053e84fa Updating implementation coverage 2017-11-20 10:29:04 -08:00
Jack Danger
1744f4340f bumping to version 1.1.25 2017-11-20 10:26:59 -08:00
Toshiya Kawasaki
871625998c tweak ecrv2 FakeTargetgroups's default value (#1351) 2017-11-20 17:13:47 +00:00
Toshiya Kawasaki
49a2724d76 Set default value to elbv2 FakeTargetGroup (#1349) 2017-11-20 11:18:21 +00:00
justinsr20
17b8396a9c updated rds status from shutdown to stopped to match aws (#1347) 2017-11-20 09:07:36 +00:00
Jessie Nadler
04c5198a0c Add default ecs attributes and format in response obj (#1346)
* Initialize EC2ContainerServiceBackend and ContainerInstance objects with region_name

* Initialize ContainerInstance with default attributes
  * These attributes are automatically applied by ECS when a container is registered
  * Docs: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes

* Format container_instance.attributes for response_object

* Python3

* Only use available ECS regions for ecs_backends

* Sort dictionaries on key='name' using lambda

* Sort all dicts in tests using lambda
2017-11-17 18:25:08 +00:00
Victor Hiairrassary
caec929506 Improve SSM PutParameter & DescribeParameters actions (#1348) 2017-11-17 08:57:11 +00:00
Terry Cain
2609f6cd3a
Added support for dynamo update_item on nested dicts (#1345) 2017-11-17 08:49:59 +00:00
Waldemar Hummer
cdb7305dac use S3 path style addressing when running in kubernetes (#1315) 2017-11-15 19:37:39 +00:00
Hugo Lopes Tavares
aa6a0765c1 Move target group default values to model FakeTargetGroup (#1343)
Before this commit everything that needs to create target groups
had to handle the default values (i.e., cloudformation call & ELBV2Response call)
2017-11-15 19:36:53 +00:00
Hugo Lopes Tavares
7b1ec157b8 Add proper CFN attribute handling to elbv2.FakeLoadBalancer (#1341) 2017-11-15 15:11:11 +00:00
Terry Cain
8ee05e22af
[WIP] Resource tagging (#1332)
* Ran scaffold

* Made a start on get_resources.

* Added more EC2 to tag list

* More stuff

* Added more methods

* Added S3 region name

* Added values test

* Some final touchups
2017-11-15 00:03:00 +00:00
Archa91
474023f9a1 fix EC2 instances ebsOptimized not handled (#1340)
* fix EC2 instances ebsOptimized not handled

* add test_create_instance_ebs_optimized
2017-11-14 14:31:54 +00:00
Adam Gilman
2ad0f2fc1c SNS create_topic should only accept valid characters (#1329)
* SNS create_topic should only accept valid characters

Closes #1328

* Fix flake8 errors

* Updated regex to match full TopicName constraints

Fixed test_server as it contained invalid TopicNames’ per constraints

* fix error message for invalid topic name
2017-11-13 18:27:11 +00:00
Seiro Ogasawara
abd4d09afe fix error response on iot/iot-data (#1337)
* fix iot/iot-data's:
- format of response body xml to json
- status code 400 to 404 on ResourceNotFound

* for ci test
2017-11-13 08:54:10 +00:00
Jack Danger
5f8c7d372e
Merge pull request #1336 from spulec/jack/renegerate_implementation_coverage
Updating implementation coverage
2017-11-12 10:27:30 -08:00
Jack Danger
988511fc38 Updating implementation coverage 2017-11-12 10:23:29 -08:00