terraform/tfi
- 261 bytes
- View raw
1#!/usr/bin/env bash
2# This is an alias for "terraform init".
4set -o errexit
5set -o nounset
7tf init "$@"
9# Tell Time Machine that it doesn't need to both backing up the
10# .terraform directory.
11if [[ -d ".terraform" ]]
12then
13 tmutil addexclusion .terraform
14fi