Skip to content

Commit 612ab86

Browse files
modular-magiciankotatut
authored andcommitted
Fix metadata permadiff for workbench instances (#13454) (GoogleCloudPlatform#3666)
[upstream:390092b17522c92bd0a44e76810888039e0aba16] Signed-off-by: Modular Magician <[email protected]>
1 parent 5fdb2cf commit 612ab86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tfplan2cai/converters/google/resources/services/workbench/workbench_instance.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ var WorkbenchInstanceProvidedMetadata = []string{
115115
func WorkbenchInstanceMetadataDiffSuppress(k, old, new string, d *schema.ResourceData) bool {
116116
// Suppress diffs for the Metadata
117117
for _, metadata := range WorkbenchInstanceProvidedMetadata {
118-
if strings.Contains(k, metadata) && new == "" {
118+
if strings.Contains(k, metadata) {
119119
return true
120120
}
121121
}

0 commit comments

Comments
 (0)