Closed random-robbie closed 2 years ago
Yea for IBM you have to downgrade packer to 1.5.6 for now
wget -q -O /tmp/packer.zip https://releases.hashicorp.com/packer/1.5.6/packer_1.5.6_linux_amd64.zip && cd /tmp/ && unzip packer.zip && sudo mv packer /usr/bin/ && rm /tmp/packer.zip
.
This issue, at least from my understanding, is a small piece of a broader issue with Packer deprecating json builders in favor of yaml. We might have to end up rewriting the provisioners, converting them from json to yaml. There is a Packer tool to do this automatically but it makes the yaml look ugly so until I fix that, I’ll have to add a downgraded version of Packer for IBM builds. That comes with it’s own problems, without adding code to change the packer version back when switching between DO, IBM, Azure accounts. I’ll figure it out lol. Ty for bringing it up.