From a3c16bcc77e2b9c72e1ff210ca9dceb88681ef86 Mon Sep 17 00:00:00 2001 From: Kieran Doonan Date: Mon, 4 Jul 2016 14:09:41 +0100 Subject: [PATCH] updated ebs response --- moto/ec2/responses/elastic_block_store.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/ec2/responses/elastic_block_store.py b/moto/ec2/responses/elastic_block_store.py index 4a6dc42d1..d9699ce64 100644 --- a/moto/ec2/responses/elastic_block_store.py +++ b/moto/ec2/responses/elastic_block_store.py @@ -29,7 +29,7 @@ class ElasticBlockStore(BaseResponse): size = self._get_param('Size') zone = self._get_param('AvailabilityZone') snapshot_id = self._get_param('SnapshotId') - encrypted = self._get_param('Encrypted') + encrypted = self._get_param('Encrypted') or 'false' volume = self.ec2_backend.create_volume(size, zone, snapshot_id, encrypted) template = self.response_template(CREATE_VOLUME_RESPONSE) return template.render(volume=volume)