https://www.runatlantis.io/ logo
Title
s

Srinivas Aluka

03/01/2023, 12:22 PM
Hi, Is there a way to reduce noise in terraform plan output. I'm using Atlantis to view the plan inside bitbucket pull request comment. Already applied
-compact-warnings
and
-no-color
options to my plan, still i have some 5k lines. Just wanted to see only the changes made in my infra
I'm using atlantis version 0.20.1 and getting
Error: unknown flag: --hide-unchanged-plan-comments
atlantis server --hide-unchanged-plan-comments --bitbucket-user=${BITBUCKET_USERNAME} --bitbucket-token=${BITBUCKET_TOKEN} --repo-allowlist=bitbucket.org/mysoftware/itc-infrastructure --repo-config="/home/atlantis/repos.yaml" --disable-apply --disable-autoplan --web-basic-auth=true --web-username=${ATLANTIS_WEB_USERNAME} --web-password=${ATLANTIS_WEB_PASSWORD}
by removing
--hide-unchanged-plan-comments
flap it works fine
p

PePe Amengual

03/01/2023, 2:07 PM
that has not been released yet
docs are not versioned
s

Srinivas Aluka

03/01/2023, 2:08 PM
@PePe Amengual we cannot use
--hide-unchanged-plan-comments
for any version of atlantis, correct ?
r

RB

03/01/2023, 3:14 PM
You have to use the
dev
image for that
That's coming in the next release as version 0.23.0
The docs update before the atlantis version unfortunately. Apologies
s

Srinivas Aluka

03/02/2023, 12:37 AM
Thanks @RB @PePe Amengual, can you confirm v0.23.0-pre.20230222 is dev ?
I also noticed
0.23.0:latest
updated 5 hours ago, but I'm not sure if i can use
--hide-unchanged-plan-comments
works for it
r

RB

03/02/2023, 12:40 AM
It works for me using 0.23.0
The
dev
image is updated on every pr merge
s

Srinivas Aluka

03/02/2023, 12:41 AM
ohk, Thanks @RB
p

PePe Amengual

03/02/2023, 1:12 AM
yes, it should