Skip to content

Instantly share code, notes, and snippets.

# Script to download custom/third party tf plugin and place it inside the terraform plugins directory
FILE=terraform_provider_xxxxx_v0.1.1_x4
if [ ! -f "$FILE" ]; then
cd /home/atlantis/.terraform.d/plugins
wget https://github.com/xxxxxx/terraform-provider-xxxxx/releases/download/v0.1.1/linux_amd64.zip -O tmp.zip && unzip -o tmp.zip && rm tmp.zip
cd /home/atlantis/.terraform.d/plugins/linux_amd64
mv terraform-provider-xxxxx terraform-provider-xxxxx_v0.6.1_x4
else
echo "$FILE exists"
fi
@vidhyachari
vidhyachari / atlantis.yaml
Last active March 28, 2020 22:25
atlantis.yaml file
## atlantis.yaml file - This file overwrites the Server Side Repo Config section specfied in the values.yaml file
version: 3
automerge: true
projects:
- name: staging
dir: /staging/terraform
workspace: default
terraform_version: v0.12.20
autoplan:
enabled: true
## -------------------------- ##
# Values passed to helm chart
## -------------------------- ##
# Kubernetes namespace for atlantis (pods , deployment , service etc.)
namespace: atlantis
# Whitelist Your GitHub infrastructure repository URL. For multiple repositories, comma separate them
orgWhitelist: github.com/yourorg/terraform-infrastructure
# logLevel: "debug"