alibaba/packer-provider

source_image cannot use customer image name? only image id ?

mylife6585 opened this issue · 2 comments

centos_7_06_64_20G_system_init_2019072301 is my private image name,

packer error log:
==> alicloud-ecs: No alicloud image was found matching filters: centos_7_06_64_20G_system_init_2019072301
Build 'alicloud-ecs' errored: No alicloud image was found matching filters: centos_7_06_64_20G_system_init_2019072301

@mylife6585 Yes, only image id is supported right now.

Is there any chance that image name would be supported? It is a little inconvenient if we can only specify image id. In my case, we have multiple image layers: the base image is generated by packer and I am not able to retrieve the image id until it is available. I have created an issue in packer project, please check out hashicorp/packer#9138 for more details.