First of all thanks for the terraspace, it looks impressive.
I’m not familiar with ruby and for me it not clear how can I use internal variables in hooks, for example:
- helpers: aws_ssm
- aws account id
Here is what I found and it works, but I can not understand how to use variables above
% cat app/stacks/jobs/config/hooks/terraspace.rb class EnvExporter def call puts("Hello: " + Terraspace.root) puts("Hello: " + Terraspace.env) end end before("build", execute: EnvExporter )
thank you in advance for your help