Skip to content

Commit 874ae1f

Browse files
committed
website docs
1 parent 41cd304 commit 874ae1f

File tree

3 files changed

+27
-6
lines changed

3 files changed

+27
-6
lines changed

website/docs/r/opa_version.html.markdown

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,20 @@ resource "tfe_opa_version" "test" {
2626
The following arguments are supported:
2727

2828
* `version` - (Required) A semantic version string in N.N.N or N.N.N-bundleName format.
29-
* `url` - (Required) The URL where a 64-bit Linux binary of this version can be downloaded.
30-
* `sha` - (Required) The SHA-256 checksum of the compressed OPA binary.
29+
* `url` - (Soon to be deprecated) The URL where a 64-bit Linux binary of this version can be downloaded.
30+
* `sha` - (Soon to be deprecated) The SHA-256 checksum of the compressed OPA binary.
3131
* `official` - (Optional) Whether or not this is an official release of OPA. Defaults to "false".
3232
* `enabled` - (Optional) Whether or not this version of OPA is enabled for use in HCP Terraform and Terraform Enterprise. Defaults to "true".
3333
* `beta` - (Optional) Whether or not this version of OPA is beta pre-release. Defaults to "false".
3434
* `deprecated` - (Optional) Whether or not this version of OPA is deprecated. Defaults to "false".
3535
* `deprecated_reason` - (Optional) Additional context about why a version of OPA is deprecated. Defaults to "null" unless `deprecated` is true.
36+
* `archs` - (Optional) A list of architecture-specific binaries for this Terraform version. Each entry in the list is a map containing the following attributes:
37+
* `url` - (Required) The URL where a ZIP-compressed binary of this version can be downloaded.
38+
* `sha` - (Required) The SHA-256 checksum of the compressed binary.
39+
* `os` - (Required) The operating system for which this binary is intended.
40+
* `arch` - (Required) The architecture for which this binary is intended.
41+
42+
When specifying architecture-specific binaries, the top-level `url` and `sha` attributes are deprecated and should not be used. If both top-level `url` and `sha` are specified, an `archs` entry for the `amd64` architecture must also be included, and its `url` and `sha` values must match the top-level values.
3643

3744
## Attributes Reference
3845

website/docs/r/sentinel_version.html.markdown

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,20 @@ resource "tfe_sentinel_version" "test" {
2626
The following arguments are supported:
2727

2828
* `version` - (Required) A semantic version string in N.N.N or N.N.N-bundleName format.
29-
* `url` - (Required) The URL where a ZIP-compressed 64-bit Linux binary of this version can be downloaded.
30-
* `sha` - (Required) The SHA-256 checksum of the compressed Sentinel binary.
29+
* `url` - (Soon to be deprecated) The URL where a ZIP-compressed 64-bit Linux binary of this version can be downloaded.
30+
* `sha` - (Soon to be deprecated) The SHA-256 checksum of the compressed Sentinel binary.
3131
* `official` - (Optional) Whether or not this is an official release of Sentinel. Defaults to "false".
3232
* `enabled` - (Optional) Whether or not this version of Sentinel is enabled for use in HCP Terraform and Terraform Enterprise. Defaults to "true".
3333
* `beta` - (Optional) Whether or not this version of Sentinel is beta pre-release. Defaults to "false".
3434
* `deprecated` - (Optional) Whether or not this version of Sentinel is deprecated. Defaults to "false".
3535
* `deprecated_reason` - (Optional) Additional context about why a version of Sentinel is deprecated. Defaults to "null" unless `deprecated` is true.
36+
* `archs` - (Optional) A list of architecture-specific binaries for this Terraform version. Each entry in the list is a map containing the following attributes:
37+
* `url` - (Required) The URL where a ZIP-compressed binary of this version can be downloaded.
38+
* `sha` - (Required) The SHA-256 checksum of the compressed binary.
39+
* `os` - (Required) The operating system for which this binary is intended.
40+
* `arch` - (Required) The architecture for which this binary is intended.
41+
42+
When specifying architecture-specific binaries, the top-level `url` and `sha` attributes are deprecated and should not be used. If both top-level `url` and `sha` are specified, an `archs` entry for the `amd64` architecture must also be included, and its `url` and `sha` values must match the top-level values.
3643

3744
## Attributes Reference
3845

website/docs/r/terraform_version.html.markdown

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,20 @@ resource "tfe_terraform_version" "test" {
2626
The following arguments are supported:
2727

2828
* `version` - (Required) A semantic version string in N.N.N or N.N.N-bundleName format.
29-
* `url` - (Required) The URL where a ZIP-compressed 64-bit Linux binary of this version can be downloaded.
30-
* `sha` - (Required) The SHA-256 checksum of the compressed Terraform binary.
29+
* `url` - (Soon to be deprecated) The URL where a ZIP-compressed 64-bit Linux binary of this version can be downloaded.
30+
* `sha` - (Soon to be deprecated) The SHA-256 checksum of the compressed Terraform binary.
3131
* `official` - (Optional) Whether or not this is an official release of Terraform. Defaults to "false".
3232
* `enabled` - (Optional) Whether or not this version of Terraform is enabled for use in HCP Terraform and Terraform Enterprise. Defaults to "true".
3333
* `beta` - (Optional) Whether or not this version of Terraform is beta pre-release. Defaults to "false".
3434
* `deprecated` - (Optional) Whether or not this version of Terraform is deprecated. Defaults to "false".
3535
* `deprecated_reason` - (Optional) Additional context about why a version of Terraform is deprecated. Defaults to "null" unless `deprecated` is true.
36+
* `archs` - (Optional) A list of architecture-specific binaries for this Terraform version. Each entry in the list is a map containing the following attributes:
37+
* `url` - (Required) The URL where a ZIP-compressed binary of this version can be downloaded.
38+
* `sha` - (Required) The SHA-256 checksum of the compressed binary.
39+
* `os` - (Required) The operating system for which this binary is intended.
40+
* `arch` - (Required) The architecture for which this binary is intended.
41+
42+
When specifying architecture-specific binaries, the top-level `url` and `sha` attributes are deprecated and should not be used. If both top-level `url` and `sha` are specified, an `archs` entry for the `amd64` architecture must also be included, and its `url` and `sha` values must match the top-level values.
3643

3744
## Attributes Reference
3845

0 commit comments

Comments
 (0)