linode / terraform-provider-linode

Terraform Linode provider
https://www.terraform.io/docs/providers/linode/
Mozilla Public License 2.0
202 stars 98 forks source link

Added support for updated behavior of linode API's (networkingip, rdns, instance) #1658

Open AniJ98 opened 1 week ago

AniJ98 commented 1 week ago

📝 Description

This PR implements functionality and tests for managing Reserved IP addresses in the Linodego client. These changes align with the updated Linode API, providing comprehensive support for Reserved IP operations. The changes include:

Implementation of core operations:

Test Coverage:

✔️ How to Test

  1. Ensure you have a valid Linode API token.
Set up your environment:


    export LINODE_TOKEN="your_token_here"

  2. To test the above mentioned functionalities individually :


    make int-test PKG_NAME="linode/networkingip" ARGS="-run TestAccResourceNetworkingIP_reserved"

  3. Verify the test output for any failures or unexpected behavior.

Note:

Ensure you have proper permissions and sufficient quota in your Linode account to perform Reserved IP operations. Some tests may create and delete resources, so use a testing environment if possible.