#atlantis (2022-04)

atlantis

Discuss the Atlantis (<http://runatlantis.iorunatlantis.io>)

**Archive: ** https://archive.sweetops.com/atlantis/

2022-04-01

deniz gökçin avatar
deniz gökçin

hi all I am having problems in setting up cloudposse atlantis running on ecs fargate. Has anyone recently setted up atlantis on aws with terraform? I would like to ask some questions Thanks!

jose.amengual avatar
jose.amengual

do not use that repo

jose.amengual avatar
jose.amengual

it is basically deprecated

jose.amengual avatar
jose.amengual

I’m working on making a new version that uses the current atlantis image

deniz gökçin avatar
deniz gökçin

I really liked the additional layer that they have implemented to allow applys only from teams. so and I am using other cloudposse modules on aws so I wanted to give it a go. but thanks, I will use the official repo.

jose.amengual avatar
jose.amengual

the official repo have that feature already

1

2022-04-02

deniz gökçin avatar
deniz gökçin

Hi all

I am trying to set githup app authentication with a custom atlantis instance with terragrunt deployed in aws fargate. There seems to be an open issue and PR which is blocking me to set up the github app in my organization. Any ways to work around this and set up the github app? fix: Add CleanedBasePath to GithubSetupData (#2141) by santelos · Pull Request #2142 · runatlantis/atlantis

Fixes: #2141

Background

Template for GithubAppSetupTemplate refers to the property CleanedBasePath of GithubSetupData struct that was undefined.

Changes:

• Property CleanedBasePath was added into GithubSetupData struct • Property CleanedBasePath is assigned in server/controllers/github_app_controller.go with g.AtlantisURL.path
Where g is GithubAppController struct

Test

• Tested locally with modified for local dev docker-compose run atlantis server.
Was able to see <http://localhost:4141/github-app/setup> page

jose.amengual avatar
jose.amengual

I answered you in the Atlantis slack

Fixes: #2141

Background

Template for GithubAppSetupTemplate refers to the property CleanedBasePath of GithubSetupData struct that was undefined.

Changes:

• Property CleanedBasePath was added into GithubSetupData struct • Property CleanedBasePath is assigned in server/controllers/github_app_controller.go with g.AtlantisURL.path
Where g is GithubAppController struct

Test

• Tested locally with modified for local dev docker-compose run atlantis server.
Was able to see <http://localhost:4141/github-app/setup> page

1

2022-04-04

Loz avatar

Morning everyone! My org is beginning to scale up quite fast, and we were wondering if anybody else is running Atlantis in HA We were thinking potentially running several Atlantis ECS tasks, with a single shared EFS instance attached to each, so they all share plans. Alternatively, we could have Atlantis instances spin up as part of a GitHub action and run per-PR

But curious to see if/how everyone else manages it

jose.amengual avatar
jose.amengual

it is not possible

jose.amengual avatar
jose.amengual

you can run multiple Atlantis servers and devide and conquer buy sending some event to certain Atlantis servers

jose.amengual avatar
jose.amengual

like have a your network related repos pointing to one Atlantis server

deniz gökçin avatar
deniz gökçin

Hi all

Anyone using atlantis with terragrunt? I would like to ask some questions about managing submodules on the atlantis server. In my hcl files, I have a dependency block with a reference to common resources that are needed in other repos as well(such as vpc, load balancer etc). I add the common resources to each individual repo as a submodule. When I try executing a custom terragrunt workflow command inside my atlantis instance, I get the following error:

Ran Plan for dir: `terragrunt/app/pg/s3/product-images-temp` workspace: `default`

**Plan Error**

exit status 1: running “terragrunt plan -out=$PLANFILE” in “/home/atlantis/.atlantis/repos/MyOrganization/my_repo_name/26/default/terragrunt/app/pg/s3/product-images-temp”: time=2022-04-04T1128Z level=error msg=Working dir terragrunt-base/modules/terraform-aws-s3-bucket from source file:///home/atlantis/.atlantis/repos/MyOrganization/my_repo_name/26/default/terragrunt/common does not exist time=2022-04-04T1128Z level=error msg=Unable to determine underlying exit code, so Terragrunt will exit with error code 1

I believe the common submodule is not cloned properly inside my atlantis instance. Do you have a suggestion?

deniz gökçin avatar
deniz gökçin

I figured out that like a normal git repo, unless given special parameters, the submodules are not cloned. So I added the following command as a part of my custom plan workflow on the atlantis server

- run: git submodule update --recursive --remote

This gave me a different error about cloning my submodules permission denied public key. Any suggestions on making ssh submodules work with a github app?

2022-04-08

jose.amengual avatar
jose.amengual

we have released the first prerelease atlantis version. This releases are going to have all the latest merges to master and they will be around for 30 days before the base release is created, that way people have time to test new features and bug fixes and report back : https://github.com/runatlantis/atlantis/releases/tag/v0.19.3-pre.20220408

What's Changed
build(deps): bump github.com/xanzy/go-gitlab from 0.58.0 to 0.59.0 by @dependabot in #2140
feat: Add stats support for basic operations by @nishkrishnan in #2147
chore: move CommandContext and CommandResult to models (#193) by @msarvar in #2093
fix: allow projects in separate directories to run in parallel by @KevinSnyderCodes in #2131
workflow(tester): fix gotest runs for fork PRs by @chenrui333 in #2160
fix: unit tests for DefaultWorkingDirLocker.TryLock() by @KevinSnyderCodes in #2159
build(deps): bump alpine base image from 3.15 to 3.15.2 by @gdidok in #2161
build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 by @dependabot in #2153
build(deps): bump github.com/golang-jwt/jwt/v4 from 4.3.0 to 4.4.1 by @dependabot in #2167
build(deps): [security] bump minimist from 1.2.0 to 1.2.6 by @dependabot in #2165
fix: reverting change to command status logic by @jamengual in #2173
release: add pre-release flow by @chenrui333 in #2185
docs: fix apply requirements list by @edbighead in #2170
fix(github): allow Github App to clone forks of a private repository by @joshuasimon-taulia in #2044
fix: add path to WorkingDir methods by @KevinSnyderCodes in #2180

image at docker pull [ghcr.io/runatlantis/atlantis:v0.19.3-pre.20220408](http://ghcr.io/runatlantis/atlantis:v0.19.3-pre.20220408)

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

Great move

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

It’s always annoyed me when projects don’t have something bleeding edge to test out without needing to have a local build env to create the artifact and distribute it

jose.amengual avatar
jose.amengual

thanks, it has been painful to see merges that seem to be ok to later realize that is affecting certain workflows for a lot of people, this way people can test those new features and reach out and collaborate to get a more stable base release

jose.amengual avatar
jose.amengual

we will be announcing every prerelease so people interested in new features can get notified

joshmyers avatar
joshmyers

This is awesome, thanks @jose.amengual

1

2022-04-12

2022-04-13

2022-04-20

2022-04-28

2022-04-29

jose.amengual avatar
jose.amengual

New Atlantis prerelease v0.19.3-pre.20220429 this prerelease will be out for 2 weeks and then we will cut a new base release. Please check it and and report any issues on the discussion section. Thanks.

## What's Changed
* build(deps): bump actions/stale from 4 to 5 by @dependabot in <https://github.com/runatlantis/atlantis/pull/2195>
* build(deps): bump actions/setup-go from 2 to 3 by @dependabot in <https://github.com/runatlantis/atlantis/pull/2194>
* deps: bump terraform to v1.1.8 by @chenrui333 in <https://github.com/runatlantis/atlantis/pull/2196>
* Update alpine base from 3.15.2 to latest patch version 3.15.4 by @gaffneyd4 in <https://github.com/runatlantis/atlantis/pull/2202>
* build(deps): bump github.com/spf13/viper from 1.10.1 to 1.11.0 by @dependabot in <https://github.com/runatlantis/atlantis/pull/2206>
* links(github): replace help.github.com with docs.github.com links by @chenrui333 in <https://github.com/runatlantis/atlantis/pull/2227>

## New Contributors
* @gaffneyd4 made their first contribution in <https://github.com/runatlantis/atlantis/pull/2202>

**Full Changelog**: <https://github.com/runatlantis/atlantis/compare/v0.19.3-pre.20220408...v0.19.3-pre.20220429>

https://github.com/runatlantis/atlantis/releases/tag/v0.19.3-pre.20220429

    keyboard_arrow_up