Skip to content

Fix conftest policy checks in Atlantis

Pierre Guinoiseau requested to merge pguinoiseau/fix-atlantis-conftest into master

What

Fix conftest policy checks in Atlantis:

  • test both global policies and per-environment/project policies
  • create a dummy policy when there are none to avoid errors

Also run terraform init with -upgrade to avoid errors when re-running tf plan avoid a long time

Why

Part of https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/16987

Merge request reports