Skip to content

Commit

Permalink
Actually sends ebs encrypted flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Reuven V. Gonzales committed Apr 28, 2015
1 parent 8175d7f commit 4ef6d46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builtin/providers/aws/resource_aws_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ func resourceAwsInstanceCreate(d *schema.ResourceData, meta interface{}) error {
bd := v.(map[string]interface{})
ebs := &ec2.EBSBlockDevice{
DeleteOnTermination: aws.Boolean(bd["delete_on_termination"].(bool)),
Encrypted: aws.Boolean(bd["encrypted"].(bool)),
}

if v, ok := bd["snapshot_id"].(string); ok && v != "" {
Expand Down

0 comments on commit 4ef6d46

Please sign in to comment.