Skip to content

Commit d03cc19

Browse files
authored
tgc-revival: ignore tags and sensitive properties in tests (#15236)
1 parent 1880447 commit d03cc19

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mmv1/api/resource.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2202,6 +2202,11 @@ func (r Resource) TGCTestIgnorePropertiesToStrings(e resource.Examples) []string
22022202
props = append(props, google.Underscore(tp.Name))
22032203
} else if tp.IsMissingInCai {
22042204
props = append(props, tp.MetadataLineage())
2205+
} else if tp.IgnoreRead {
2206+
if tp.Sensitive || tp.Name == "tags" {
2207+
// TODO: handle tags conversion, which are separate Cai assets with resources.
2208+
props = append(props, tp.MetadataLineage())
2209+
}
22052210
}
22062211
}
22072212
props = append(props, e.TGCTestIgnoreExtra...)

0 commit comments

Comments
 (0)