Skip to content

Commit 43a1c40

Browse files
committed
docs: update error message in documentation
1 parent cfe93db commit 43a1c40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/terraform_json_syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Enforce the official Terraform JSON syntax that uses a root object with keys for
1212
$ tflint
1313
1 issue(s) found:
1414
15-
Warning: JSON configuration uses array syntax at root. The official Terraform JSON syntax uses a root object. See https://developer.hashicorp.com/terraform/language/syntax/json (terraform_json_syntax)
15+
Warning: JSON configuration uses array syntax at root, expected object (terraform_json_syntax)
1616
1717
on main.tf.json line 1:
1818
1: [{"resource": {"aws_instance": {"example": {"ami": "ami-12345678"}}}}]

0 commit comments

Comments
 (0)