Thanks for the answer and the report!

I see you've create this issue: 
https://github.com/hashicorp/packer/issues/9163

Removed from config, it works

Thanks and Cheers!

On Monday, 4 May 2020 17:47:47 UTC+2, Pascal H wrote:
>
> Hi there,
>
> I'm using Packer v1.5.5 and I have this deprecation warning:
>
> * spot_price_auto_product is deprecated and no longer necessary for Packer 
>> builds. In future versions of Packer, inclusion of spot_price_auto_product 
>> will error your builds. Please take a look at our current documentation to 
>> understand how Packer requests Spot instances.
>
>
>
> However, reading the amazon-ebs doc 
> <https://www.packer.io/docs/builders/amazon-ebs.html>, it seems this 
> option is still required if spot_price is set to auto, or neither is not 
> written as deprecated in the doc:
>
> spot_price_auto_product 
> <https://www.packer.io/docs/builders/amazon-ebs.html#spot_price_auto_product> 
> (string) 
> - Required if spot_price is set to auto. This tells Packer what sort of AMI 
> you're launching to find the best spot price. This must be one of: 
> Linux/UNIX, SUSE Linux, Windows, Linux/UNIX (Amazon VPC), SUSE Linux 
> (Amazon VPC), Windows (Amazon VPC)
>
> However, it seems that packer fix is showing this option as deprecated as 
> well.
>
> So is this option really required as per the doc, or deprecated ?
> And if deprecated, what should I do ? simply removing it ?
>
> Thanks in advance.
>
> Rgds
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/ceaca7c6-ca37-40bc-926d-9ccf26fa4bc1%40googlegroups.com.

Reply via email to