Commit Graph

2658 Commits

Author SHA1 Message Date
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
8aabda0786 add test for Fn::Join 2014-10-21 22:05:27 -04:00
Joseph Lawson
184d5be54a remove debug exception catch 2014-10-21 21:58:39 -04:00
Joseph Lawson
835259607a test eip allocation via CloudFormation for VPC and EC2 classic 2014-10-21 21:55:08 -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
Steve Pulec
c6f464a154 Merge pull request #229 from DreadPirateShawn/RouteTablesAssociateDisassociate
Route Tables: Added support for associate/disassociate subnets.
2014-10-21 18:59:21 -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
9301b46346 another python 3 fix on dict 2014-10-21 15:55:08 -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
83f187fa7e fix python 3 issue merging dicts 2014-10-21 13:49:25 -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
50d74b4811 Route Tables: Added support for associate/disassociate subnets. (added test threshold for Boto 2.16) 2014-10-14 11:34:58 -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
d6b93af7fd Route Tables: Added support for associate/disassociate subnets. (removed wayward print) 2014-10-14 07:55:36 -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
Steve Pulec
0fcb00dcf5 0.3.7 2014-10-10 15:20:20 -04:00
Hugo Lopes Tavares
aee47395f7 Implement "name" filter to ec2.models.AMI 2014-10-10 15:14:46 -04:00
Steve Pulec
9321a7bfe1 Merge pull request #227 from joekiller/fixed_throw_invalid_cidr
test ip_ranges when authorizing security group ingress rules
2014-10-09 20:49: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
68097f63d0 Add @joekiller to authors. 2014-10-05 22:01:35 -04:00
Steve Pulec
ec5f5dc2a2 Merge branch 'joekiller-master' 2014-10-05 21:55:31 -04:00
Steve Pulec
9de7969d2b Fix merge conflicts. 2014-10-05 21:55:23 -04:00
Steve Pulec
ab82568739 Add @thedrow to authors. 2014-10-05 21:12:26 -04:00
Steve Pulec
7d92ed06fc Add @ralfas to authors. 2014-10-05 21:11:35 -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
Steve Pulec
0a99aae99f Merge pull request #221 from thedrow/topic/filters
More tagging filters and refactorings
2014-10-01 09:43:08 -04: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
Omer Katz
8b50844961 Tests will now pass on Python 3.3. 2014-10-01 12:56:32 +03: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
Steve Pulec
461a57715f Merge pull request #214 from thedrow/patch-2
netbios type should be coerced to integer
2014-09-30 22:18:38 -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