Skip to content

Commit 8e4dc85

Browse files
committed
added .terraformrc
1 parent 70eb9d1 commit 8e4dc85

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

.terraformrc

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
#
2+
# Author: Hari Sekhon
3+
# Date: 2025-03-11 04:10:45 +0800 (Tue, 11 Mar 2025)
4+
#
5+
# vim:ts=4:sts=4:sw=4:et
6+
#
7+
# https///github.com/HariSekhon/Terraform
8+
#
9+
# License: see accompanying Hari Sekhon LICENSE file
10+
#
11+
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback
12+
#
13+
# https://www.linkedin.com/in/HariSekhon
14+
#
15+
16+
# ============================================================================ #
17+
# T e r r a f o r m C o n f i g
18+
# ============================================================================ #
19+
20+
# https://developer.hashicorp.com/terraform/cli/config/config-file
21+
22+
# PLUGIN CACHING:
23+
#
24+
# Necessary to stop Terragrunt wasting tonnes of space
25+
#
26+
# You must create this cache dir manually otherwise Terraform will error out:
27+
#
28+
# mkdir -p -v ~/.terraform.d/plugin-cache
29+
#
30+
# Otherwise Terraform / Terragrunt runs will error out like this...
31+
#
32+
#
33+
# There are some problems with the CLI configuration:
34+
# ╷
35+
# │ Error: The specified plugin cache dir /Users/hari/.terraform.d/plugin-cache cannot be opened: stat /Users/hari/.terraform.d/plugin-cache: no such file or directory
36+
# │
37+
# ╵
38+
#
39+
# As a result of the above problems, Terraform may not behave as intended.
40+
#
41+
#
42+
plugin_cache_dir = "$HOME/.terraform.d/plugin-cache"
43+
#
44+
# Otherwise you could also waste space in these multiples... running this script from DevOps-Bash-tools repo:
45+
#
46+
# terraform_provider_count_sizes.sh
47+
#
48+
# 30 597M hashicorp/aws/5.80.0/darwin_arm64/terraform-provider-aws_v5.80.0_x5
49+
# 7 637M hashicorp/aws/5.90.1/darwin_arm64/terraform-provider-aws_v5.90.1_x5
50+
# 4 637M hashicorp/aws/5.90.0/darwin_arm64/terraform-provider-aws_v5.90.0_x5
51+
# 3 599M hashicorp/aws/5.81.0/darwin_arm64/terraform-provider-aws_v5.81.0_x5
52+
# 2 593M hashicorp/aws/5.79.0/darwin_arm64/terraform-provider-aws_v5.79.0_x5
53+
# 1 609M hashicorp/aws/5.82.2/darwin_arm64/terraform-provider-aws_v5.82.2_x5
54+
# 1 605M hashicorp/aws/5.83.1/darwin_arm64/terraform-provider-aws_v5.83.1_x5
55+
# 1 606M hashicorp/aws/5.84.0/darwin_arm64/terraform-provider-aws_v5.84.0_x5
56+
# 1 624M hashicorp/aws/5.86.0/darwin_arm64/terraform-provider-aws_v5.86.0_x5
57+
# 1 14M hashicorp/external/2.3.4/darwin_arm64/terraform-provider-external_v2.3.4_x5
58+
# 1 14M hashicorp/local/2.5.2/darwin_arm64/terraform-provider-local_v2.5.2_x5
59+
# 1 14M hashicorp/null/3.2.3/darwin_arm64/terraform-provider-null_v3.2.3_x5

0 commit comments

Comments
 (0)