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
Conversation
api-tool-agent
force-pushed
the
feat/86382641-weblock-lang-inclusivefile
branch
from
September 5, 2026 00:48
9df7a1f to
869ece7
Compare
…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
force-pushed
the
feat/86382641-weblock-lang-inclusivefile
branch
from
September 5, 2026 01:00
869ece7 to
f551809
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add
langandinclusive_fileattributes to thealicloud_threat_detection_web_lock_configresource and thealicloud_threat_detection_web_lock_configsdata source.The Create operation now calls
ModifyWebLockCreateConfig(which accepts bothInclusiveFileandLangparameters) instead ofModifyWebLockStart. The Read operation reads backinclusive_filefrom theDescribeWebLockConfigListresponse.Changes
inclusive_file(Optional, ForceNew) to the resource schemalang(Optional, Computed, ForceNew) to the resource schemaModifyWebLockStarttoModifyWebLockCreateConfiginclusive_filein the Read operationinclusive_fileto the data sourceconfigsoutputTestAccAliCloudcasingTest Cases
Remote acceptance test verification in progress.