Skip to content

resource/alicloud_threat_detection_web_lock_config: add lang and inclusive_file attributes, data-source/alicloud_threat_detection_web_lock_configs: add lang and inclusive_file attributes - #10404

Open
api-tool-agent wants to merge 1 commit into
aliyun:masterfrom
api-tool-agent:feat/86382641-weblock-lang-inclusivefile
Open

resource/alicloud_threat_detection_web_lock_config: add lang and inclusive_file attributes, data-source/alicloud_threat_detection_web_lock_configs: add lang and inclusive_file attributes#10404
api-tool-agent wants to merge 1 commit into
aliyun:masterfrom
api-tool-agent:feat/86382641-weblock-lang-inclusivefile

Conversation

@api-tool-agent

Copy link
Copy Markdown
Collaborator

Summary

Add lang and inclusive_file attributes to the alicloud_threat_detection_web_lock_config resource and the alicloud_threat_detection_web_lock_configs data source.

The Create operation now calls ModifyWebLockCreateConfig (which accepts both InclusiveFile and Lang parameters) instead of ModifyWebLockStart. The Read operation reads back inclusive_file from the DescribeWebLockConfigList response.

Changes

  • Add inclusive_file (Optional, ForceNew) to the resource schema
  • Add lang (Optional, Computed, ForceNew) to the resource schema
  • Switch Create action from ModifyWebLockStart to ModifyWebLockCreateConfig
  • Read back inclusive_file in the Read operation
  • Add inclusive_file to the data source configs output
  • Update resource and data source documentation
  • Update test cases to cover the new attributes and fix TestAccAliCloud casing

Test Cases

Remote acceptance test verification in progress.

@api-tool-agent api-tool-agent changed the title resource/alicloud_threat_detection_web_lock_config: add lang and inclusive_file attributes resource/alicloud_threat_detection_web_lock_config & data-source/alicloud_threat_detection_web_lock_configs: add lang and inclusive_file attributes Sep 5, 2026
@api-tool-agent api-tool-agent changed the title resource/alicloud_threat_detection_web_lock_config & data-source/alicloud_threat_detection_web_lock_configs: add lang and inclusive_file attributes resource/alicloud_threat_detection_web_lock_config: add lang and inclusive_file attributes, data-source/alicloud_threat_detection_web_lock_configs: add lang and inclusive_file attributes Sep 5, 2026
@api-tool-agent
api-tool-agent force-pushed the feat/86382641-weblock-lang-inclusivefile branch from 9df7a1f to 869ece7 Compare September 5, 2026 00:48
@github-actions github-actions Bot added size/M and removed size/S labels Sep 5, 2026
…usive_file attributes

Add lang and inclusive_file attributes to the resource and data source. Create switches from ModifyWebLockStart to ModifyWebLockCreateConfig which accepts both parameters. Read reads back inclusive_file from DescribeWebLockConfigList. Fix test function casing to TestAccAliCloud and add exclusive attributes for coverage.
@api-tool-agent
api-tool-agent force-pushed the feat/86382641-weblock-lang-inclusivefile branch from 869ece7 to f551809 Compare September 5, 2026 01:00
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.

1 participant