Skip to content

Commit 3c5f5de

Browse files
authored
Use StringLike when matching wildcards
To match dp prefix on keys we need to use StringLike instead of StringEquals
1 parent 28eb98f commit 3c5f5de

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

service_control_policies/data_perimeter_governance_policy_1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
"StringNotEqualsIfExists": {
130130
"aws:PrincipalTag/team": "admin"
131131
},
132-
"ForAnyValue:StringEquals": {
132+
"ForAnyValue:StringLike": {
133133
"aws:TagKeys": [
134134
"dp:*",
135135
"team"
@@ -138,4 +138,4 @@
138138
}
139139
}
140140
]
141-
}
141+
}

0 commit comments

Comments
 (0)