Skip to content

Commit 74b6274

Browse files
committed
Add missing AWS access analyzer types
1 parent ca20270 commit 74b6274

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rules/models/aws_accessanalyzer_analyzer_invalid_type.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ func NewAwsAccessanalyzerAnalyzerInvalidTypeRule() *AwsAccessanalyzerAnalyzerInv
2929
"ORGANIZATION",
3030
"ACCOUNT_UNUSED_ACCESS",
3131
"ORGANIZATION_UNUSED_ACCESS",
32+
"ACCOUNT_INTERNAL_ACCESS",
33+
"ORGANIZATION_INTERNAL_ACCESS",
3234
},
3335
}
3436
}
@@ -72,7 +74,7 @@ func (r *AwsAccessanalyzerAnalyzerInvalidTypeRule) Check(runner tflint.Runner) e
7274
continue
7375
}
7476

75-
err := runner.EvaluateExpr(attribute.Expr, func (val string) error {
77+
err := runner.EvaluateExpr(attribute.Expr, func(val string) error {
7678
found := false
7779
for _, item := range r.enum {
7880
if item == val {

0 commit comments

Comments
 (0)