#atlantis (2021-04)

atlantis

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

2021-04-23

2021-04-22

Steve Wade avatar
Steve Wade

does anyone know with the latest https://github.com/terraform-aws-modules/terraform-aws-atlantis how to use authentication to work with gitlab ?

terraform-aws-modules/terraform-aws-atlantis attachment image

Terraform configurations for running Atlantis on AWS Fargate. Github, Gitlab and BitBucket are supported - terraform-aws-modules/terraform-aws-atlantis

RB avatar
terraform-aws-modules/terraform-aws-atlantis attachment image

Terraform configurations for running Atlantis on AWS Fargate. Github, Gitlab and BitBucket are supported - terraform-aws-modules/terraform-aws-atlantis

RB avatar

ive used that module to configure it with github as an atlantis bot but never with gitlab

Steve Wade avatar
Steve Wade

Got it working had to add the gitlab cidr blocks to the unauth endpoints on the ALb

2021-04-21

Piotr Hryszko avatar
Piotr Hryszko

using https://github.com/terraform-aws-modules/terraform-aws-atlantis can someone explain to me how I can update atlantis-ecs_task_execution so it has privileges to assume roles in other accounts? something like https://github.com/terraform-aws-modules/terraform-aws-atlantis/issues/145 ? struggling with this at the moment

Piotr Hryszko avatar
Piotr Hryszko

@ can you help here?

Steve Wade avatar
Steve Wade

@ sure let me create a gist once i am off this call

Steve Wade avatar
Steve Wade

can you gimme 20 mins?

Piotr Hryszko avatar
Piotr Hryszko

thanks! let me try this out!

Piotr Hryszko avatar
Piotr Hryszko

worked perfectly, thanks!

2021-04-20

Steve Wade avatar
Steve Wade

@David how’d you mean?

2021-04-19

Steve Wade avatar
Steve Wade
Steve Wade avatar
Steve Wade


Add support for parallel plans and applies (@Fauzyy)
Running in parallel is only supported if you’re using workspaces to separate your projects.
Projects in separate directories can not be run in parallel currently.
To use, set
parallel_plan: true
parallel_apply: true
In your repo-level atlantis.yaml file.
does anyone know if this is/will be supported when using seperate directories?

David avatar
David

It works so long s you use different workspaces per directory, right? We have dozens of plans run in parallel from different directories

2021-04-15

Steve Wade avatar
Steve Wade

has anyone setup infracost with atlantis using the upstream terraform module?

jose.amengual avatar
jose.amengual

infracost have integration with atlantis

jose.amengual avatar
jose.amengual

check the docs

jose.amengual avatar
jose.amengual

it was released no long ago

Steve Wade avatar
Steve Wade

yeh i am trying to get it to execute but can’t seem to get it working

Steve Wade avatar
Steve Wade
workflows = {
      default = {
        plan = {
          steps = [
            "init",
            "plan",
            { run = "/home/atlantis/infracost_atlantis_diff.sh" }
          ]
        }
        apply = {
          steps = [
            "apply",
            { run = join(" && ", local.update_deploy_tag) },
          ]
        }
      }
    }
jose.amengual avatar
jose.amengual

is the scrip chmod +x?t

Steve Wade avatar
Steve Wade

its inside their upstream container

jose.amengual avatar
jose.amengual

ahhhh ok

Steve Wade avatar
Steve Wade

i think i may have seen it

Steve Wade avatar
Steve Wade
2021/04/15 21:31:05+0000 [DBUG] run_step_runner.go:71 XXXX/tf-env-k8s#81: Error: exit status 1: running "/home/atlantis/infracost_atlantis_diff.sh" in "/home/atlantis/.atlantis/repos/XXXX/tf-env-k8s/81/default/eu-west-1-data-engineering-prd": 
jose.amengual avatar
jose.amengual

do: bash -x /home/atlantis/infracost_atlantis_diff.sh

David avatar
David

Is there an estimate on a stable 0.17 release? We are particularly waiting for the https://github.com/runatlantis/atlantis/pull/1418 fix to be released

Support pre-workflow hooks on all comment/auto triggered commands. (#43) by nishkrishnan · Pull Request #1418 · runatlantis/atlantis attachment image

Allows you to actually do dynamic configuration generation since unlock command can be run at anytime which would then nuke the working directory and the PR would need to be opened again from scratch.

jose.amengual avatar
jose.amengual

guess what it is going to happen today…..

Support pre-workflow hooks on all comment/auto triggered commands. (#43) by nishkrishnan · Pull Request #1418 · runatlantis/atlantis attachment image

Allows you to actually do dynamic configuration generation since unlock command can be run at anytime which would then nuke the working directory and the PR would need to be opened again from scratch.

1
David avatar
David

Yay

jose.amengual avatar
jose.amengual

I think this release will take a bit longer since that feature is fairly big so it needs more testing

David avatar
David

Just curious, what testing is going on? I haven’t seen many issues created related to the beta and its been well over a month since its release

jose.amengual avatar
jose.amengual

The maintainers basically want to make sure the code is working for people

1

2021-04-08

RB avatar

if a module A changes, how can i tell atlantis to do a plan in modules B, C, and D which consume the changed module A ?

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

That’s not possible in vanilla Atlantis

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

It is supported by spacelift

RB avatar

ahhhh very cool

David avatar
David

If you use terragrunt and atlantis this is the default behavior if you use https://github.com/transcend-io/terragrunt-atlantis-config (disclosure: I maintain that repo)

transcend-io/terragrunt-atlantis-config attachment image

Generate Atlantis config for Terragrunt projects. Contribute to transcend-io/terragrunt-atlantis-config development by creating an account on GitHub.

1
RB avatar

I’ll check it out. Thanks David

2021-04-02

2021-04-01

Mohammed Yahya avatar
Mohammed Yahya
Running Atlantis at Lyft attachment image

By: Nish Krishnan and Sarvar Muminov

4
Douglas Clow avatar
Douglas Clow

Thanks for contributing Pre Workflow Hooks!

Structured logging sounds great too.

Running Atlantis at Lyft attachment image

By: Nish Krishnan and Sarvar Muminov

1
    keyboard_arrow_up