Expand current stack name

Hi, is there any way to get the current stack name on erb?

I think you can use the mod_name var. But its only within the context of a stack and not nested within a module.

name = "<%= expansion(':MOD_NAME') %>"

1 Like