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
On Mac, the find commands can be fixed by adding the path before -name e.g.
for i in `find . -name 'backend.tf'`; do sed -i "s/UPDATE_ME/${backend_bucket}/" $i; done
sed
The sed issue can be fixed by using gnu-sed instead: brew install gnu-sed and use as gsed SED_COMMAND or adds to alias alias sed=gsed or replace sed by gsed in commands.
TL;DR
find -name
fails on Macsed -i
fails on Mac.find
On Mac, the
find
commands can be fixed by adding thepath
before-name
e.g.sed
The
sed
issue can be fixed by usinggnu-sed
instead:brew install gnu-sed
and use asgsed SED_COMMAND
or adds to aliasalias sed=gsed
or replacesed
bygsed
in commands.Expected behavior
Command executes properly
Observed behavior
Terraform Configuration
Terraform Version
Additional information
No response
The text was updated successfully, but these errors were encountered: