You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue seems to have been abandoned but the inconsistent behavior is still there. Can this be given higher priority? What's the situation with complexity, @kerma ?
Additionally, when working around this with a environment variable defaults, it does not work at the taskfile level, only inside the task:
$ task debug ENV=prod STACK_NAME=production
task: [debug] echo prod
prod
task: [debug] echo production
production
task: [debug] echo dev.development.DevelopmentComponent
dev.development.DevelopmentComponent
Moving the COMPONENT_NAME variable declaration to task level OR moving it to env section and referencing it as an environment variable ($COMPONENT_NAME) fixes the issue. But this also looks like a related bug to me. If not, I can open a separate issue about it.
It may be as designed, but it's been bugging me for a while and creates quite a bit of confusion. So if nothing else, I'll document the behavior here.
See the following example:
Output:
That makes dynamic variables a bit useless in places where you need to pass auth or other relevant info via env.
The text was updated successfully, but these errors were encountered: