#atlantis (2019-03)

atlantis

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

2019-03-13

Evgeny Pestov avatar
Evgeny Pestov


atlantis plan – -destroy doesn’t seem to work with terragrunt :-(

which is our wrapper of choice… But I’ve found another workaround proposed for terragrunt use case in one of the issues: using an empty/dummy module

Evgeny Pestov avatar
Evgeny Pestov

One more question: how do you test modules and/or infrastructure with Atlanis? I would like to have a flow like: create MR -> atlantis plan -> review -> atlantis apply -> run tests with the CI tool of choice, which is GitLab in our case. Atlantis updates the commit status in gitlab, but I could not find a way to hook Gitlab CI jobs to the status… Which is probably a GitLab limitation…

2019-03-12

Shane avatar
Shane

@Evgeny Pestov it will not detect it as you are removing it and it will see nothing exists. So you have to destroy it yourself or leave a empty tf file with no resources.

2019-03-08

Evgeny Pestov avatar
Evgeny Pestov

@nutellinoit Thanks! That’s an option indeed. Does Atlantis destroy removed ‘projects’ or one need to create a PR with an empty tf folder for that?

joshmyers avatar
joshmyers

Atlantis literally runs what Terraform would.

2019-03-07

Evgeny Pestov avatar
Evgeny Pestov

Greetings! I’m evaluating Atlantis and there are few things I’ve stumbled upon.. One of which is what is the Atlantis flow for re-creating things? Let’s say I’ve lost a bunch of resources due to some disastrous event. Locally I can just run ‘terraform plan, apply’ and get most of the things re-created. But with Atlantis there are no changes to create a PR with. The same if I want to re-create something: I can do ‘terraform destroy, apply’ locally, but we want all our actions to be run through our gitops flow… Thanks for help!

nutellinoit avatar
nutellinoit

You can create a PR , then launch atlantis plan

nutellinoit avatar
nutellinoit

wait for plan to be ready

nutellinoit avatar
nutellinoit

and then atlantis apply

nutellinoit avatar
nutellinoit

atlantis plan -p projectname

mpmsimo avatar
mpmsimo

Any modification to a .tf file should work, if no changes are recognized (i.e. whitespace)

    keyboard_arrow_up