diff --git a/src/environmentbase/template.py b/src/environmentbase/template.py index 8fa6798..5c6472c 100644 --- a/src/environmentbase/template.py +++ b/src/environmentbase/template.py @@ -646,6 +646,7 @@ def add_asg(self, ebs_block_device = ec2.EBSBlockDevice( DeleteOnTermination=ebs_volume.get('delete_on_termination', True), + Encrypted=ebs_volume.get('encrypted', False), VolumeSize=ebs_volume.get('size', '100'), VolumeType=ebs_volume.get('type', 'gp2')) @@ -1337,4 +1338,3 @@ def get_subnet_type(self, subnet_layer): if a_subnet_layer == subnet_layer: return subnet_type return None -