Giter Site home page Giter Site logo

Comments (6)

brikis98 avatar brikis98 commented on August 17, 2024 1

Ah, interesting. So do we need a sudo in that command?

from terraform-aws-consul.

yardbirdsax avatar yardbirdsax commented on August 17, 2024 1

@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.

yardbirdsax avatar yardbirdsax commented on August 17, 2024 1

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.

krishanhettihewa avatar krishanhettihewa commented on August 17, 2024

Thanks for the response @brikis98. Yes I hope so. it works well, with sudo permissions.

from terraform-aws-consul.

brikis98 avatar brikis98 commented on August 17, 2024

OK, would you be up for a quick PR to make that change?

from terraform-aws-consul.

yardbirdsax avatar yardbirdsax commented on August 17, 2024

Actually please hold, there might be another issue.

from terraform-aws-consul.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.