Skip to content

Commit d4cb9d1

Browse files
committed
No need to check for changes in Computed-only or ForceNew attributes.
1 parent 8058118 commit d4cb9d1

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

internal/service/wafv2/web_acl.go

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -384,24 +384,18 @@ func resourceWebACLUpdate(ctx context.Context, d *schema.ResourceData, meta any)
384384
var diags diag.Diagnostics
385385
conn := meta.(*conns.AWSClient).WAFV2Client(ctx)
386386

387-
// HasChangesExcept can perform _very_ slowly when presented with a large number of unchanged (or ignored)
388-
// attributes e.g. rule blocks in this case
387+
// https://github.com/hashicorp/terraform-provider-aws/pull/42740.
388+
// if d.HasChangesExcept(names.AttrTags, names.AttrTagsAll) {
389389
if d.HasChanges(
390-
"application_integration_url",
391390
"association_config",
392-
"capacity",
393391
"captcha_config",
394392
"challenge_config",
395393
"custom_response_body",
396394
"data_protection_config",
397395
names.AttrDefaultAction,
398396
names.AttrDescription,
399-
"lock_token",
400-
names.AttrName,
401-
names.AttrNamePrefix,
402397
"rule_json",
403398
names.AttrRule,
404-
names.AttrScope,
405399
"token_domains",
406400
"visibility_config",
407401
) {

0 commit comments

Comments
 (0)