Git Product home page Git Product logo

Comments (8)

mmclane avatar mmclane commented on August 16, 2024 1

OK, I was eventually able to get this to run. Thanks for the information.

from terragrunt-atlantis-config.

dmattia avatar dmattia commented on August 16, 2024

Which version of go are you using?

from terragrunt-atlantis-config.

mmclane avatar mmclane commented on August 16, 2024

go version go1.10.4 linux/amd64

from terragrunt-atlantis-config.

dmattia avatar dmattia commented on August 16, 2024

Got it, that's definitely an older version. We have a test suite that ensures 1.13 and 1.14 work: https://github.com/transcend-io/terragrunt-atlantis-config/blob/master/.circleci/config.yml#L99-L107.

This repo will typically try to stick to golangs official release system, which asks to support the two previous major releases (which would actually be v1.14 and v1.15 at this point): https://golang.org/doc/devel/release.html#policy

We can leave this issue open to tracking support for older go versions though, but in general I think homebrew may be a better fit as that version is not supported.

from terragrunt-atlantis-config.

mmclane avatar mmclane commented on August 16, 2024

I can verify that updating to go version 1.15 fixes the issue.

from terragrunt-atlantis-config.

mmclane avatar mmclane commented on August 16, 2024

Well, the install finished but then the system still couldn't find the terragrunt-atlantis-config file. So I installed homebrew and installed it that way. But I am still getting an error.

zsh: permission denied: terragrunt-atlantis-config

from terragrunt-atlantis-config.

dmattia avatar dmattia commented on August 16, 2024

Is your GOBIN in your system PATH? Here's a common configuration that might work in your bash_profile, zshrc, or other dot file:

export GOPATH="${HOME}/.go"
export GOROOT="$(brew --prefix golang)/libexec"
export GOBIN="${GOPATH}/bin"
test -d "${GOPATH}" || mkdir "${GOPATH}"
test -d "${GOPATH}/src/github.com" || mkdir -p "${GOPATH}/src/github.com"
export PATH=$HOME/bin:/usr/local/bin:~/.tfenv/bin:$PATH:${GOBIN}:${GOROOT}/bin

If you have your $GOBIN in your $PATH, you should be able to run terragrunt-atlantis-config.

In your current setup, what is the output of which terragrunt-atlantis-config?

from terragrunt-atlantis-config.

vapomalov avatar vapomalov commented on August 16, 2024

@mmclane how exactly? I have go 1.15.6 installed, added the configuration to zshrc and i still get the permission denied error.

Edit: Nevermind, i got it also done.

  • Add $GOBIN to $PATH
  • install via: cd && GO111MODULE=on go get github.com/transcend-io/terragrunt-atlantis-config@master && cd -

Linuxbrew didn't work for me.

from terragrunt-atlantis-config.

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.