Commit Graph

1869 Commits

Author SHA1 Message Date
Steve Pulec
608df89bde Merge pull request #578 from yannlambret/add-modify-subnet-attribute-support
Add support for 'ModifySubnetAttribute' action
2016-04-09 22:27:13 -04:00
Steve Pulec
3f61b9067b Merge pull request #577 from beeva-antonioirizar/cloudwatch_datetime
Add datetime to cloudwatch's alarms
2016-04-09 22:26:22 -04:00
Steve Pulec
9eb410e827 Merge pull request #574 from DarthLorenzo/master
Fixed DynamoDB 'IN' comparison function
2016-04-09 22:25:48 -04:00
RogerLai
d759f3a1ad Added availability-zone filtering to instance collections 2016-04-05 12:55:38 -04:00
Yann Lambret
6d4a48b019 Add support for 'ModifySubnetAttribute' action 2016-04-05 00:17:56 +02:00
beeva-antonioirizar
7540b5f6a6 add datetime to cloudwatch, it had in template's response but it didn't have in model and boto3 need it to work correctly 2016-04-04 15:27:34 +02:00
Jesse Vera
86b86fc066 Fixed DynamoDB 'IN' comparison function 2016-03-29 16:26:46 -05:00
Steve Pulec
1ece813131 Merge pull request #570 from digital-abyss/feature/add-private-ip-filter
Add ip-address and private-ip-address to the list of filters for instance filtering
2016-03-28 23:53:16 -04:00
Steve Pulec
fecbeb28a4 Merge pull request #567 from im-auld/query-filters-issue-164
Query filters issue 164
2016-03-28 23:52:49 -04:00
Steve Pulec
b26140609a Merge pull request #568 from clearcare/update-boto-version-requirement
Moto requires boto >= 2.36.0
2016-03-28 23:52:01 -04:00
Steve Pulec
092e1b1e53 Merge pull request #566 from dmitryzv/feature-ddb-query-add-scannedcount
Added ScannedCount field to DynamoDB query response.
2016-03-28 23:51:27 -04:00
Steve Pulec
f63f6e3f1d Merge pull request #565 from Inbot/master
Propagate stack-level tags to resources
2016-03-28 23:50:10 -04:00
igartley
4bfb522020 Add ip-address and private-ip-address to the list of filters for
instance filtering.

These are described in
http://boto3.readthedocs.org/en/latest/reference/services/ec2.html#EC2.Client.describe_instances

and map to the instance methods of public_ip() and private_ip()
respectively
2016-03-22 18:11:20 -04:00
Jay O'Conor
13ef083271 Update setup.py
Boto >= 2.36.0 required to resolve awslambda ImportError
2016-03-18 12:12:24 -07:00
Jay O'Conor
3957a93a64 Moto requires boto >= 2.33.0
Moto imports a class in boto that did not exist before boto 2.33.0

