This message was deleted.
# atlantis-community
s
This message was deleted.
s
We use terragrunt with terragrunt-atlantis-config. This is a slightly redacted copy of the server side configuration:
Copy code
repos:
- id: /.*/
  workflow: terragrunt
  apply_requirements: [approved, mergeable, undiverged]
policies:
  owners:
    users:
      - xxx
  policy_sets:
    - name: xxx
      path: /policy
      source: local
workflows:
  terragrunt:
    plan:
      steps:
      - env:
          name: AWS_PROFILE
          value: atlantis
      - env:
          name: TERRAGRUNT_TFPATH
          command: 'echo "terraform"'
      - env:
          name: TF_IN_AUTOMATION
          value: 'true'
      - env:
          name: INFRACOST_OUTPUT
          command: 'echo "/tmp/$BASE_REPO_OWNER-$BASE_REPO_NAME-$PULL_NUM/$WORKSPACE-infracost.json"'
      - run:
          command: terragrunt plan -input=false -out=$PLANFILE
          output: strip_refreshing
      - run: terragrunt show -json $PLANFILE > $SHOWFILE
    policy_check:
      steps:
        - run: conftest test -p /policy/ $SHOWFILE
    apply:
      steps:
      - env:
          name: AWS_PROFILE
          value: atlantis
      - env:
          name: TERRAGRUNT_TFPATH
          command: 'echo "terraform"'
      - env:
          name: TF_IN_AUTOMATION
          value: 'true'
      - run: terragrunt apply -input=false $PLANFILE
I've added
policies.policy_sets
after the update. The policy_check command in the workflow is the same
p
older versions work?
s
It does. We're gone back to our previous version
0.23.3
for the time being
p
mmm, could you please create an issue?
I wonder if this could be the issue https://github.com/runatlantis/atlantis/pull/3587
s
I'll create an issue. Was going to take one more stab at it first. FWIW I don't think it's the linked issue. We use a custom image and the error was showing on version
0.36.0
and
0.44.1
of conftest. I upgraded the version of conftest after atlantis thinking it could be related.
p
ahhhh ok cool, thanks for confirming that