Hi there – as discussed in this topic custom layering support, I needed to create a boot hook which will look for certain env variables and then set the AWS credentials I need for the terraspace build phase.
However, I happen to run terraspace new hook without any of those env variables set and so my boot.rb hook hit an exception.
Is there any ruby code I can reference which will give me access to the arguments passed to terraspace so that I might restrict running my custom code only when a command involving the build phase is called?