Fix conftest policy checks in Atlantis
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