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",