forked from cresta/atlantis-drift-detection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.env
22 lines (22 loc) · 1.17 KB
/
example.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Just the protocol and hostname of atlantis
ATLANTIS_HOST=https://atlantis.company.com
# Your atlantis token
ATLANTIS_TOKEN=PRIVATE_TOKEN
# A plan that is ok
PLAN_SUMMARY_OK='{"Repo": "company/terraform", "Ref": "master", "Type": "Github", "Dir": "environments/aws/env1", "Workspace": "account1"}'
# A plan that you expect to have changes
PLAN_SUMMARY_CHANGES='{"Repo": "company/terraform", "Ref": "master", "Type": "Github", "Dir": "environments/aws/env1", "Workspace": "account1"}'
# A plan you expect to already be locked
PLAN_SUMMARY_LOCK='{"Repo": "company/terraform", "Ref": "master", "Type": "Github", "Dir": "environments/aws/env1", "Workspace": "account1"}'
# Local directory to terraform
TERRAFORM_DIR=/home/USER/GolandProjects/terraform
# A sub directory in TERRAFORM_DIR that has terraform files
TERRAFORM_SUBDIR=environments/aws/env1
# Optional: A directory to whitelist (will only run for this directory)
DIRECTORY_WHITELIST=environments/aws/lambda/helloworld
# Optional: A slack webhook URL to get notifications
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/X/Y/Z
# Your terraform repository
REPO=company/terraform
# Optional: (but sometimes useful)
AWS_PROFILE=extra-prfiles