From 73cd148e804e678862bda30988fe9eb23d3f394b Mon Sep 17 00:00:00 2001 From: Marin Salinas Date: Tue, 21 May 2019 10:56:16 -0500 Subject: [PATCH] refactor: change ebs_volume to bsu_volumeattribute in bsuvolume builder --- builder/osc/bsuvolume/builder.go | 2 +- builder/osc/bsuvolume/builder_acc_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/osc/bsuvolume/builder.go b/builder/osc/bsuvolume/builder.go index 348e9d66a..914fea983 100644 --- a/builder/osc/bsuvolume/builder.go +++ b/builder/osc/bsuvolume/builder.go @@ -26,7 +26,7 @@ type Config struct { osccommon.AccessConfig `mapstructure:",squash"` osccommon.RunConfig `mapstructure:",squash"` - VolumeMappings []BlockDevice `mapstructure:"ebs_volumes"` + VolumeMappings []BlockDevice `mapstructure:"bsu_volumes"` launchBlockDevices osccommon.BlockDevices ctx interpolate.Context diff --git a/builder/osc/bsuvolume/builder_acc_test.go b/builder/osc/bsuvolume/builder_acc_test.go index ef4e46cde..835ff9ba3 100644 --- a/builder/osc/bsuvolume/builder_acc_test.go +++ b/builder/osc/bsuvolume/builder_acc_test.go @@ -48,7 +48,7 @@ const testBuilderAccBasic = ` "vm_type": "t2.micro", "source_omi": "ami-65efcc11", "ssh_username": "outscale", - "ebs_volumes": [ + "bsu_volumes": [ { "volume_type": "gp2", "device_name": "/dev/xvdf",