#atlantis - April 2021

atlantisArchived
26 messages

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

Mohammed Yahya
Mohammed Yahyaover 5 years ago
RB
RBover 5 years ago
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 ?
Steve Wade (swade1987)
Steve Wade (swade1987)over 5 years ago
has anyone setup infracost with atlantis using the upstream terraform module?
PePe Amengual
PePe Amengualover 5 years ago
infracost have integration with atlantis
PePe Amengual
PePe Amengualover 5 years ago
check the docs
PePe Amengual
PePe Amengualover 5 years ago
it was released no long ago
Steve Wade (swade1987)
Steve Wade (swade1987)over 5 years ago
yeh i am trying to get it to execute but can't seem to get it working
Steve Wade (swade1987)
Steve Wade (swade1987)over 5 years ago
workflows = {
      default = {
        plan = {
          steps = [
            "init",
            "plan",
            { run = "/home/atlantis/infracost_atlantis_diff.sh" }
          ]
        }
        apply = {
          steps = [
            "apply",
            { run = join(" && ", local.update_deploy_tag) },
          ]
        }
      }
    }

PePe Amengual
PePe Amengualover 5 years ago(edited)
is the scrip chmod +x?t
Steve Wade (swade1987)
Steve Wade (swade1987)over 5 years ago
its inside their upstream container
PePe Amengual
PePe Amengualover 5 years ago
ahhhh ok
Steve Wade (swade1987)
Steve Wade (swade1987)over 5 years ago
Steve Wade (swade1987)
Steve Wade (swade1987)over 5 years ago
i think i may have seen it
Steve Wade (swade1987)
Steve Wade (swade1987)over 5 years ago
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": 
PePe Amengual
PePe Amengualover 5 years ago(edited)
do: bash -x /home/atlantis/infracost_atlantis_diff.sh
David
Davidover 5 years ago
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 😄
PePe Amengual
PePe Amengualover 5 years ago
I think this release will take a bit longer since that feature is fairly big so it needs more testing
David
Davidover 5 years ago
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
PePe Amengual
PePe Amengualover 5 years ago
The maintainers basically want to make sure the code is working for people
Steve Wade (swade1987)
Steve Wade (swade1987)over 5 years ago
Steve Wade (swade1987)
Steve Wade (swade1987)over 5 years ago

Add support for parallel plans and applies (#926 by @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?
tomv
tomvover 5 years ago
David
Davidover 5 years ago
It works so long s you use different workspaces per directory, right? We have dozens of plans run in parallel from different directories
Steve Wade (swade1987)
Steve Wade (swade1987)over 5 years ago
@David how’d you mean?
Piotr Hryszko
Piotr Hryszkoover 5 years ago
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
Steve Wade (swade1987)
Steve Wade (swade1987)over 5 years ago
does anyone know with the latest https://github.com/terraform-aws-modules/terraform-aws-atlantis how to use authentication to work with gitlab ?