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

Support Weighted DNS Records with Data Sources and Tests #8057

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hamidostad
Copy link

This pull request introduces the following enhancements to the AliCloud Terraform Provider:

1. Support for Weighted DNS Records:
    Added wrr_status, remark, and priority fields to alicloud_alidns_record_weight.
    Created resource_alicloud_alidns_record_weight.go to handle these fields during create, update, and import operations.

2. New Data Source for Weighted DNS Records:
    Implemented data_source_alicloud_alidns_records_weight to allow querying and filtering of weighted DNS records.
    Supported additional fields such as wrr_status, remark, and priority for comprehensive record details.

3. Extensive Tests:
    Added test cases for alicloud_alidns_record_weight to ensure correct behavior for CRUD operations.
    Added a test suite for data_source_alicloud_alidns_records_weight to validate proper filtering and field coverage.

This enhancement aligns with user needs for managing AliCloud DNS resources with weighted routing policies, providing better visibility, and supporting advanced use cases.

@CLAassistant
Copy link

CLAassistant commented Dec 29, 2024

CLA assistant check
All committers have signed the CLA.

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