Skip to content

Commit b406733

Browse files
rebase on main
Signed-off-by: Steven Borrelli <steve@borrelli.org>
1 parent fa7084f commit b406733

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

internal/service/rds/subnet_group.go

+1-17
Original file line numberDiff line numberDiff line change
@@ -130,23 +130,7 @@ func resourceSubnetGroupRead(ctx context.Context, d *schema.ResourceData, meta i
130130
}
131131
d.Set("subnet_ids", subnetIDs)
132132
d.Set("supported_network_types", aws.StringValueSlice(v.SupportedNetworkTypes))
133-
134-
tags, err := ListTags(ctx, conn, arn)
135-
136-
if err != nil {
137-
return sdkdiag.AppendErrorf(diags, "listing tags for RDS DB Subnet Group (%s): %s", arn, err)
138-
}
139-
140-
tags = tags.IgnoreAWS().IgnoreConfig(ignoreTagsConfig)
141-
142-
//lintignore:AWSR002
143-
if err := d.Set("tags", tags.RemoveDefaultConfig(defaultTagsConfig).Map()); err != nil {
144-
return sdkdiag.AppendErrorf(diags, "setting tags: %s", err)
145-
}
146-
147-
if err := d.Set("tags_all", tags.Map()); err != nil {
148-
return sdkdiag.AppendErrorf(diags, "setting tags_all: %s", err)
149-
}
133+
d.Set("vpc_id", v.VpcId)
150134

151135
return diags
152136
}

0 commit comments

Comments
 (0)