Skip to content

Commit

Permalink
Apply deprecation to instance_type_list
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarber-akamai committed Aug 22, 2024
1 parent 53ef3df commit b747f33
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Name | Description |
[linode.cloud.firewall_list](./docs/modules/firewall_list.md)|List and filter on Firewalls.|
[linode.cloud.image_list](./docs/modules/image_list.md)|List and filter on Images.|
[linode.cloud.instance_list](./docs/modules/instance_list.md)|List and filter on Instances.|
[linode.cloud.instance_type_list](./docs/modules/instance_type_list.md)|**NOTE: This module has been deprecated in favor of `type_list`.|
[linode.cloud.instance_type_list](./docs/modules/instance_type_list.md)|**NOTE: This module has been deprecated in favor of `type_list`.**|
[linode.cloud.lke_version_list](./docs/modules/lke_version_list.md)|List Kubernetes versions available for deployment to a Kubernetes cluster.|
[linode.cloud.nodebalancer_list](./docs/modules/nodebalancer_list.md)|List and filter on Node Balancers.|
[linode.cloud.object_cluster_list](./docs/modules/object_cluster_list.md)|**NOTE: This module has been deprecated because it relies on deprecated API endpoints. Going forward, `region` will be the preferred way to designate where Object Storage resources should be created.**|
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/instance_type_list.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# instance_type_list

**NOTE: This module has been deprecated in favor of `type_list`.
**NOTE: This module has been deprecated in favor of `type_list`.**

List and filter on Linode Instance Types.
List and filter on Instance Types.

- [Minimum Required Fields](#minimum-required-fields)
- [Examples](#examples)
Expand Down
6 changes: 2 additions & 4 deletions plugins/modules/instance_type_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@
result_docs_url="https://techdocs.akamai.com/linode-api/reference/get-linode-types",
examples=docs.specdoc_examples,
result_samples=docs.result_instance_type_samples,
description=[
"**NOTE: This module has been deprecated in favor of `type_list`.",
"List and filter on Linode Instance Types.",
],
deprecated=True,
deprecation_message="This module has been deprecated in favor of `type_list`.",
)

SPECDOC_META = module.spec
Expand Down

0 comments on commit b747f33

Please sign in to comment.