#atlantis (2021-06)

atlantis

Discuss the Atlantis (http://runatlantis.io|runatlantis.io) *Archive: * https://archive.sweetops.com/atlantis/

2021-06-09

joshmyers avatar
joshmyers

Anyone else using --hide-prev-plan-comments and using the in built conftest stuff? When posting the conftest results, it is marking the plan as outdated (hiding) ….

Steve Wade avatar
Steve Wade

we use the flag without conftest but it doesn’t work at all in gitlab

joshmyers avatar
joshmyers

Working now pulled from master rather than latest release

2021-06-03

2021-06-02

Steve Wade avatar
Steve Wade
03:47:20 PM

can anyone explain this … its happening on all our terraform roots

jose.amengual avatar
jose.amengual

check atlantis logs

jose.amengual avatar
jose.amengual

enable debug

jose.amengual avatar
jose.amengual

check permission of the atlantis user

Steve Wade avatar
Steve Wade

all we get in the logs is …

{
    "level": "error",
    "ts": 1622712784.8012686,
    "caller": "events/automerger.go:37",
    "msg": "automerging failed: unable to merge merge request, it may not be in a mergeable state: PUT <https://gitlab.com/api/v4/projects/redacted/tf-env-security-groups/merge_requests/39/merge>: 405 {message: 405 Method Not Allowed}",
    "json": {
        "repo": "redacted/tf-env-security-groups",
        "pull": "39"
    },
    "stacktrace": "github.com/runatlantis/atlantis/server/events.(*AutoMerger).automerge\n\t/home/circleci/project/server/events/automerger.go:37\ngithub.com/runatlantis/atlantis/server/events.(*ApplyCommandRunner).Run\n\t/home/circleci/project/server/events/apply_command_runner.go:161\ngithub.com/runatlantis/atlantis/server/events.(*DefaultCommandRunner).RunCommentCommand\n\t/home/circleci/project/server/events/command_runner.go:212"
}
tomv avatar

is there anyone that uses atlantis with a combination of encrypted tfvars files and workspaces? It looks like it should be possible, but just wondering if anyone else has done it before i go down the rabbit hole of spending a day or two getting it implemented

David avatar
David

I got a demo working with https://github.com/mozilla/sops quite a few months ago. I didn’t end up going with that approach, but I know it worked not that long ago

mozilla/sops attachment image

Simple and flexible tool for managing secrets. Contribute to mozilla/sops development by creating an account on GitHub.

    keyboard_arrow_up