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

JT

05/23/2023, 3:40 AM
is there a way to make atlantis make custom comments? I want to run a different command and output it's output as a separate comment from the plan/apply comments Sort of like:
workflows:
  staging:
    plan:
      steps:
      - run: echo "INDIVIDUAL COMMENT"
      - init:
          extra_args: [-backend-config=staging.backend.tfvars]
      - plan:
          extra_args: [-var-file=staging.tfvars]
Then add that output as another separate comment
r

RB

05/23/2023, 4:08 AM
There are comment templates that can be overridden
j

JT

05/23/2023, 4:12 AM
Can you provide the documentation for it? I've been searching but my googlefu seems to be failing me today and the link ChatGPT provided 404's 😓
r

RB

05/23/2023, 4:24 AM
You can use the run command to output additional stuff
j

JT

05/23/2023, 4:25 AM
yeah I just don't want them to be part of the same comment because I have a command I want to run after the plan command and it will also have a detailed output for us to review