• Packer templates: Add more verbosity to shell provisioners

    2 min read

    If we use shell scripts as provisioners with packer errors can be confusing:

    ==> amazon-ebs: Terminating the source AWS instance... ==> amazon-ebs: Cleaning up any extra volumes... ==> amazon-ebs: No volumes to clean up, skipping ==> amazon-ebs: Deleting temporary security group... ==> amazon-ebs: Deleting temporary keypair... Build 'amazon-ebs' errored: Error removing temporary script at /tmp/script_9722.sh! ==> Some builds didn't complete successfully and had errors: --> amazon-ebs: Error removing temporary script at /tmp/script_9722.sh! ==> Builds finished but no artifacts were created. 

    We can tell there is an error, but it's hard to tell what's going on

    26/01/2022

    Read more...

From pet to cattle
Treat your kubernetes clusters like cattle, not pets
Categories
tags related to this category