@@ -328,7 +328,7 @@ func updateAssertionRule(ctx context.Context, d *schema.ResourceData, meta any)
328
328
var diags diag.Diagnostics
329
329
conn := meta .(* conns.AWSClient ).Route53RecoveryControlConfigClient (ctx )
330
330
331
- if d .HasChangesExcept ("tags" , "tags_all" ) {
331
+ if d .HasChangesExcept (names . AttrTags , names . AttrTagsAll ) {
332
332
assertionRuleUpdate := & awstypes.AssertionRuleUpdate {
333
333
SafetyRuleArn : aws .String (d .Get (names .AttrARN ).(string )),
334
334
}
@@ -350,7 +350,6 @@ func updateAssertionRule(ctx context.Context, d *schema.ResourceData, meta any)
350
350
if err != nil {
351
351
return sdkdiag .AppendErrorf (diags , "updating Route53 Recovery Control Config Assertion Rule: %s" , err )
352
352
}
353
-
354
353
}
355
354
356
355
return append (diags , sdkdiag .WrapDiagsf (resourceControlPanelRead (ctx , d , meta ), "updating Route53 Recovery Control Config Assertion Rule" )... )
@@ -360,8 +359,7 @@ func updateGatingRule(ctx context.Context, d *schema.ResourceData, meta any) dia
360
359
var diags diag.Diagnostics
361
360
conn := meta .(* conns.AWSClient ).Route53RecoveryControlConfigClient (ctx )
362
361
363
- if d .HasChangesExcept ("tags" , "tags_all" ) {
364
-
362
+ if d .HasChangesExcept (names .AttrTags , names .AttrTagsAll ) {
365
363
gatingRuleUpdate := & awstypes.GatingRuleUpdate {
366
364
SafetyRuleArn : aws .String (d .Get (names .AttrARN ).(string )),
367
365
}
0 commit comments