diff --git a/builder/alicloud/ecs/alicloud_access_config_test.go b/builder/alicloud/ecs/alicloud_access_config_test.go index aaf909a6c..23b0c9b50 100644 --- a/builder/alicloud/ecs/alicloud_access_config_test.go +++ b/builder/alicloud/ecs/alicloud_access_config_test.go @@ -6,8 +6,8 @@ import ( func testAlicloudAccessConfig() *AlicloudAccessConfig { return &AlicloudAccessConfig{ - AlicloudAccessKey: "", - AlicloudSecretKey: "", + AlicloudAccessKey: "ak", + AlicloudSecretKey: "acs", } } diff --git a/examples/alicloud/basic/alicloud.json b/examples/alicloud/basic/alicloud.json index d96cafa57..37f438f53 100644 --- a/examples/alicloud/basic/alicloud.json +++ b/examples/alicloud/basic/alicloud.json @@ -12,7 +12,8 @@ "source_image":"centos_7_2_64_40G_base_20170222.vhd", "ssh_username":"root", "instance_type":"ecs.n1.tiny", - "io_optimized":"true" + "io_optimized":"true", + "image_force_delete":"true" }], "provisioners": [{ "type": "shell",