moto/moto/ec2/responses
Graham Lyons 5d51329c34 Don't create volumes for AMIs (#1456)
* Delete the volume used during AMI creation

Creating an AMI doesn't actually result in the creation of an EBS
volume, although the associated snapshot does reference one. To that
end, delete the volume once we've used it.

* Add `owner_id` to `Snapshot`, verify AMI snapshots

The default AMIs which are created by moto have EBS volume mappings
but the snapshots associated with those don't have the correct
owners set.

This adds the owner to the snapshot model and passes it through from
the JSON data.
2018-03-21 08:55:58 -07:00
..
__init__.py Added DescribeAccountAttributes 2017-07-17 23:33:40 +00:00
account_attributes.py Added DescribeAccountAttributes 2017-07-17 23:33:40 +00:00
amazon_dev_pay.py Lints. 2017-02-23 21:37:43 -05:00
amis.py Fix ami tests 2018-01-11 15:02:01 -05:00
availability_zones_and_regions.py describe_regions: handle region-names parameter 2017-12-28 19:06:38 +00:00
customer_gateways.py Replaced direct querystring access with inherited _get_param 2017-09-16 19:05:32 +05:30
dhcp_options.py Replaced direct querystring access with inherited _get_param 2017-09-16 19:05:32 +05:30
elastic_block_store.py Don't create volumes for AMIs (#1456) 2018-03-21 08:55:58 -07:00
elastic_ip_addresses.py Replaced direct querystring access with inherited _get_param 2017-09-16 19:05:32 +05:30
elastic_network_interfaces.py Replaced direct querystring access with inherited _get_param 2017-09-16 19:05:32 +05:30
general.py Fix for regression in get_console_output() 2017-09-27 20:26:45 +05:30
instances.py fix EC2 instances ebsOptimized not handled (#1340) 2017-11-14 14:31:54 +00:00
internet_gateways.py Replaced direct querystring access with inherited _get_param 2017-09-16 19:05:32 +05:30
ip_addresses.py Lints. 2017-02-23 21:37:43 -05:00
key_pairs.py Replaced direct querystring access with inherited _get_param 2017-09-16 19:05:32 +05:30
monitoring.py Lints. 2017-02-23 21:37:43 -05:00
nat_gateways.py Lints. 2017-02-23 21:37:43 -05:00
network_acls.py Replaced direct querystring access with inherited _get_param 2017-09-16 19:05:32 +05:30
placement_groups.py Lints. 2017-02-23 21:37:43 -05:00
reserved_instances.py Lints. 2017-02-23 21:37:43 -05:00
route_tables.py Replaced direct querystring access with inherited _get_param 2017-09-16 19:05:32 +05:30
security_groups.py Replaced direct querystring access with inherited _get_param 2017-09-16 19:05:32 +05:30
spot_fleets.py Make SpotPrice optional when requesting a spot fleet 2018-02-01 18:07:35 -05:00
spot_instances.py Lints. 2017-02-23 21:37:43 -05:00
subnets.py Replaced direct querystring access with inherited _get_param 2017-09-16 19:05:32 +05:30
tags.py Replaced redundant sequence_from_querystring with inherited _get_multi_param 2017-09-16 17:08:21 +05:30
virtual_private_gateways.py Replaced direct querystring access with inherited _get_param 2017-09-16 19:05:32 +05:30
vm_export.py Lints. 2017-02-23 21:37:43 -05:00
vm_import.py Lints. 2017-02-23 21:37:43 -05:00
vpc_peering_connections.py Replaced direct querystring access with inherited _get_param 2017-09-16 19:05:32 +05:30
vpcs.py Replaced direct querystring access with inherited _get_param 2017-09-16 19:05:32 +05:30
vpn_connections.py Replaced direct querystring access with inherited _get_param 2017-09-16 19:05:32 +05:30
windows.py Lints. 2017-02-23 21:37:43 -05:00