Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0-org Errors in step 10 on Mac #984

Closed
jtblin opened this issue Jul 2, 2023 · 1 comment · Fixed by #1043
Closed

0-org Errors in step 10 on Mac #984

jtblin opened this issue Jul 2, 2023 · 1 comment · Fixed by #1043
Labels
bug Something isn't working Stale

Comments

@jtblin
Copy link

jtblin commented Jul 2, 2023

TL;DR

find -name fails on Mac

sed -i fails on Mac.

find

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.

Expected behavior

Command executes properly

Observed behavior

find: illegal option -- n
usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [expression]
       find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression]

Terraform Configuration

NA

Terraform Version

Terraform v1.5.2
on darwin_arm64

Additional information

No response

@jtblin jtblin added the bug Something isn't working label Jul 2, 2023
@github-actions
Copy link

github-actions bot commented Sep 1, 2023

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
1 participant