Skip to content

New Resource: alicloud_alidns_cloud_gtm_instance_config#9680

Merged
ChenHanZhang merged 1 commit into
aliyun:masterfrom
LCLSpring:feature/Alidns-CloudGtmInstanceConfig-update-1776136897222
Apr 23, 2026
Merged

New Resource: alicloud_alidns_cloud_gtm_instance_config#9680
ChenHanZhang merged 1 commit into
aliyun:masterfrom
LCLSpring:feature/Alidns-CloudGtmInstanceConfig-update-1776136897222

Conversation

@LCLSpring
Copy link
Copy Markdown
Collaborator

Summary

Adds a new resource alicloud_alidns_cloud_gtm_instance_config for managing Alidns Cloud GTM (Global Traffic Manager) instance configurations.

  • Full CRUD + import lifecycle backed by the CloudGtmInstanceConfig APIs (Alidns 2015-01-09)
  • Supports scheduling attributes (schedule_rr_type, schedule_zone_mode, schedule_zone_name, schedule_host_name), load-balancing strategies (round_robin, sequence, weight), and enable-status toggling
  • Partial updates via separate APIs: UpdateCloudGtmInstanceConfigBasic, UpdateCloudGtmInstanceConfigLbStrategy, UpdateCloudGtmInstanceConfigEnableStatus, UpdateCloudGtmInstanceConfigRemark
  • 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=TestAccAliCloudAlidnsCloudGtmInstanceConfig -timeout 120m
  • Documentation preview looks correct in website/docs/r/alidns_cloud_gtm_instance_config.html.markdown

@LCLSpring LCLSpring force-pushed the feature/Alidns-CloudGtmInstanceConfig-update-1776136897222 branch from 3a56c39 to 9373335 Compare April 23, 2026 01:58
@LCLSpring LCLSpring force-pushed the feature/Alidns-CloudGtmInstanceConfig-update-1776136897222 branch 3 times, most recently from e2ce72b to 82145ca Compare April 23, 2026 06:24
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

@LCLSpring LCLSpring force-pushed the feature/Alidns-CloudGtmInstanceConfig-update-1776136897222 branch from 82145ca to e799488 Compare April 23, 2026 07:23
@LCLSpring LCLSpring force-pushed the feature/Alidns-CloudGtmInstanceConfig-update-1776136897222 branch 2 times, most recently from 43d6503 to e799488 Compare April 23, 2026 08:03
@LCLSpring LCLSpring force-pushed the feature/Alidns-CloudGtmInstanceConfig-update-1776136897222 branch from e799488 to aa0e866 Compare April 23, 2026 08:51
@ChenHanZhang ChenHanZhang merged commit 1a77dc4 into aliyun:master Apr 23, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants