Steve Pulec
a3d5c771ef
Merge pull request #367 from spg/fix/iam_get_role
...
IAM: unnecessary check for role
2015-06-29 21:00:48 -04:00
Simon-Pierre Gingras
9a2e7ad8b0
IAM: unnecessary check for role
2015-06-29 11:04:40 -04:00
Steve Pulec
185b49ad66
Merge pull request #366 from spg/fix/iam_get_role
...
IAM: get_role should thrown when role is unexisting
2015-06-29 10:51:47 -04:00
Simon-Pierre Gingras
db7d7a9330
IAM: get_role should thrown when role is unexisting
2015-06-29 10:46:05 -04:00
Marco Rucci
6e97bec006
Add support for alias records in Route53.
2015-06-28 17:27:24 +02:00
Steve Pulec
3ed9428cb0
Cleanup class decorator. Closes #363 .
2015-06-27 19:01:01 -04:00
Steve Pulec
5ee1525cd8
Fix S3 missing key error. Closes #364 .
2015-06-27 17:56:37 -04:00
Steve Pulec
20306c9b24
Set more default datetimes.
2015-06-22 17:02:10 -04:00
Steve Pulec
640cd2ce44
Better EC2 NIC Attachment datetimes.
2015-06-22 16:52:12 -04:00
Daniel O'Connell
5cc8f9ed21
S3_BUCKET_VERSIONING and S3_BUCKET_GET_VERSIONING were generating invalid XML, as the '<?xml version="1.0" encoding="UTF-8"?>' bit must be on the first line.
2015-06-12 08:56:14 +02:00
Steve Pulec
77af26987f
0.4.3
2015-06-09 22:03:50 -04:00
Steve Pulec
62f82cea03
Python3 fix.
2015-06-05 21:37:47 -04:00
Steve Pulec
57f1199b35
Fix route53 multiple values bug. Closes #358 .
2015-06-05 21:29:20 -04:00
Steve Pulec
1177985e19
Python 3 fixes.
2015-06-05 19:56:43 -04:00
Steve Pulec
625b1d2ac6
Add basics of Glacier.
2015-06-05 19:36:43 -04:00
Steve Pulec
7156df1a63
Add vault operations.
2015-06-03 22:55:07 -04:00
Steve Pulec
91fffbb83b
Add basics for S3 bucket lifecycles.
2015-06-02 23:11:23 -04:00
Steve Pulec
72dbd349ac
Merge pull request #355 from deuxpi/cloudwatch-put-metric-data
...
Add put_metric_data and list_metrics
2015-05-29 23:36:23 -04:00
Steve Pulec
6a0e8df189
Merge pull request #354 from silveregg/0.4.1-threadsafe
...
threadsafe fix
2015-05-29 23:34:55 -04:00
Steve Pulec
8fa80b87e2
Add version to moto.__init__ Closes #353 .
2015-05-29 23:32:29 -04:00
Steve Pulec
0195e04053
Allow deleting of SQS invisible messages. Closes #352 .
2015-05-29 23:26:43 -04:00
Steve Pulec
6b44e41249
Add SQS purge_queue action. Closes #349 .
2015-05-29 23:21:14 -04:00
Philippe Gauthier
d5d9c13975
Add put_metric_data and list_metrics
2015-05-29 17:34:36 -04:00
Jeffrey Gelens
450d14b4eb
Fix ValueError for Python 2.6
2015-05-29 11:43:24 +02:00
Jeffrey Gelens
e722b67f36
Merge branch 'master' of https://github.com/spulec/moto into 0.4.1-threadsafe
...
* 'master' of https://github.com/spulec/moto : (25 commits)
Add @zkourouma to authors.
0.4.2
Fix bug where listener certificate was not being saved correctly when creating an elb. Added test to cover that case.
[dynamodb2] adds lookup method to Table class
Add IAM list_groups and list_groups_for_user. Closes #343 .
Fix for deleting Route53 record sets with set identifiers. Closes #342 .
Use dummy date instead of an invalid date
Adding support for comments on hosted zones.
Add availability zone support to Subnets created via CloudFormation
Make availability zone dynamic in Subnet Response templates
Add filter "availabilityZone" to DescribeSubnets and add availability zone support too
allow starting without reseting
Fix bug with empty string for instance vpc_id. Closes #337 .
Fix default security group description.
Update responses.py
Add @mrucci to authors.
Fix merge conflicts.
Add support for ELB attributes.
cast to int when doing math.
General cleanup.
...
2015-05-29 11:35:14 +02:00
Jeffrey Gelens
f5c4ac0b44
Merge branch 'master' of https://github.com/silveregg/moto into 0.4.1-threadsafe
...
* 'master' of https://github.com/silveregg/moto : (22 commits)
filtering the items is needed because of defaultdict is not threadsafe and returns an empty dict which results in an exception here
add tests for list_endpoints_by_platform_application
add mock for list_endpoints_by_platform_application method
[S3]Only add multipart part_id to partlist if it is not already in there. Closes #324 .
Fix etag for reduced min part size.
Add test_multipart_duplicate_upload
Fix reduced_min_part_size so that tests run
Fix authors
Add @mikegrima to authors
Fixed how parameters are passed in following clarification on GitHub comments.
Added in test for the boto IAM method: list_instance_profiles_for_role()
Change SecurityGroupBackend.{authorize,revoke}_security_group_ingress() methods to receive group name or id, never both
Add support to AWS::EC2::SecurityGroupIngress creation
Add @aaltepet to authors.
Add publish command.
Add support to tag filtering to Security Groups
slight change in formatting
fix test for ec2 instance type filter
Update minimum support boto version.
support 'instance_type' filter
...
2015-05-29 11:34:23 +02:00
Kevin Donnelly
3c75e0ef2e
Fix bug where listener certificate was not being saved correctly when
...
creating an elb. Added test to cover that case.
Paired with @jszwedko
2015-05-20 19:42:58 +00:00
Zack Kourouma
f03ded7e90
[dynamodb2] adds lookup method to Table class
...
includes additional test coverage
2015-05-20 11:20:16 -04:00
Michael
5da5c571a9
filtering the items is needed because of defaultdict is not threadsafe and returns an empty dict which results in an exception here
2015-05-20 09:36:40 +02:00
Steve Pulec
be5f041416
Add IAM list_groups and list_groups_for_user. Closes #343 .
2015-04-30 19:32:53 -04:00
Steve Pulec
d1c823e0d8
Fix for deleting Route53 record sets with set identifiers. Closes #342 .
2015-04-30 18:51:01 -04:00
Francisco De Freitas
e320190b42
Use dummy date instead of an invalid date
2015-04-28 13:39:48 +02:00
Philip Corliss
b27f3c3d9f
Adding support for comments on hosted zones.
...
Paired with @kpdonn
2015-04-23 19:01:20 +00:00
Steve Pulec
7382201dd7
Merge pull request #339 from porterjamesj/allow-start-without-reset
...
allow starting without reseting
2015-04-09 23:04:44 -04:00
Hugo Lopes Tavares
5160fac9b7
Add availability zone support to Subnets created via CloudFormation
2015-04-08 16:48:02 -04:00
Hugo Lopes Tavares
65d51a5844
Make availability zone dynamic in Subnet Response templates
2015-04-08 16:47:43 -04:00
Hugo Lopes Tavares
56cb06041c
Add filter "availabilityZone" to DescribeSubnets and add availability zone support too
2015-04-08 15:07:29 -04:00
James Porter
fae22fd872
allow starting without reseting
2015-04-02 22:47:11 -05:00
Steve Pulec
82214d2bc2
Fix bug with empty string for instance vpc_id. Closes #337 .
2015-03-28 14:30:30 -04:00
Steve Pulec
bdfbdd8b1c
Fix default security group description.
2015-03-28 14:13:28 -04:00
Tin Tvrtković
8327055239
Update responses.py
...
Add a dummy NextToken to sns.list_platform_applications. Ideally the library would actually paginate, but this should be an alright change in the mean time.
2015-03-26 16:24:48 +01:00
Steve Pulec
a97beb0598
Fix merge conflicts.
2015-03-22 16:00:16 -04:00
Steve Pulec
f2bfcfb803
Merge pull request #335 from mrucci/elb-attributes-support
...
Add support for ELB attributes.
2015-03-22 15:55:26 -04:00
Marco Rucci
08468e5f73
Add support for ELB attributes.
2015-03-22 15:35:27 +01:00
Chris Henry
4626fc0fea
cast to int when doing math.
2015-03-21 21:54:25 -04:00
Jeffrey Gelens
c2f2c16892
Fixed non threadsafe code
2015-03-16 13:13:40 +01:00
Steve Pulec
c0d19ab178
General cleanup.
2015-03-14 18:55:44 -04:00
Steve Pulec
6c9bba2ca1
Cleanup EC2 classic default security group.
2015-03-14 18:50:41 -04:00
Steve Pulec
82f19952dd
Add Dynamodb2 global indexes. Closes #329 .
2015-03-14 15:02:43 -04:00
Steve Pulec
ca39591ef2
Fix error string formatting for py26.
2015-03-14 09:19:36 -04:00
Steve Pulec
e2d75cba2c
Remove dict comprehension for py2.6
2015-03-14 09:13:58 -04:00
Steve Pulec
706c60175b
Add SNS applications and endpoints.
2015-03-14 09:06:31 -04:00
Jair Henrique
e23edaa47f
add mock for list_endpoints_by_platform_application method
2015-03-06 14:10:47 -03:00
Steve Pulec
07dd6e554e
[S3]Only add multipart part_id to partlist if it is not already in there. Closes #324 .
2015-03-05 19:32:02 -05:00
Steve Pulec
2cd633e27d
Merge pull request #323 from mikegrima/mgrima-add-boto-test-list_instance_profiles_for_role
...
Added in test for the boto IAM method: list_instance_profiles_for_role()
2015-02-27 15:32:16 -05:00
Mike Grima
70315fd67c
Fixed how parameters are passed in following clarification on GitHub comments.
2015-02-27 12:22:31 -08:00
Mike Grima
3a357c0fe3
Added in test for the boto IAM method: list_instance_profiles_for_role()
2015-02-26 21:28:15 -08:00
Hugo Lopes Tavares
4beda26007
Change SecurityGroupBackend.{authorize,revoke}_security_group_ingress() methods to receive group name or id, never both
2015-02-25 18:11:00 -05:00
Hugo Lopes Tavares
dc351dfc9e
Add support to AWS::EC2::SecurityGroupIngress creation
2015-02-25 12:20:25 -05:00
Steve Pulec
c0e80de4d3
Merge pull request #317 from spulec/ec2-security-group-tag-filtering
...
Add support to tag filtering to Security Groups
2015-02-24 18:00:51 -05:00
Hugo Lopes Tavares
20d8318997
Add support to tag filtering to Security Groups
2015-02-24 17:56:26 -05:00
Andy Altepeter
e17c7bbd7a
support 'instance_type' filter
2015-02-23 11:03:59 -06:00
Andy Altepeter
53ec30e3ba
support 'tag-key' instance type
2015-02-23 10:45:16 -06:00
John Lynn
0496d4669e
Fix bucket versioning when running under moto_server
2015-02-22 22:22:41 +07:00
Konstantinos Koukopoulos
f46c2508c0
allow running mock_s3 and mock_s3bucket_path one after the other
2015-02-20 21:50:49 +02:00
Steve Pulec
747563e4ff
Cleanup tag escape testing.
2015-02-17 22:18:40 -05:00
Steve Pulec
f7bd9f9f68
Merge pull request #307 from dbrandenburg/master
...
Escaping tags individually for building the describe_tags template
2015-02-17 22:17:07 -05:00
Hugo Lopes Tavares
8d25aa2529
Add support to create AWS::EC2::VPCPeeringConnection through the CloudFormation interface
2015-02-17 14:40:48 -05:00
Dennis Brandenburg
3bd1a62fe3
Escaping tags individually for building the describe_tags template to support get_all_tags
2015-02-17 10:23:15 +01:00
Mike Fuller
95e48336d9
Merge remote-tracking branch 'upstream/master' into adding_rds2_support
2015-02-17 07:04:33 +11:00
Chris Henry
af41f69da0
fix: put db name in quotes, if present.
2015-02-15 18:51:34 -05:00
Steve Pulec
136873d49e
Cleanup public IPs for EC2 classic instances and fix some default ENI things.
2015-02-14 14:42:20 -05:00
Steve Pulec
95b1fa42b2
Add EMR clusters and tagging.
2015-02-14 12:00:14 -05:00
Steve Pulec
5ededbb297
Fix security group tags. Closes #301 .
2015-02-14 08:57:14 -05:00
Steve Pulec
31bf84b363
Fix six import. Closes #299 .
2015-02-14 08:43:17 -05:00
Steve Pulec
53a6d2466b
Merge pull request #298 from kouk/ranged_get
...
support ranged get in S3
2015-02-14 08:35:23 -05:00
Steve Pulec
4d4cb39769
Merge pull request #297 from kouk/multipart_errors
...
Support for client supplied part order in multipart uploads
2015-02-14 08:30:10 -05:00
Steve Pulec
2bc771349a
Merge pull request #302 from spulec/fix-cloudformation-vpc-gateway-attachment-creation
...
Attach internet gateway to VPC when it is created through CloudFormation
2015-02-11 18:26:00 -05:00
Hugo Lopes Tavares
1546635fcd
Attach internet gateway to VPC when it is created through CloudFormation
2015-02-11 18:19:40 -05:00
Konstantinos Koukopoulos
e1163e5223
fix some boundary conditions
2015-02-10 19:43:24 +02:00
Konstantinos Koukopoulos
261328d449
set content-range header so boto knows this is a ranged response
2015-02-10 19:15:10 +02:00
Konstantinos Koukopoulos
418a6a118e
return proper status codes in range get, fix suffix range
2015-02-10 19:14:47 +02:00
Konstantinos Koukopoulos
9efd12c43c
support more range specifiers in ranged gets
2015-02-10 17:55:44 +02:00
Konstantinos Koukopoulos
dbf1e64d44
support ranged get in S3
2015-02-10 17:28:18 +02:00
Konstantinos Koukopoulos
2dd174b577
use request body in complete upload, improve exception handling
2015-02-10 16:56:56 +02:00
Konstantinos Koukopoulos
7250186c26
support multipart uploads when parts are uploaded out of order
2015-02-10 16:45:31 +02:00
Konstantinos Koukopoulos
1460a5a3c7
refactor S3 exceptions to inherit from RESTError
2015-02-10 15:33:18 +02:00
Konstantinos Koukopoulos
7c719269be
create a base RESTError exception
2015-02-10 15:31:28 +02:00
Mike Fuller
abae19d273
fixing up base64 encoding for python 3 back to using base64 module
2015-02-05 17:07:08 +11:00
Mike Fuller
d0a60d8702
fixing up base64 encoding for python 3
2015-02-05 17:03:11 +11:00
Mike Fuller
d1f82b83ec
Merge remote-tracking branch 'upstream/master' into adding_iam_credentials_report
2015-02-04 12:40:36 +11:00
Mike Fuller
ffff67692c
encode credential_report to ascii to help the base64 encoding work.
2015-02-04 12:39:28 +11:00
Steve Pulec
ea07dd1cc7
Merge pull request #292 from mfulleratlassian/adding_rds2_support
...
Adding rds2 support
2015-02-03 20:26:25 -05:00
Hugo Lopes Tavares
c40437398f
Add StorageType and Iops elements to DBInstance XML response
2015-02-03 16:50:14 -05:00
Mike Fuller
96e5f2875d
Merge remote-tracking branch 'upstream/master' into adding_iam_credentials_report
2015-02-03 09:43:55 +11:00
Mike Fuller
5eab1901e4
added get/generate credential report to mock_iam
2015-02-03 09:42:57 +11:00
Hugo Lopes Tavares
c0cbd59167
Make RDS interface work with us-east-1 region
2015-02-02 16:37:57 -05:00
Mike Fuller
41507e4baa
Fixes for tests run on python 2.6.9
2015-01-30 19:54:43 +11:00
Mike Fuller
cff5238929
Fixed up use of format using {} instead of {0} which seams to break python 2.6.x
2015-01-30 17:28:41 +11:00
Mike Fuller
d350ac438e
Merge remote-tracking branch 'upstream/master' into adding_rds2_support
2015-01-30 17:14:13 +11:00
Mike Fuller
0d958e9b1c
Added read replica support
2015-01-30 17:12:51 +11:00
Steve Pulec
06476ccb3a
Merge pull request #291 from jbalogh/delimiter
...
Folder results should include the delimiter.
2015-01-29 22:49:09 -05:00
Mike Fuller
42ab9312bb
Added db_subnet_group support
2015-01-30 08:18:15 +11:00
Jeff Balogh
c7bf6ffc91
Folder results should include the delimiter.
2015-01-29 09:20:40 -08:00
Josh Palmer
7e3516f997
Added support for listing multipart uploads with prefix.
2015-01-29 17:24:23 +01:00
Mike Fuller
8614b50898
Added DB Security Group Create/List/Delete/Authorize
2015-01-29 17:25:39 +11:00
Mike Fuller
3d431664f7
Added some TODOs for my memory.
2015-01-29 07:31:11 +11:00
Mike Fuller
884bd51604
Added tests add/remove/list tags on option groups
2015-01-29 07:24:03 +11:00
Mike Fuller
e42046aeda
extended the list/add/delete tags functions to support more resource types.
2015-01-29 07:15:03 +11:00
Mike Fuller
15fcec9c33
Returning dymanic response for add_tags_to_resource
2015-01-28 10:24:11 +11:00
Mike Fuller
10c0ffc2f2
Added remove_tags_from_resource for rds db and add_tags_to_resource for rds db.
2015-01-28 10:17:55 +11:00
Chris Henry
f78d3b79df
Fix json templates to include DBInstance element.
2015-01-27 01:53:42 -05:00
Chris Henry
df036fe207
rds2 model fixes.
...
* Add the endpoint data to the to_json function.
* Remove the DBInstance key from the to_json template.
2015-01-27 01:28:38 -05:00
Mike Fuller
2dde94c9be
Storing tags on create db instance and getting tags back in list_tags_for_resource
2015-01-27 09:04:39 +11:00
Mike Fuller
6559d11dd5
Merge remote-tracking branch 'upstream/master' into adding_rds2_support
2015-01-27 08:24:54 +11:00
Mike Fuller
6232abfe2d
Added reboot instance and list_tags_for_resource. Still need to get the tags populated.
2015-01-27 08:21:48 +11:00
Chris Henry
bba08f05b1
Change the describe subnet groups over to json.
2015-01-26 15:38:56 -05:00
Chris Henry
1ccf1191cd
Instead of a regex, add a second url pattern
2015-01-26 13:54:40 -05:00
Chris Henry
2352e27c3e
Remove todo.
2015-01-26 13:35:28 -05:00
Chris Henry
25d0c0926d
Change CREATE_SUBNET_GROUP_TEMPLATE to json.
2015-01-26 13:34:21 -05:00
Chris Henry
850b15d849
Add a to_json method to SubnetGroup.
2015-01-26 13:33:46 -05:00
Chris Henry
4f822f58e8
Loosen the url pattern a bit. I was seeing boto send requests to rds.amazonaws.com
2015-01-26 13:33:11 -05:00
dreadpirateshawn
d631f869c1
ModifyImageAttribute: Added support for user permissions.
2015-01-23 09:43:54 -08:00
Steve Pulec
dd5cab8c63
Return random IP addresses for instances.
2015-01-21 21:58:38 -05:00
Mike Fuller
8671f1e29f
Merge remote-tracking branch 'upstream/master' into adding_rds2_support
2015-01-22 07:22:50 +11:00
Mike Fuller
242e29a7c1
rds2 modify_db_instance, small code tidy ups
2015-01-22 07:21:49 +11:00
Mike Fuller
4b838f6114
Added some TODOs to ensure I dont forget.
2015-01-21 07:18:56 +11:00
Mike Fuller
6fad81aabf
I have delete options for the modify_option_group method but for the life of me. I cannot work out how to use this function to add options to an option_group.
2015-01-21 07:15:47 +11:00
Mike Fuller
dfb33aaad3
Started implementing modify_option_group.
2015-01-20 21:01:34 +11:00
Mike Fuller
a43b002c3a
Added describe_option_group_options.
2015-01-20 07:18:52 +11:00
Steve Pulec
b1c41820f7
Cleanup EC2 launch time code a bit.
2015-01-19 13:44:15 -05:00
Mike Fuller
503d46d36a
Added decribe_option_groups and delete_option_group support
2015-01-19 20:29:32 +11:00
Mike Fuller
40db44f2cd
Added Exceptions on create_option_group
2015-01-19 17:03:14 +11:00
Chris Henry
6743a41b26
Fix merge conflict,
2015-01-18 16:37:56 -05:00
Chris Henry
1f2a913d3a
Merge branch 'master' of github.com:behanceops/moto into feature-instance-launch-time
...
Conflicts:
moto/ec2/models.py
2015-01-18 16:37:27 -05:00
Mike Fuller
e2ed5ed733
Merge remote-tracking branch 'upstream/master' into adding_rds2_support
2015-01-19 08:22:27 +11:00
Chris Henry
19a1b74c5b
Change timestamp format to ISO 8601, as per http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html
2015-01-18 16:20:59 -05:00
Chris Henry
77185f9bee
Change timestamp format to ISO 8601, as per http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html
2015-01-18 16:18:34 -05:00
Mike Fuller
c6437930de
fixed up tests for create_option_group, fixed return json to have major_version correct
2015-01-19 08:06:37 +11:00
Chris Henry
062256ada3
Use the current time when launching an instance.
2015-01-18 15:53:59 -05:00
Mike Fuller
8c16517f10
building out new RDS2 Mock.
...
completed:
* create_db_instance()
* create_option_group()
2015-01-19 07:38:10 +11:00
Steve Pulec
c22ea3014b
Add SNS topics to cloudformation.
2015-01-17 19:48:08 -05:00
Steve Pulec
f19fdc9802
Cleaner code.
2015-01-17 19:10:19 -05:00
Steve Pulec
585ef7b768
Add route53 health checks.
2015-01-17 19:06:43 -05:00
Steve Pulec
adb26986eb
Add route53 ResourceSet to Cloudformation.
2015-01-17 15:37:46 -05:00
Steve Pulec
42cd333d51
Refactor Route53 record sets.
2015-01-17 14:50:19 -05:00
Steve Pulec
5d5f241b99
Add route53 support to cloudformation.
2015-01-17 10:17:25 -05:00
Steve Pulec
4c40f39a68
Fix for py26.
2015-01-11 16:27:02 -05:00
Steve Pulec
166f4893ba
Add cloudformation for RDS.
2015-01-11 16:15:08 -05:00
Steve Pulec
12118374bd
Add database replicas.
2015-01-10 13:50:37 -05:00
Steve Pulec
7559fbe0d1
Add RDS Subnet groups
2015-01-09 00:17:20 -05:00
Steve Pulec
809046e00e
Add RDS security groups.
2015-01-08 23:44:05 -05:00
Steve Pulec
dbe3eb5459
Add database CRUD.
2015-01-08 22:18:06 -05:00
Steve Pulec
e05a061993
Add support for Cloudformation Mappings.
2015-01-07 22:32:51 -05:00
Steve Pulec
b8a11b7b8d
Python 3 fixes.
2015-01-07 21:40:03 -05:00
Steve Pulec
8da6437689
Add some support for Cloudformation Conditions. Closes #285 .
2015-01-07 21:37:12 -05:00
Steve Pulec
1e4df18c42
Allow actual use of cloudformation input parameters.
2014-12-31 14:21:47 -05:00
Steve Pulec
56007660d8
Cleanup parameter parsing.
2014-12-31 13:23:08 -05:00
Steve Pulec
fceeed0c9f
PY3 fixes.
2014-12-29 22:17:50 -05:00
Steve Pulec
186ee6a5a4
Add cloudformation stack parsing for S3 keys.
2014-12-29 22:12:23 -05:00
dreadpirateshawn
aff5dd408c
Performance: Leverage jinja2's Environment to cache compiled Templates. (fixed merge)
2014-12-12 13:05:46 -08:00
dreadpirateshawn
7ce83082ca
Merge remote-tracking branch 'origin/master' into ImproveTemplatePerformance
...
Conflicts:
moto/s3/responses.py
2014-12-12 12:51:29 -08:00
dreadpirateshawn
9affa7753d
Performance: Leverage jinja2's Environment to cache compiled Templates.
2014-12-12 12:46:07 -08:00
Steve Pulec
4ab3b318eb
Add S3 location response. Closes #279 .
2014-12-10 20:44:00 -05:00
Steve Pulec
a2e56afef8
Add special S3 bucket create logic for us-east-1. Closes #273 .
2014-12-10 20:20:51 -05:00
Steve Pulec
845c468f32
Merge pull request #278 from cameron-r/master
...
Add filtering of instances by security group id
2014-12-10 20:11:25 -05:00
Cameron Rowshanbin
573a73aa01
With @ethome, add filtering of instances by security group id
2014-12-10 11:53:40 -06:00
Tyler Sanders
b513d69313
Add support for route table routes to target virtual private gateways.
2014-12-09 12:07:14 -06:00
Steve Pulec
3a82f089a2
Cleanup metadata setting and add fix for multipart uploads. Closes #274 .
2014-12-07 12:43:14 -05:00
Steve Pulec
6331c2e1f1
IAM py3 fix.
2014-12-06 19:42:42 -05:00
Steve Pulec
20dda251f8
Updates for IAM changes.
2014-12-06 19:37:10 -05:00
Steve Pulec
7b81a0cb95
Merge branch 'enhancedIamRoleSupport' of https://github.com/kevgliss/moto into kevgliss-enhancedIamRoleSupport
2014-12-06 19:31:18 -05:00
Tyler Sanders
db7757347a
Detach virtual private gateway support
2014-12-02 10:40:05 -06:00
Tyler Sanders
166fd69515
Virtual Private Gateway functionality
2014-12-02 10:28:09 -06:00
Kevin Glisson
3e45758663
Removing duplicate import
2014-11-30 20:23:56 -08:00
Kevin Glisson
cc312d29fc
Adding put_role_policy, get_role_policy, and list_role_policies, update_assume_role_policy
2014-11-30 20:11:13 -08:00
Kevin Glisson
7f6af025f3
Create role does not allow for document policies to be passed to it
2014-11-30 11:16:29 -08:00
Steve Pulec
1a015d0e39
Cleanup some incorrect date formats.
2014-11-29 23:34:40 -05:00
Steve Pulec
c5487a4464
Add compat file for Py26 OrderedDict.
2014-11-29 22:43:30 -05:00
Steve Pulec
d24099c401
Add proper SNS paging. Closes #144 , #145 .
2014-11-29 22:37:48 -05:00
Steve Pulec
e66916d5f1
Start to add basic support for dynamodb2 item updating. Closes #16 .
2014-11-29 22:03:29 -05:00
Tyler Sanders
7476c63119
Update upstream branch 'master' into instance_modify_security_groups
2014-11-27 11:14:46 -06:00
Tyler Sanders
9cbe8d57f4
Support instance security group/groupSet attribute modification and description
2014-11-27 11:05:39 -06:00
Steve Pulec
e88e3d5372
S3 Fixes for special metadata headers.
2014-11-27 10:43:10 -05:00
Kyohei Akiyama
1a61b973e4
The filter condition was added to VPC and RouteTable class.
2014-11-27 03:54:42 +00:00
Steve Pulec
45de4a46ec
Better sequence start and end numbers.
2014-11-26 21:55:01 -05:00
Steve Pulec
c63b00b8ba
Fixes for other python versions.
2014-11-26 21:04:44 -05:00
Steve Pulec
57d45aa4b8
Add more shard iterator types.
2014-11-26 20:49:21 -05:00
Steve Pulec
38a4734f95
Fixes for py26 and py33.
2014-11-26 11:13:43 -05:00
Steve Pulec
da15fb711d
Basic Kinesis Stream CRUD.
2014-11-26 10:55:58 -05:00
Steve Pulec
5bbcc4505f
Add cluster parameter groups.
2014-11-23 23:03:10 -05:00
Steve Pulec
2418c83252
Fixes for VPC security groups.
2014-11-23 22:33:53 -05:00
Steve Pulec
2e484a895b
Fix for default security group.
2014-11-23 22:21:29 -05:00
Steve Pulec
25a31ee88a
Add cluster security groups.
2014-11-23 22:17:36 -05:00
Steve Pulec
ef3e5448ea
Add cluster subnet group CRUD.
2014-11-23 21:36:19 -05:00
Steve Pulec
72a7946126
Cleanup default parameters.
2014-11-23 18:16:22 -05:00
Steve Pulec
aceb30e530
Add basic CRUD.
2014-11-22 14:03:09 -05:00
Steve Pulec
9024066957
Fixes for some S3 Unicode issues. Closes #158 .
2014-11-22 10:19:56 -05:00
Tyler Sanders
1fc32fa5cb
Add support for Route Table tagging
2014-11-20 14:08:38 -06:00
Tyler Sanders
d511fd829b
Add support for Network ACL tagging
2014-11-20 12:04:34 -06:00
Steve Pulec
8d6868f9d3
For S3 Key Head requests, just return the real body for now so that key length works. Closes #131 .
2014-11-19 21:06:23 -05:00
Steve Pulec
8954242086
Better is_public support for AMIs including filtering. Closes #263 .
2014-11-19 20:09:46 -05:00
Tyler Sanders
2a6c4c89bf
Fix conflict with subnet/network ACL association during subnet creation.
2014-11-17 09:37:38 -06:00
Tyler Sanders
d89dce2583
Use items() instead of iteritems() for Python 3 compatibility
2014-11-17 08:54:06 -06:00
Steve Pulec
828ed13bde
Allow for class-based decorator. Closes #157
2014-11-16 19:05:28 -05:00
Steve Pulec
16660ab72b
Allow message passing to SQS queues in different regions from SNS.
2014-11-16 18:42:53 -05:00
Steve Pulec
53acdf6c76
Make SNS multi-region.
2014-11-16 18:35:11 -05:00
Steve Pulec
aa7233a2db
Fixes for multi-region SQS.
2014-11-16 17:57:46 -05:00
Steve Pulec
1f8253a1a1
Cleanup the default region backends.
2014-11-15 14:21:58 -05:00
Steve Pulec
bd847bd941
Cleanup multi-region support for ELB, SQS, Cloudformation, EC2, Autoscaling.
2014-11-15 13:34:52 -05:00
Steve Pulec
c77207a8b8
More flake8.
2014-11-15 09:53:45 -05:00
Steve Pulec
8ba308bf07
EC2 flake8 fixes.
2014-11-15 09:43:35 -05:00
Steve Pulec
8bc8f09b47
Some flake8 cleanup.
2014-11-15 09:35:52 -05:00
Steve Pulec
d734bca6a5
Fix for Volumes and Snapshots to use correct region.
2014-11-15 09:17:35 -05:00
Tyler Sanders
6d2c9d9960
Move call to associate default Network ACL with a new subnet.
2014-11-14 17:31:08 -06:00
Tyler Sanders
400d12b175
Add default Network ACL during VPC creation. Associate default Network ACL with a new subnet. Add support for associating a new Network ACL with a subnet.
2014-11-14 17:23:56 -06:00
Tyler Sanders
efc8caaf48
Test Network ACL describe
2014-11-12 15:48:44 -06:00
Tyler Sanders
0f18dd597c
Add basic Network ACL create, describe support
2014-11-12 15:33:31 -06:00
Peter Van Bouwel
63c7e224a2
Always use ec2_backend to get the tag information in order to have a cleaner get_tags method.
2014-11-11 19:41:16 +01:00
Peter Van Bouwel
4f0cbf9bc9
Merge remote-tracking branch 'upstream/master'
2014-11-11 10:29:35 +01:00
Peter Van Bouwel
f28ad8ee29
Alter get_tags to use the backend associated with the taggable object. Also give volume and snapshot an additional backend attribute.
2014-11-11 10:26:02 +01:00
Steve Pulec
79cd93119d
Merge pull request #257 from mrucci/autoscaling-fix-multi-region
...
Fix bug with autoscaling in non-default region.
2014-11-10 19:26:46 -05:00
Steve Pulec
e05fc76e28
Merge pull request #256 from mrucci/route53-response-insync
...
Report route53 changes immediately as INSYNC.
2014-11-10 19:25:41 -05:00
Peter Van Bouwel
2f1f993793
Extend the DESCRIBE_SNAPSHOTS_RESPONSE to include the tagSet as documented by AWS. Also refactor the names of the tests I introduced in previous commits to be more descriptive. Finally some code cleanup, removing the get_tags method from classes and instead inherit from the TaggedEC2Resource class.
2014-11-09 15:00:40 +01:00
Peter Van Bouwel
17356fe56c
Extend the DESCRIBE_VOLUMES_RESPONSE to include the tagSet as documented by AWS on http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-ItemType-DescribeVolumesSetItemResponseType.html . This is needed to pass the test that was added in previous commit.
2014-11-09 12:21:19 +01:00
Marco Rucci
53a11c18c1
Fix bug with autoscaling in non-default region.
...
The bug appeared when using a region different than 'us-east-1'
and caused KeyError when accessing launch_configurations.
Rename the global autoscaling backend to reduce chances of similar naming issues.
2014-11-07 22:13:00 +01:00
Marco Rucci
0408511533
Report route53 changes immediately as INSYNC.
...
This avoids leaving changes in a perennial PENDING limbo.
2014-11-07 21:56:36 +01:00
Marco Rucci
99afd892a9
Add missing Id field in route 53 change response.
2014-11-07 21:40:00 +01:00
Hugo Lopes Tavares
aa3cf9c806
Move filter logic from responses.InstanceResponse to models.InstanceBackend
2014-11-05 14:20:49 -05:00
Hugo Lopes Tavares
88684f10f2
Move filter logic from responses.InternetGateways to models.InternetGatewayBackend
2014-11-05 14:02:45 -05:00
Hugo Lopes Tavares
32af875386
Implement InternetGateway filters support
...
More information about IGW filters: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeInternetGateways.html#query-DescribeInternetGateways-filters
2014-11-05 12:26:29 -05:00
Hugo Lopes Tavares
faa55efe21
Implement vpc-id Instance filter
2014-11-05 11:06:14 -05:00
Steve Pulec
41282c9e48
Merge pull request #251 from joekiller/cfn_eni
...
enable cloudformation of NetworkInterface
2014-11-04 17:22:32 -05:00
Hugo Lopes Tavares
8a0a10b0d1
Add support to filtering instances by source-dest-check
2014-11-04 16:56:56 -05:00
Joseph Lawson
8299b5c312
enable cloudformation of NetworkInterface
2014-11-03 14:24:22 -05:00
Steve Pulec
ca44d4680a
Py26 cloudwatch fixes.
2014-10-31 07:44:11 -04:00
Steve Pulec
93f56322d8
Fix merge conflicts for cloudwatch.
2014-10-30 23:51:09 -04:00
Steve Pulec
2d65b0a020
Some EC2 fixes for alternative regions.
2014-10-30 22:46:24 -04:00
Steve Pulec
5c9fec17b5
Merge pull request #248 from ttacon/master
...
Add create_login_profile for iam service
2014-10-29 20:07:33 -04:00
ttacon
5aec4d9de5
Add create_login_profile for iam service
2014-10-29 15:31:49 -04:00
Joseph Lawson
1152939ecd
add notification arns to cloudformation
2014-10-29 11:59:41 -04:00
Steve Pulec
2881c9b20c
Merge pull request #244 from DataDog/master
...
Add support for DescribeInstanceStatus' IncludeAllInstances option
2014-10-27 11:21:00 -04:00
Steve Pulec
4bfbf3bbf3
Python3 fixes for dynamodb2.
2014-10-26 21:11:03 -04:00
Steve Pulec
31b01d27cf
Some fixes for dynamodb and python 3.
2014-10-26 20:55:11 -04:00
Steve Pulec
83481b589b
Merge pull request #241 from DreadPirateShawn/RouteVPCPeeringConnection
...
Route vpc peering connection
2014-10-26 20:02:51 -04:00
Arthur Wang
31b55977c9
EC2: Add support for the IncludeAllInstances option in DescribeInstanceStatus
2014-10-24 19:48:29 +00:00
Steve Pulec
203ce6b185
Merge pull request #240 from joekiller/fix/describe_stacks_add_validation_error
...
Fix/describe stacks add validation error
2014-10-23 23:03:18 -04:00
Steve Pulec
d77bc3ed39
Merge pull request #243 from djmitche/regionalize_instances
...
Pass ec2_backend to Instance constructor
2014-10-23 23:02:15 -04:00
Dustin J. Mitchell
66c8fb2b52
Pass ec2_backend to Instance constructor
...
This value is used to look up things like nics and subnets in that
backend.
2014-10-23 22:44:42 -04:00
Dustin J. Mitchell
465629902c
use the current ec2 backend, not the default, for subnets
2014-10-23 22:36:05 -04:00
Dustin J. Mitchell
ad200286a5
use the current ec2 backend, not necessarily us-east-1, for vpc operations
2014-10-23 22:26:52 -04:00
Joseph Lawson
0aec1d0f92
create_stack returns stack_id
2014-10-23 14:55:40 -04:00
Joseph Lawson
90191675a2
Deleted Stack Fix and ValidationError for DescribeStacks.
...
* stop backed from trying to iterate over empty list of deleted stacks.
* Update DescribeStacks to throw ValidationError if stack name or id doesn't exist.
2014-10-23 14:39:15 -04:00
Joseph Lawson
94e969fed5
Enhance DescribeStacks. Keep track of deleted stacks. Stack status.
...
Made describe_stacks more in line with http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeStackResource.html
2014-10-22 23:58:42 -04:00
Steve Pulec
ef3fcecc87
Merge pull request #238 from DreadPirateShawn/ModifyInstanceAttributeSourceDestCheck
...
ModifyInstanceAttribute: Added support for 'SourceDestCheck.Value'.
2014-10-22 20:25:09 -04:00
dreadpirateshawn
4f847cfb4b
ModifyInstanceAttribute: Added support for 'SourceDestCheck.Value'.
2014-10-22 15:11:37 -07:00
Joseph Lawson
ff27ef9e91
XML escape body of sqs message body prior to encoding to XML
2014-10-22 16:05:26 -04:00
Steve Pulec
c02ed667d5
Merge pull request #235 from joekiller/enhance/cloudformation_getatt_tags_and_resource_naming
...
Enhance/cloudformation getatt tags and resource naming
2014-10-21 22:37:01 -04:00
Steve Pulec
bcef13700d
Merge pull request #234 from DataDog/add_instance_reason
...
EC2: Add instance state reason
2014-10-21 22:11:23 -04:00
Joseph Lawson
184d5be54a
remove debug exception catch
2014-10-21 21:58:39 -04:00
Steve Pulec
9559c6f746
Merge pull request #230 from joekiller/fix_unsupported_metadata
...
raise NotImplementedError on unknown metadata path
2014-10-21 19:02:41 -04:00
Joseph Lawson
d4cbc71b0a
fix eip physical_resource_id not returning an public_ip if it is in EC2 classic.
2014-10-21 16:37:54 -04:00
Joseph Lawson
54794651d3
implement Fn::Join
2014-10-21 16:29:51 -04:00
Joseph Lawson
d55a0b6ef0
default eip domain to 'standard' for cloudformation creations
2014-10-21 15:59:28 -04:00
Joseph Lawson
a8b967eab0
eip resources have no required properties.
2014-10-21 15:53:38 -04:00
Joseph Lawson
20a69255c3
tweak Fn::GetAtt to return resource_json if resource is not implemented. DRY
...
This is better than failing out with a misleading Boto 400 error which should only happen when get_cfn_attribute is called but fails.
2014-10-21 14:51:26 -04:00
Joseph Lawson
1d9ffafaa5
create CloudFormation outputs and enable 'Fn::GetAtt' to work.
2014-10-21 12:45:03 -04:00
Arthur Wang
c0049578cb
Test filtering get_instances by reason code
2014-10-20 21:00:33 +00:00
Arthur Wang
6963866c7e
Add ec2 instance state reason
...
- Add instance.reason and instance.state_reason
(http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-Item
Type-StateReasonType.html)
- Add ec2 filtering by state-reason-code and state-reason-message
2014-10-20 19:56:34 +00:00
Joseph Lawson
832769b8a7
Name resources via CloudFormation naming convention and tag EC2 resources.
...
* Make sure taggable resources are tagged per convention: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stack-parameters.html
* Update CloudFormation parsing to use logical resource ids and name resources as CloudFomation would.
* Fix tests for CloudFormation stack integration.
2014-10-20 15:16:39 -04:00
Joseph Lawson
91a74424e5
Handle Name Type resources for CloudFormation
2014-10-20 11:45:47 -04:00
Joseph Lawson
cb88b8783d
raise NotImplementedError on unknown metadata path
2014-10-15 13:43:38 -04:00
dreadpirateshawn
89fd71eb16
Route Tables: Added support for associate/disassociate subnets. (fixed idempotency)
2014-10-14 14:23:14 -07:00
dreadpirateshawn
db044df0a9
Route Tables: Added support for associate/disassociate subnets. (added replace route table association)
2014-10-14 11:23:42 -07:00
dreadpirateshawn
5d046c76e5
Route Tables: Added support for associate/disassociate subnets.
2014-10-13 16:19:54 -07:00
Steve Pulec
68d2db55d4
Add VPC state.
2014-10-12 21:51:12 -04:00
Hugo Lopes Tavares
aee47395f7
Implement "name" filter to ec2.models.AMI
2014-10-10 15:14:46 -04:00
Joseph Lawson
b9f747fb4f
test ip_ranges when authorizing security group ingress rules
2014-10-06 14:49:37 -04:00
Steve Pulec
b82507e41b
Add instance_id to spot instance requests. Closes #210 .
2014-10-05 22:55:36 -04:00
Steve Pulec
9de7969d2b
Fix merge conflicts.
2014-10-05 21:55:23 -04:00
Steve Pulec
8ab284a9d2
Merge pull request #222 from ralfas/master
...
Added basic support for SQS MessageAttributes.
2014-10-05 21:10:48 -04:00
Ralfas
76aa9a8b22
Added basic support for SQS MessageAttributes.
2014-10-05 19:10:49 +01:00
Steve Pulec
f0724d458e
Merge pull request #216 from DreadPirateShawn/ImplementCopyImage
...
AMI: Implement copy_image.
2014-10-05 10:55:48 -04:00
dreadpirateshawn
2dfd1799ae
AMI: Implement copy_image. (part 4, minor refactor for clarity)
2014-10-01 07:59:02 -07:00
Omer Katz
efa687f41d
Added tag filters to some of the entities.
2014-10-01 16:18:46 +03:00
Omer Katz
4ec95bac74
Merge branch 'feature/vpc-filters'
2014-10-01 15:56:23 +03:00
Omer Katz
298cf65569
Added the ability to filter by tag-value and refactored the filters to be generic.
2014-10-01 15:44:54 +03:00
Omer Katz
444ab96b4f
Added the ability to filter by tag-key.
2014-10-01 15:33:12 +03:00
Steve Pulec
27ef345b64
Merge pull request #218 from thedrow/feature/vpc-filters
...
Added the cider block, dhcp options id and tag filter to the VPC backend
2014-10-01 08:04:12 -04:00
Steve Pulec
b0fd12dc35
Merge pull request #219 from joekiller/ami_filter_state
...
allow get_filter_value to return state of ami and test
2014-09-30 22:25:34 -04:00
Joseph Lawson
7fca88e732
Test Fixes and tag:
filter.
...
* fixed test_ec2.test_amis.test_ami_filters to test for AMIs in the state of 'available'
* enhanced AMI's to be able to take `tag:` filter.
* added tag: tests for AMIs
2014-09-30 16:42:52 -04:00
Joseph Lawson
866d8b4ea8
allow get_filter_value to return state of ami and test
...
* updated Ami.get_filter_value to return the state value of the AMI
* updated test_ec2.test_amis.test_ami_filters to test for AMIs in the state of 'available'
2014-09-30 16:12:23 -04:00
Omer Katz
89bd78b927
Added the ability to filter vpcs by tags.
2014-09-30 17:58:02 +03:00
Omer Katz
ecb23485d0
VPCs can now be filtered by cider block and dhcp options id
2014-09-30 17:29:50 +03:00
Omer Katz
a1be4b7f61
VPCs can now be filtered by id.
2014-09-30 17:08:36 +03:00
dreadpirateshawn
1940f7c17a
AMI: Implement copy_image. (part 2, tweaked launch_permission_groups init)
2014-09-29 12:18:39 -07:00
dreadpirateshawn
a4fdce2e55
AMI: Implement copy_image.
2014-09-29 12:06:36 -07:00
Omer Katz
a63e6d2459
netbios type should be coerced to integer.
...
Otherwise the check always fails.
2014-09-29 18:41:50 +03:00
Steve Pulec
2650d9981f
Merge pull request #208 from clorenz7/master
...
Make S3 Model Timestamps Consistent By Using UTC
2014-09-15 20:53:35 -04:00
Cory Lorenz
5320b39912
Make S3 Model Timestamps Consistent By Using UTC
...
UTC seems to be default timezone for AWS, and the time strings are reporting as GMT, yet the date time is the local time zone.
2014-09-12 15:37:22 -07:00