-
Notifications
You must be signed in to change notification settings - Fork 264
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
I was in the process of migrating our workflows to use this new action for setting up terraform when I ran into this... behavior? bug? I'm not sure what to call it.
When terraform_wrapper
is set to true
(the default behavior) in this action, it breaks what would be considered normal behavior in bash.
Take the following example from a step in a workflow:
- run: echo "credentials: $(terraform output my_arn)" > my_file.txt
The contents of the file created would be this:
credentials: [command]/home/runner/work/_temp/<some UUID>/terraform-bin output my_arn
Instead of the expected:
credentials: my_arn_value
The only way to fix this problem is to set terraform_wrapper
to false. I'm not sure if this is something that can be fixed/changed? Otherwise, I think it would be a good idea to put this somewhere in the README.
/cc @petersin0422
lucasrampoldi, joshgubler, benc-uk, amancevice, hpohl and 25 morefstephany, izep and kamaz
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested