Skip to content

Commit e9439ed

Browse files
author
Vicken Simonian
committed
Deny all statement should specify not_actions
Fixes #1
1 parent 0e7b829 commit e9439ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ data aws_iam_policy_document this {
279279
content {
280280
sid = "DenyAllExceptListedIfNoMFA"
281281
effect = "Deny"
282-
actions = [
282+
not_actions = [
283283
"iam:CreateVirtualMFADevice",
284284
"iam:EnableMFADevice",
285285
"iam:GetUser",

0 commit comments

Comments
 (0)