You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
invalidForEachDetail:=fmt.Sprintf("The for_each expression must produce either a map of any type or a set of strings. The keys of the map or the set elements will serve as unique identifiers for multiple instances of this %s.", callerDiagName)
47
47
constsensitiveForEachDetail="Sensitive values, or values derived from sensitive values, cannot be used as for_each arguments. If used, the sensitive value could be exposed as a resource instance key."
48
48
switch {
49
-
caseresult.Value.HasMark(marks.Sensitive):
49
+
casemarks.Has(result.Value, marks.Sensitive):
50
50
// Sensitive values are not allowed as for_each arguments because
51
51
// they could be exposed as resource instance keys.
52
52
// TODO: This should have Extra: tdiagnosticCausedBySensitive(true),
0 commit comments