You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/terraform/NOTES.md
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,37 @@
4
4
5
5
On August 10, 2023, HashiCorp announced a change of license for its products, including Terraform. After ~9 years of Terraform being open source under the MPL v2 license, it was to move under a non-open source BSL v1.1 license, starting from the next (1.6) version. See https://github.com/hashicorp/terraform/blob/main/LICENSE
6
6
7
+
## Custom Download Server
8
+
9
+
The `customDownloadServer` option allows you to specify an alternative server for downloading Terraform and Sentinel packages. This is useful for organizations that maintain internal mirrors or have proxies for HashiCorp downloads.
10
+
11
+
When using this option:
12
+
- Provide the complete URL including protocol (e.g., `https://my-mirror.example.com`)
13
+
- The server should mirror the HashiCorp releases structure
When using a custom download server, be aware of the following security implications:
27
+
28
+
-**Server Verification**: Always verify that the custom server is trustworthy and maintained by your organization or a trusted entity. Using an untrusted or compromised server could lead to downloading malicious software.
29
+
30
+
-**Supply Chain Risks**: Malicious actors may attempt to distribute compromised versions of Terraform that contain backdoors, cryptominers, or other harmful code.
31
+
32
+
-**Integrity Checks**: The feature performs SHA256 checks when available, but these are only as trustworthy as the source of the checksums. If both the binaries and checksums come from a compromised server, the integrity check may pass despite the software being malicious.
33
+
34
+
-**Organizational Policy**: Ensure your custom download server adheres to your organization's security policies and implements proper access controls.
35
+
36
+
Always use the official HashiCorp download server (https://releases.hashicorp.com) unless you have a specific need for an alternative source.
37
+
7
38
## OS Support
8
39
9
40
This Feature should work on recent versions of Debian/Ubuntu-based distributions with the `apt` package manager installed.
"description": "Installs the Terraform CLI and optionally TFLint and Terragrunt. Auto-detects latest version and installs needed dependencies.",
@@ -54,6 +54,11 @@
54
54
"type": "string",
55
55
"default": "",
56
56
"description": "Connect to a keyserver using a proxy by configuring this option"
57
+
},
58
+
"customDownloadServer": {
59
+
"type": "string",
60
+
"default": "",
61
+
"description": "Custom server URL for downloading Terraform and Sentinel packages, including protocol (e.g., https://releases.hashicorp.com). If not provided, the default HashiCorp download server (https://releases.hashicorp.com) will be used."
0 commit comments