Commit Graph

5299 Commits

Author SHA1 Message Date
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
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
635a0e0f64 AMI: Implement copy_image. (part 3, added boto version threshold) 2014-09-29 12:28:53 -07: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