Skip to content
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

With new datasource : ovh_dedicated_nasha_partition #817

Merged
merged 1 commit into from
Jan 31, 2025
Merged

Conversation

131
Copy link
Contributor

@131 131 commented Jan 30, 2025

Description

This pull request adds a new computed field partitions_list to the ovh_dedicated_nasha data source. The field is populated by calling the GET /dedicated/nasha/{serviceName}/partition endpoint, which returns an array of partition names ([]string). This change allows users to retrieve all partition names for a given NAS-HA service in their Terraform configurations.

Motivation/Context:

Allows Terraform users to dynamically fetch and manage partitions for a specific NAS-HA service.
Enhances the data source by providing more detailed information about the partitions available.

Dependencies:

No additional dependencies are required beyond the existing OVH client library.

@131 131 requested a review from a team as a code owner January 30, 2025 11:33
Copy link
Contributor

@amstuta amstuta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution @131 :)

@amstuta amstuta merged commit 861f0bd into ovh:master Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants