-
Notifications
You must be signed in to change notification settings - Fork 21
[TFDN-182] TFE ToolVersion API Doc Updates for ARM Support #547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Vercel Previews Deployed
|
Broken Link CheckerNo broken links found! 🎉 |
46114ec
to
9384b3b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made some suggestions and linked to the style guide for my rationale. But just to sum up, I don't believe we have a concept of a "pre-deprecation" cycle, so until something is actually deprecated, I think the most we can say is that something is under review. "Deprecated soon" is too much of a hedge.
| `data.attributes.deprecated-reason` | string | (previous value) | Additional context about why a version of Sentinel is deprecated. | | ||
| `data.attributes.enabled` | bool | (previous value) | Whether or not this version of Sentinel is enabled for use in HCP Terraform. | | ||
| `data.attributes.beta` | bool | (previous value) | Whether or not this version of Sentinel is a beta pre-release. | | ||
~> **Note:** The `archs[n].url` and `archs[n].sha` fields are the recommended way to set the URL and SHA-256 checksum of a Sentinel binary. The `url` and `sha` fields are in the process of being deprecated but can still be used to set Linux amd64 URL and SHA-256 checksums. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
~> **Note:** The `archs[n].url` and `archs[n].sha` fields are the recommended way to set the URL and SHA-256 checksum of a Sentinel binary. The `url` and `sha` fields are in the process of being deprecated but can still be used to set Linux amd64 URL and SHA-256 checksums. | |
We recommend setting the URL and SHA-256 checksum of a Sentinel binary in the `archs[n].url` and `archs[n].sha` fields. |
Per the style guide, we should describe the product as it currently exists.
| ----------------------------------- | ------ | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| `data.type` | string | | Must be `"sentinel-versions"`. | | ||
| `data.attributes.version` | string | (previous value) | A semantic version string in N.N.N or N.N.N-bundleName format (`"0.11.0"` or `"0.12.20-beta1"`). | | ||
| `data.attributes.url` | string | (previous value) | **Soon to be deprecated.** The URL where you can download the Linux amd64 binary of this version. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `data.attributes.url` | string | (previous value) | **Soon to be deprecated.** The URL where you can download the Linux amd64 binary of this version. | | |
| `data.attributes.url` | string | (previous value) | The URL where you can download the Linux amd64 binary of this version. This field is under review. We recommend using the `archs[n].url` field instead. | |
This suggestion is also related to the style guidance about describing the product as is. We also have a rule about emphasis
| `data.type` | string | | Must be `"sentinel-versions"`. | | ||
| `data.attributes.version` | string | (previous value) | A semantic version string in N.N.N or N.N.N-bundleName format (`"0.11.0"` or `"0.12.20-beta1"`). | | ||
| `data.attributes.url` | string | (previous value) | **Soon to be deprecated.** The URL where you can download the Linux amd64 binary of this version. | | ||
| `data.attributes.sha` | string | (previous value) | **Soon to be deprecated.** The SHA-256 checksum of the Linux amd64 Sentinel binary. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `data.attributes.sha` | string | (previous value) | **Soon to be deprecated.** The SHA-256 checksum of the Linux amd64 Sentinel binary. | | |
| `data.attributes.sha` | string | (previous value) | The SHA-256 checksum of the Linux amd64 Sentinel binary. This field is under review. We recommend using the `archs[n].sha` field instead. | |
| `data.attributes.archs[n].url` | string | | **Recommended field to set url.** The URL where you can download the 64-bit Linux binary of this version. | | ||
| `data.attributes.archs[n].sha` | string | | **Recommended field to set sha.** The SHA-256 checksum of the Sentinel binary. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `data.attributes.archs[n].url` | string | | **Recommended field to set url.** The URL where you can download the 64-bit Linux binary of this version. | | |
| `data.attributes.archs[n].sha` | string | | **Recommended field to set sha.** The SHA-256 checksum of the Sentinel binary. | | |
| `data.attributes.archs[n].url` | string | | The URL where you can download the 64-bit Linux binary of this version. We recommend using this field to set the URL instead of the `url` field, which performs a similar function. | | |
| `data.attributes.archs[n].sha` | string | | The SHA-256 checksum of the Sentinel binary. We recommend using this field to set the checksum instead of `sha`, which performs a similar function. | |
We can also drop the ", which performs a similar function" part.
| `data.attributes.official` | bool | `false` | Whether or not this is an official release of Terraform | | ||
| `data.attributes.enabled` | bool | `true` | Whether or not this version of Terraform is enabled for use in HCP Terraform | | ||
| `data.attributes.beta` | bool | `false` | Whether or not this version of Terraform is a beta pre-release | | ||
~> **Note:** The `archs[n].url` and `archs[n].sha` fields are the recommended way to set the URL and SHA-256 checksum of a Terraform binary. The `url` and `sha` fields are in the process of being deprecated but can still be used to set Linux amd64 URL and SHA-256 checksums. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
~> **Note:** The `archs[n].url` and `archs[n].sha` fields are the recommended way to set the URL and SHA-256 checksum of a Terraform binary. The `url` and `sha` fields are in the process of being deprecated but can still be used to set Linux amd64 URL and SHA-256 checksums. | |
We recommend setting the URL and SHA-256 checksum of a Terraform binary in the `archs[n].url` and `archs[n].sha` fields. |
| `data.attributes.url` | string | | **Soon to be deprecated.** The URL where you can download the Linux amd64 binary of this version. | | ||
| `data.attributes.sha` | string | | **Soon to be deprecated.** The SHA-256 checksum of the Linux amd64 Terraform binary. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `data.attributes.url` | string | | **Soon to be deprecated.** The URL where you can download the Linux amd64 binary of this version. | | |
| `data.attributes.sha` | string | | **Soon to be deprecated.** The SHA-256 checksum of the Linux amd64 Terraform binary. | | |
| `data.attributes.url` | string | | The URL where you can download the Linux amd64 binary of this version. This field is under review. We recommend using the `archs[n].url` field instead. | | |
| `data.attributes.sha` | string | | The SHA-256 checksum of the Linux amd64 Terraform binary. This field is under review. We recommend using the `archs[n].sha` field instead. | |
| `data.attributes.archs[n].url` | string | | **Recommended field to set url.** The URL where you can download the 64-bit Linux binary of this version. | | ||
| `data.attributes.archs[n].sha` | string | | **Recommended field to set sha.** The SHA-256 checksum of the Terraform binary. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `data.attributes.archs[n].url` | string | | **Recommended field to set url.** The URL where you can download the 64-bit Linux binary of this version. | | |
| `data.attributes.archs[n].sha` | string | | **Recommended field to set sha.** The SHA-256 checksum of the Terraform binary. | | |
| `data.attributes.archs[n].url` | string | | The URL where you can download the 64-bit Linux binary of this version. We recommend using this field to set the URL instead of the `url` field, which performs a similar function. | | |
| `data.attributes.archs[n].sha` | string | | The SHA-256 checksum of the Terraform binary. We recommend using this field to set the checksum instead of the `sha` field, which performs a similar function. | |
| `data.attributes.deprecated-reason` | string | (previous value) | Additional context about why a version of Terraform is deprecated. | | ||
| `data.attributes.enabled` | bool | (previous value) | Whether or not this version of Terraform is enabled for use in HCP Terraform | | ||
| `data.attributes.beta` | bool | (previous value) | Whether or not this version of Terraform is a beta pre-release | | ||
~> **Note:** The `archs[n].url` and `archs[n].sha` fields are the recommended way to set the URL and SHA-256 checksum of a Terraform binary. The `url` and `sha` fields are in the process of being deprecated but can still be used to set Linux amd64 URL and SHA-256 checksums. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
~> **Note:** The `archs[n].url` and `archs[n].sha` fields are the recommended way to set the URL and SHA-256 checksum of a Terraform binary. The `url` and `sha` fields are in the process of being deprecated but can still be used to set Linux amd64 URL and SHA-256 checksums. | |
We recommend setting the URL and SHA-256 checksum of a Terraform binary in the `archs[n].url` and `archs[n].sha` fields. |
| `data.attributes.url` | string | (previous value) | **Soon to be deprecated.** The URL where you can download the Linux amd64 binary of this version. | | ||
| `data.attributes.sha` | string | (previous value) | **Soon to be deprecated.** The SHA-256 checksum of the Linux amd64 Terraform binary. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `data.attributes.url` | string | (previous value) | **Soon to be deprecated.** The URL where you can download the Linux amd64 binary of this version. | | |
| `data.attributes.sha` | string | (previous value) | **Soon to be deprecated.** The SHA-256 checksum of the Linux amd64 Terraform binary. | | |
| `data.attributes.url` | string | (previous value) | The URL where you can download the Linux amd64 binary of this version. This field is under review. We recommend using the `archs[n].url` field instead. | | |
| `data.attributes.sha` | string | (previous value) | The SHA-256 checksum of the Linux amd64 Terraform binary. This field is under review. We recommend using the `archs[n].sha` field instead. | |
| `data.attributes.archs[n].url` | string | | **Recommended field to set url.** The URL where you can download the 64-bit Linux binary of this version. | | ||
| `data.attributes.archs[n].sha` | string | | **Recommended field to set sha.** The SHA-256 checksum of the Terraform binary. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `data.attributes.archs[n].url` | string | | **Recommended field to set url.** The URL where you can download the 64-bit Linux binary of this version. | | |
| `data.attributes.archs[n].sha` | string | | **Recommended field to set sha.** The SHA-256 checksum of the Terraform binary. | | |
| `data.attributes.archs[n].url` | string | | The URL where you can download the 64-bit Linux binary of this version. We recommend using this field to set the URL instead of the `url` field, which performs a similar function. | | |
| `data.attributes.archs[n].sha` | string | | The SHA-256 checksum of the Terraform binary. We recommend using this field to set the checksum instead of the `sha` field, which performs a similar function. | |
This PR updates the tool version API docs to reflect the addition of the
archs
field and the recommendation ofarch[n].url
andarch[n].sha
usage over the soon to be deprecated fields,url
andsha
.Jira
RFC