Partial traceback showing ImportError with versions of boto < 2.33.0:
  File "/src/python/moto/moto/__init__.py", line 8, in <module>
    from .autoscaling import mock_autoscaling  # flake8: noqa
  File "/src/python/moto/moto/autoscaling/__init__.py", line 2, in <module>
    from .models import autoscaling_backends
  File "/src/python/moto/moto/autoscaling/models.py", line 5, in <module>
    from moto.elb import elb_backends
  File "/src/python/moto/moto/elb/__init__.py", line 2, in <module>
    from .models import elb_backends
  File "/src/python/moto/moto/elb/models.py", line 4, in <module>
    from boto.ec2.elb.attributes import (
ImportError: cannot import name ConnectionSettingAttribute
2016-03-18 10:50:40 -07:00
Ian Auld
8848995b93 Replaced dict comp with for loop for Python 2.6 compatibility 2016-03-16 22:15:58 -07:00
Ian Auld
cc1dee03f5 Reorganized tests 2016-03-16 21:32:54 -07:00
Ian Auld
e86b9f441c Added filter_kwargs to response to match boto interface 2016-03-16 21:32:15 -07:00
Ian Auld
d595c60ead Added support for query filtering" 2016-03-16 21:30:51 -07:00
Dmitry Zv
c52e9215b2 Fixed gen() doesn't have len() error. 2016-03-16 16:17:41 -06:00
Dmitry Zv
c2df7732e5 Added ScannedCount field to DynamoDB query response. 2016-03-16 15:53:29 -06:00
Lars Fronius
c94f49cc1e Only count user-assigned tags for TagLimitExceeded
According to
http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html
"Reserved prefix—aws:
AWS-assigned tag names and values are automatically assigned the aws:
prefix, which the user cannot assign. AWS-assigned tag names do not
count towards the tag limit of 10. User-assigned tag names have the
prefix user: in the Cost Allocation Report."
2016-03-15 16:50:57 +01:00
Lars Fronius
519b8e59aa Propagate stack-level tags to resources
According to
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
"All stack-level tags, including automatically created tags, are
propagated to resources that AWS CloudFormation supports. Currently,
tags are not propagated to Amazon EBS volumes that are created from
block device mappings."
2016-03-15 15:36:02 +01:00
Ian Auld
56425c9479 Added tests for index comparisons 2016-03-14 09:39:03 -07:00
Steve Pulec
66032ad37c Merge pull request #560 from jstewmon/boto3-ses
update SES backend to support domain identities and multiple recipients
2016-03-10 08:57:29 -05:00
Steve Pulec
f797f17e5c Merge pull request #561 from andyjones/task/iam-instance-profile-roles
Add roles to the list instance profiles response
2016-03-10 08:55:25 -05:00
andy
71358603ac Add roles to the list instance profiles response 2016-03-10 09:27:52 +00:00
Jonathan Stewmon
fb06c6517e update SES backend to support domain identities and multiple recipients
includes test cases for ses client with boto3
2016-03-09 10:18:50 -06:00
Steve Pulec
af04bb2681 Merge pull request #559 from 2rs2ts/cf-route53-get-by-zone-id
Support HostedZoneId in RecordSet templates
2016-03-07 22:44:19 -05:00
Andrew Garrett
2c72a86778 Support HostedZoneId in RecordSet templates
Signed-off-by: Jesse Szwedko <jesse.szwedko@getbraintree.com>
2016-03-07 19:25:25 +00:00
Steve Pulec
ad2dca607f Merge pull request #557 from 2rs2ts/cf-delete-record-sets
Allow cloudformation to delete Route 53 RecordSets
2016-03-05 18:11:13 -05:00
Steve Pulec
819a8c2563 add apigateway to readme. 2016-03-05 18:09:09 -05:00
Steve Pulec
aebc7c8ea3 Merge pull request #558 from spulec/apigateway
Apigateway
2016-03-05 18:07:20 -05:00
Steve Pulec
88f64deff9 fix py3 2016-03-05 18:01:57 -05:00
Steve Pulec
ba70d8fe8d implement http integration. 2016-03-05 10:54:19 -05:00
Steve Pulec
95f9b3fb35 add integration responses. 2016-03-05 09:48:37 -05:00
Steve Pulec
e3ff8dc510 Add deployments 2016-03-04 18:35:03 -05:00
Steve Pulec
bd57233b10 add integrations. 2016-03-04 18:02:07 -05:00
Andrew Garrett
7779678e2c Allow cloudformation to delete Route 53 RecordSets
While there isn't an API method exposed for directly deleting a Route 53
RecordSet (it's performed via POST that acts more like a PATCH than
anything
else)[http://docs.aws.amazon.com/Route53/latest/APIReference/API_ChangeResourceRecordSets.html],
CloudFormation can have templates which contain RecordSets which refer
to zones that don't exist inside the template. Ergo, we need a way to
effect a delete upon these RecordSets when we don't have a direct
reference to the zone.

This exposes a delete method that isn't hooked up to any response (and
rightfully so), it just enables the ~polymorphic deletion behavior that
we've written into the CloudFormation implementation.

Signed-off-by: Scott Greene <scott.greene@getbraintree.com>
2016-03-03 17:53:05 +00:00
Steve Pulec
b5d5c02d75 0.4.23 2016-03-02 15:40:21 -05:00
Steve Pulec
630c668651 Merge pull request #556 from spulec/fixboto
Fixboto
2016-03-02 15:39:49 -05:00
Steve Pulec
6b0f92c230 unpin dev requirements. 2016-03-02 15:20:58 -05:00
Steve Pulec
75a40e4571 Wrap botocore patching in tyr/except since we do not require it to be installed. 2016-03-02 15:20:35 -05:00
Steve Pulec
aaaddf13e8 add integraiton test. 2016-03-02 15:18:11 -05:00
Steve Pulec
d8a277ed55 Merge pull request #555 from yannlambret/fix-describe-route-tables-response
Fix a typo in DESCRIBE_ROUTE_TABLES_RESPONSE
2016-03-02 15:10:33 -05:00
Steve Pulec
8f80d0ecaa Merge pull request #554 from bcavagnolo/master
add dynamodb pagination
2016-03-02 15:10:12 -05:00
Steve Pulec
9c3b0fb5cf Merge pull request #553 from spulec/feature/nat-gateway
Implement NAT Gateways
2016-03-02 15:09:20 -05:00
Yann Lambret
a06fa082a4 Add two tests for both boto and boto3 as the problem only affects boto3 client 2016-03-02 12:15:47 +01:00
Steve Pulec
a737fbed48 create methods 2016-03-01 18:50:06 -05:00
Yann Lambret
3afd4e0ea9 Correct a typo in DESCRIBE_ROUTE_TABLES_RESPONSE string (duplicate tagSet) that causes buggy responses 2016-03-02 00:34:45 +01:00