Open ekeren opened 10 months ago
Created a small workaround
Added an function that masks wing
command inside my ~/.zshrc that adds -t ~/.wing/plugin.static-backend.js
if tf-aws
is found on the wing command parameters
# ~/.zshrc
wing(){
if echo "$*" | grep tf-aws ; then
echo plugin.static-backend.js plugin added
command wing $* -t ~/.wing/plugin.static-backend.js
else
command wing $*
fi
}
Followed https://www.winglang.io/docs/guides/terraform-backends for the tf backend instructions
Related: https://github.com/winglang/wing/issues/1792
(edit: fixed link)
You probably mean a different one
Use Case
I want all my tf-aws compilation to use TF backend plugin.
Proposed Solution
Some
~/.wing/
configuration that defines default pluginsImplementation Notes
No response
Component
CLI
Community Notes