From 844e02685cb92452c5e72e07833a4ee6feeb5a03 Mon Sep 17 00:00:00 2001 From: airthings-atlantis Date: Thu, 7 Mar 2024 10:42:48 +0100 Subject: [PATCH] Managed by Terraform, adding atlantis config to watch infra/dev, infra/prod --- atlantis.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 atlantis.yaml diff --git a/atlantis.yaml b/atlantis.yaml new file mode 100644 index 0000000..ab36d15 --- /dev/null +++ b/atlantis.yaml @@ -0,0 +1,22 @@ +## atlantis.yaml file - This file overwrites the Server Side Repo Config section specified in the values.yaml file +version: 3 +automerge: true +projects: + - name: dev + dir: /infra/environments/dev + workspace: default + autoplan: + when_modified: [ "../../modules/**/*.tf", "../*.tf", "*.tf*" ] + enabled: true + - name: production + dir: /infra/environments/prod + workspace: default + autoplan: + enabled: true + apply_requirements: [mergeable, approved, undiverged] + - name: insight + dir: /infra/environments/insight + workspace: default + autoplan: + enabled: true + apply_requirements: [mergeable, approved, undiverged]