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

Pantelis Karamolegkos

04/12/2023, 11:38 AM
I see that the
ATLANTIS_DISABLE_APPLY
was switched with
ATLANTIS_ALLOW_COMMANDS
? Isn’t this a breaking change?
r

RB

04/12/2023, 12:45 PM
It's a breaking change. I do not recall if disable apply was deprecated or if it was accidentally broken This is the pr that introduced --allow-commands https://github.com/runatlantis/atlantis/pull/2877
cc @krrrr38
p

Pantelis Karamolegkos

04/12/2023, 1:44 PM
Currently in the docs only the
--disable-apply-all
is listed. I thin the
--disable-apply
was also there.
d

Dylan Page

04/12/2023, 2:45 PM
There's a bug I think
That is suppose to backwards compatible the old flag
ApplyDisabled
p

Pantelis Karamolegkos

04/12/2023, 2:46 PM
I see. So the
ATLANTIS_DISABLE_APPLY
should not have been removed from the docs?
d

Dylan Page

04/12/2023, 2:48 PM
It's deprecate as of that PR, I think there can be a conversation around deprecating old flags and doc removal.
p

Pantelis Karamolegkos

04/12/2023, 2:49 PM
So currently the “safe” (?) way to go in terms of disabling apply is
ATLANTIS_ALLOW_COMMANDS='version,plan,unlock'
?
👍 1
d

Dylan Page

04/12/2023, 2:52 PM
Yes, that will work for sure.
👍 2
:this: 1