Skip to content

Commit 45d0354

Browse files
Merge pull request #2 from vsimon/notactions
Deny all statement should specify not_actions
2 parents 93d06a7 + e9439ed commit 45d0354

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)