Comments (6)
Ah, interesting. So do we need a sudo
in that command?
from terraform-aws-consul.
@brikis98 @krishanhettihewa I fixed this in the PR linked above, albeit in a slightly different way, which was to grant read / execute access to everyone on the Consul binary install path. This way the script works as intended (I tested it while calling it with Packer) and also if someone logs in to an instance as a different user they can still execute the Consul binary for troubleshooting / admin purposes.
from terraform-aws-consul.
Okay we're good now. I ended up going the sudo
route after all. I was having to tweak all sorts of permissions to get it working and in the end I didn't want to assume that those permissions should be there on someone's hardened image. This way the script works and it's left up to the user to determine the correct permissions for their needs.
from terraform-aws-consul.
Thanks for the response @brikis98. Yes I hope so. it works well, with sudo permissions.
from terraform-aws-consul.
OK, would you be up for a quick PR to make that change?
from terraform-aws-consul.
Actually please hold, there might be another issue.
from terraform-aws-consul.
Related Issues (20)
- Default Region Configuration Breaks Tests HOT 2
- [setup-systemd-resolved] Installing dependencies apt-get: command not found HOT 1
- Intermittent test failure
- Consul cluster on spot instances HOT 1
- NOTICE lists Copyright statement with no reference to a LICENSE (Legal Issue : Copyright vs. FOSS) HOT 2
- allow_https_api_inbound errors when no cidr ranges specified HOT 1
- run-consul --version 1.7.1 fails to run due to default config HOT 1
- Feature request: install-dnsmasq - remove requirement for reboot HOT 3
- Can't trigger an instance-refresh on update HOT 2
- How to override instance_role when using consul-cluster module? HOT 1
- support prefix_list_ids in aws_security_group_rule
- Cannot run install-consul on AWS codebuild HOT 1
- `run-consul` refers to a non-existent flag
- Cannot complete install-dnsmasq with docker
- Vault backend for Consul ACL bootstrapping in AWS
- Tags depreciation warning message in resource aws_autoscaling_group HOT 1
- systemd reload not working
- config flag telemetry { disable_compat_1.9 = (true|false) } has been removed.
- Is this the current repo? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-aws-consul.