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
Added tfsec as a security linter. Includes a small fix to testing that
prevents accidentally linting the json output of trunk check.
---------
Co-authored-by: Tyler Jang <tyler@trunk.io>
"message": "Terraform 0.11 and earlier required type constraints to be given in quotes, but that form is now deprecated and will be removed in a future version of Terraform. Remove the quotes around "map" and write map(string) instead to explicitly indicate that the map elements are strings.",
14
14
"targetType": "terraform",
15
15
},
16
-
{
17
-
"bucket": "terraform",
18
-
"code": "Missing value",
19
-
"file": "test_data/variables.in.tf.json",
20
-
"level": "LEVEL_HIGH",
21
-
"line": "1",
22
-
"linter": "terraform",
23
-
"message": "The JSON data ends prematurely.",
24
-
"targetType": "terraform",
25
-
},
26
-
{
27
-
"bucket": "terraform",
28
-
"code": "Root value must be object",
29
-
"file": "test_data/variables.in.tf.json",
30
-
"level": "LEVEL_HIGH",
31
-
"line": "1",
32
-
"linter": "terraform",
33
-
"message": "The root value in a JSON-based configuration must be either a JSON object or a JSON array of objects.",
0 commit comments