Skip to content

New Resource: alicloud_alidns_cloud_gtm_address_pool.#9664

Merged
ChenHanZhang merged 1 commit into
aliyun:masterfrom
LCLSpring:feature/Alidns-CloudGtmAddressPool-update-1776136897431
Apr 22, 2026
Merged

New Resource: alicloud_alidns_cloud_gtm_address_pool.#9664
ChenHanZhang merged 1 commit into
aliyun:masterfrom
LCLSpring:feature/Alidns-CloudGtmAddressPool-update-1776136897431

Conversation

@LCLSpring
Copy link
Copy Markdown
Collaborator

@LCLSpring LCLSpring commented Apr 17, 2026

New Resource

  • alicloud_alidns_cloud_gtm_address_pool

Summary

Adds a new resource alicloud_alidns_cloud_gtm_address_pool for managing Alidns Cloud GTM (Global Traffic Manager) address pools.

  • Full CRUD + import lifecycle backed by the CloudGtmAddressPool APIs (Alidns 2015-01-09)
  • Supports all documented address pool types (IPv4, IPv6, domain), load-balancing strategies (round_robin, sequence, weight, source_nearest), and health-judgement policies (all_ok, any_ok, ratio_based)
  • Introduces helper file service_alicloud_alidns_v2.go for shared Alidns v2 service logic
  • Acceptance tests and reference documentation included

Test plan

  • go build ./... passes
  • go vet ./... clean
  • Acceptance tests run: TF_ACC=1 go test ./alicloud -v -run=TestAccAliCloudAlidnsCloudGtmAddressPool -timeout 120m
  • Documentation preview looks correct in website/docs/r/alidns_cloud_gtm_address_pool.html.markdown

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 17, 2026

CLA assistant check
All committers have signed the CLA.

@LCLSpring LCLSpring force-pushed the feature/Alidns-CloudGtmAddressPool-update-1776136897431 branch 3 times, most recently from 94b94c3 to 589f8a4 Compare April 22, 2026 08:52
@LCLSpring LCLSpring force-pushed the feature/Alidns-CloudGtmAddressPool-update-1776136897431 branch from 589f8a4 to 99cc8c5 Compare April 22, 2026 11:58
Copy link
Copy Markdown
Collaborator

@ChenHanZhang ChenHanZhang left a comment

Choose a reason for hiding this comment

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

approved

@ChenHanZhang ChenHanZhang merged commit f9787ec into aliyun:master Apr 22, 2026
19 of 20 checks passed
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.

3 participants