@@ -312,14 +312,14 @@ func (r tagsInterceptor) create(ctx context.Context, request resource.CreateRequ
312
312
// Merge the resource's configured tags with any provider configured default_tags.
313
313
tags := tagsInContext .DefaultConfig .MergeTags (tftags .New (ctx , planTags ))
314
314
// Remove system tags.
315
- tags = tags .IgnoreAWS ()
315
+ tags = tags .IgnoreAWS (). IgnoreElasticbeanstalk (). IgnoreRDS ()
316
316
317
317
tagsInContext .TagsIn = types .Some (tags )
318
318
case After :
319
319
// Set values for unknowns.
320
320
// Remove any provider configured ignore_tags and system tags from those passed to the service API.
321
321
// Computed tags_all include any provider configured default_tags.
322
- stateTagsAll := flex .FlattenFrameworkStringValueMapLegacy (ctx , tagsInContext .TagsIn .MustUnwrap ().IgnoreAWS ().IgnoreConfig (tagsInContext .IgnoreConfig ).Map ())
322
+ stateTagsAll := flex .FlattenFrameworkStringValueMapLegacy (ctx , tagsInContext .TagsIn .MustUnwrap ().IgnoreAWS ().IgnoreElasticbeanstalk (). IgnoreRDS (). IgnoreConfig (tagsInContext .IgnoreConfig ).Map ())
323
323
diags .Append (response .State .SetAttribute (ctx , path .Root (names .AttrTagsAll ), & stateTagsAll )... )
324
324
325
325
if diags .HasError () {
@@ -409,7 +409,7 @@ func (r tagsInterceptor) read(ctx context.Context, request resource.ReadRequest,
409
409
stateTags := tftags .Null
410
410
// Remove any provider configured ignore_tags and system tags from those returned from the service API.
411
411
// The resource's configured tags do not include any provider configured default_tags.
412
- if v := apiTags .IgnoreAWS ().IgnoreConfig (tagsInContext .IgnoreConfig ).RemoveDefaultConfig (tagsInContext .DefaultConfig ).Map (); len (v ) > 0 {
412
+ if v := apiTags .IgnoreAWS ().IgnoreElasticbeanstalk (). IgnoreRDS (). IgnoreConfig (tagsInContext .IgnoreConfig ).RemoveDefaultConfig (tagsInContext .DefaultConfig ).Map (); len (v ) > 0 {
413
413
stateTags = flex .FlattenFrameworkStringValueMapLegacy (ctx , v )
414
414
}
415
415
diags .Append (response .State .SetAttribute (ctx , path .Root (names .AttrTags ), & stateTags )... )
@@ -419,7 +419,7 @@ func (r tagsInterceptor) read(ctx context.Context, request resource.ReadRequest,
419
419
}
420
420
421
421
// Computed tags_all do.
422
- stateTagsAll := flex .FlattenFrameworkStringValueMapLegacy (ctx , apiTags .IgnoreAWS ().IgnoreConfig (tagsInContext .IgnoreConfig ).Map ())
422
+ stateTagsAll := flex .FlattenFrameworkStringValueMapLegacy (ctx , apiTags .IgnoreAWS ().IgnoreElasticbeanstalk (). IgnoreRDS (). IgnoreConfig (tagsInContext .IgnoreConfig ).Map ())
423
423
diags .Append (response .State .SetAttribute (ctx , path .Root (names .AttrTagsAll ), & stateTagsAll )... )
424
424
425
425
if diags .HasError () {
@@ -476,7 +476,7 @@ func (r tagsInterceptor) update(ctx context.Context, request resource.UpdateRequ
476
476
// Merge the resource's configured tags with any provider configured default_tags.
477
477
tags := tagsInContext .DefaultConfig .MergeTags (tftags .New (ctx , planTags ))
478
478
// Remove system tags.
479
- tags = tags .IgnoreAWS ()
479
+ tags = tags .IgnoreAWS (). IgnoreElasticbeanstalk (). IgnoreRDS ()
480
480
481
481
tagsInContext .TagsIn = types .Some (tags )
482
482
0 commit comments