From 5e44a28a427bf4a21458bb4bf8874be8fca25ee2 Mon Sep 17 00:00:00 2001 From: zhuzhih2017 Date: Fri, 3 Mar 2017 17:56:48 +0800 Subject: [PATCH] fix the missing access key for testcase --- builder/alicloud/ecs/alicloud_access_config_test.go | 4 ++-- examples/alicloud/basic/alicloud.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) 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",