proffer

Proffer is a cross-platform tool to distribute cloud images between diff accounts and regions.

View on GitHub

Troubleshooting

To troubleshoot the errors came during template validation or apply phase, we can enable the logging with debug level, so we can take a look what is going on in background of template validation and apply phase.

To enable the debug level logs, we just need to make sure we pass either --debug or -d flag to proffer command.

Example:

$ proffer validate --debug example.com
    or
$ proffer validate -d example.com

Similarly, we can use the debug flag in apply command also.

$ proffer apply --debug example.com
    or
$ proffer apply -d example.com

How to read the logs more effectively to understand what info they represent

Each message printed by proffer has two parts and they are separated by |.

Template debugging:

When we run the proffer validate or apply command , it generates a output.yml file in the same location from where we are running the proffer. We can take a look at this file to check if the template resolved the dynamic information (env vars) or not.