pry0cc / axiom

The dynamic infrastructure framework for everybody! Distribute the workload of many different scanning tools with ease, including nmap, ffuf, masscan, nuclei, meg and many more!
MIT License
4.06k stars 645 forks source link

Ibm cloud - provisioner issue. #584

Closed random-robbie closed 2 years ago

random-robbie commented 2 years ago
Building image default for provider ibm... This can take up to 25 minutes so please be patient!
If this fails, verify the account is properly configured and/or try a different region.
Error: Failed to initialize build "ibmcloud"

error initializing builder 'ibmcloud': The protocol of this plugin (protocol
version 4 and lower) was deprecated, please use a newer version of this
plugin.Or use an older version of Packer (pre 1.7) with this plugin.

==> Wait completed after 4 microseconds

==> Builds finished but no artifacts were created.
Your build failed :( Please take a look at the errors!
0xtavian commented 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.