Closed galbirk closed 1 year ago
Hi @galbirk thanks for opening up this PR and its corresponding issue. This particular solution while valid feels like a one off solution to a larger workflow problem around providing fallbacks when a data sources returns a failure. I'm going to close this pull-request as invalid, as this is not the approach we want to take. But I will keep the issue open because there is a workflow discussion we can have for supporting conditional to handle within a Packer template.
I will bring this issue internal to see if there is a workaround or potential workflow we can leverage at this time.
ignore_failure
flag to ami datasource:true
and the image not found -> returnsnil
Defaulted to
false
.Tests results:
Closes #387