Coder Social home page Coder Social logo

Comments (10)

Jaff avatar Jaff commented on August 16, 2024

I thought it might be due to unequal-length public & private subnets, but I explicitly set both to two and still get the same result. I am providing parameters for all variables, private_subnet_ids, private_subnets, public_subnet_ids, & public_subnets.

from terraform-aws-atlantis.

tebriel avatar tebriel commented on August 16, 2024

I got this same issue, I submoduled this repo and changed create_vpc to be explicitly false, and that fixed my issue. I believe it's because the ternary in the aws-vpc module doesn't evaluate properly on the boolean value outputted from the check if the vpc id equals "" or not, but I'm not 100% sure.

from terraform-aws-atlantis.

Jaff avatar Jaff commented on August 16, 2024

Would you please explain how you "submoduled this repo" ?

from terraform-aws-atlantis.

tebriel avatar tebriel commented on August 16, 2024

I forked it, did:

mkdir -p modules
git submodule add ${git_clone_url} modules/terraform-aws-atlantis
cd modules/terraform-aws-atlantis
git checkout my-fix-branch
cd ../../
git add modules/terraform-aws-atlantis

then updated my module as follows

module "atlantis" {
  # source  = "terraform-aws-modules/atlantis/aws"
  source  = "./modules/terraform-aws-atlantis"
  # Snip, the rest of the module

from terraform-aws-atlantis.

Jaff avatar Jaff commented on August 16, 2024

@tebriel Have you made a PR for your fix?

from terraform-aws-atlantis.

tebriel avatar tebriel commented on August 16, 2024

@Jaff no, I can't find a way to make it work the same way a hardcoded false does.

from terraform-aws-atlantis.

Jaff avatar Jaff commented on August 16, 2024

I've gotten a bit farther with this, doing essentially the same as @tebriel but now I'm not able to launch the container. My logs display the command I've provided followed by 'not found' like:

/usr/local/bin/docker-entrypoint.sh: exec: line 46: atlantis server --log-level=debug \
--gh-user=XXXX --gh-token="YYYYY" --gh-webhook-secret="something" --repo-config-json='
{
    "repos": [
        {
            "id": "/.*/",
            "allowed_overrides": [
                "workflow"
            ],
            "allow_custom_workflows": true,
            "apply_requirements": [
                "approved",
                "mergeable"
            ]
        }
    ]
}
' --repo-whitelist=github.com/our/repository: not found

Where did I go wrong?

from terraform-aws-atlantis.

tebriel avatar tebriel commented on August 16, 2024

why is your json multiline like that? that seems possibly bad, maybe minify it to a single line and see if those newlines are your problem

from terraform-aws-atlantis.

Jaff avatar Jaff commented on August 16, 2024

Gotten past this with different implementation

from terraform-aws-atlantis.

github-actions avatar github-actions commented on August 16, 2024

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

from terraform-aws-atlantis.

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.