Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 305 Bytes

formatter_trailing_comma.md

File metadata and controls

19 lines (16 loc) · 305 Bytes

formatter_trailing_comma

This rule ensures that tuple element always end with comma.

Example

data "aws_iam_policy_document" "example" {
  statement {
    sid = "1"
    actions = [
      "ec2:Describe*",
      "ec2:Get*",
      "ec2:List*"
    ]
    resources = ["arn:aws:s3:::*"]
  }
}