-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1648 from linode/dev
Release v2.31.0
- Loading branch information
Showing
126 changed files
with
2,195 additions
and
974 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Notify Dev DX Channel on Release | ||
on: | ||
release: | ||
types: [published] | ||
workflow_dispatch: null | ||
|
||
jobs: | ||
notify: | ||
if: github.repository == 'linode/terraform-provider-linode' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Notify Slack - Main Message | ||
id: main_message | ||
uses: slackapi/slack-github-action@v1.27.0 | ||
with: | ||
channel-id: ${{ secrets.DEV_DX_SLACK_CHANNEL_ID }} | ||
payload: | | ||
{ | ||
"blocks": [ | ||
{ | ||
"type": "section", | ||
"text": { | ||
"type": "mrkdwn", | ||
"text": "*New Release Published: _terraform-provider-linode_ <${{ github.event.release.html_url }}|${{ github.event.release.tag_name }}> is now live!* :tada:" | ||
} | ||
} | ||
] | ||
} | ||
env: | ||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
--- | ||
page_title: "Linode: linode_lke_types" | ||
description: |- | ||
Provides information about Linode LKE types that match a set of filters. | ||
--- | ||
|
||
# Data Source: linode_lke_types | ||
|
||
Provides information about Linode LKE types that match a set of filters. | ||
For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-lke-types). | ||
|
||
## Example Usage | ||
|
||
Get information about all Linode LKE types with a certain label: | ||
|
||
```hcl | ||
data "linode_lke_types" "specific-label" { | ||
filter { | ||
name = "label" | ||
values = "LKE Standard Availability" | ||
} | ||
} | ||
output "type_id" { | ||
value = data.linode_lke_types.specific-label.id | ||
} | ||
``` | ||
|
||
Get information about all Linode LKE types: | ||
|
||
```hcl | ||
data "linode_lke_types" "all-types" {} | ||
output "type_id" { | ||
value = data.linode_lke_types.all-types.*.id | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* [`filter`](#filter) - (Optional) A set of filters used to select Linode LKE types that meet certain requirements. | ||
|
||
* `order_by` - (Optional) The attribute to order the results by. See the [Filterable Fields section](#filterable-fields) for a list of valid fields. | ||
|
||
* `order` - (Optional) The order in which results should be returned. (`asc`, `desc`; default `asc`) | ||
|
||
### Filter | ||
|
||
* `name` - (Required) The name of the field to filter by. See the [Filterable Fields section](#filterable-fields) for a complete list of filterable fields. | ||
|
||
* `values` - (Required) A list of values for the filter to allow. These values should all be in string form. | ||
|
||
* `match_by` - (Optional) The method to match the field by. (`exact`, `regex`, `substring`; default `exact`) | ||
|
||
## Attributes Reference | ||
|
||
Each Linode LKE type will export the following attributes: | ||
|
||
* `id` - The ID representing the Kubernetes type. | ||
|
||
* `label` - The Kubernetes type label is for display purposes only. | ||
|
||
* `price.0.hourly` - Cost (in US dollars) per hour. | ||
|
||
* `price.0.monthly` - Cost (in US dollars) per month. | ||
|
||
* `region_prices.*.id` - The Region ID for these prices. | ||
|
||
* `region_prices.*.hourly` - Cost per hour for this region, in US dollars. | ||
|
||
* `region_prices.*.monthly` - Cost per month for this region, in US dollars. | ||
|
||
* `transfer` - The monthly outbound transfer amount, in MB. | ||
|
||
## Filterable Fields | ||
|
||
* `label` | ||
|
||
* `transfer` |
Oops, something went wrong.