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

hack/tf-fmt.sh doesn't work with selinux in enforcing #164

Closed
sjenning opened this issue Aug 23, 2018 · 1 comment
Closed

hack/tf-fmt.sh doesn't work with selinux in enforcing #164

sjenning opened this issue Aug 23, 2018 · 1 comment

Comments

@sjenning
Copy link
Contributor

hack/tf-fmt.sh doesn't work with selinux in enforcing

Also, perhaps we should detect if the terraform command is on the path and only use the container if terraform is not present.

@wking
Copy link
Member

wking commented Sep 15, 2018

hack/tf-fmt.sh doesn't work with selinux in enforcing

Fixed by #174.

Also, perhaps we should detect if the terraform command is on the path and only use the container if terraform is not present.

The script is basically a wrapper to invoke the container. If you have a local terraform with a close-enough version, I'd just use terraform fmt ... instead of invoking tf-fmt.sh at all.

@wking wking closed this as completed Sep 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants