Skip to content

Commit

Permalink
Allow image deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
arianvp committed May 22, 2024
1 parent 4622e5c commit 77d672b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tf/iam_github_actions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ data "aws_iam_policy_document" "upload_ami" {
"ec2:DescribeRegions",
"ec2:CopyImage",
"ec2:ModifyImageAttribute",
"ec2:DisableImageBlockPublicAccess"
"ec2:DisableImageBlockPublicAccess",
"ec2:EnableImageDeprecation"
]
resources = ["*"]
}
Expand Down
2 changes: 1 addition & 1 deletion tf/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ data "aws_iam_policy_document" "vmimport" {
"ec2:ModifySnapshotAttribute",
"ec2:CopySnapshot",
"ec2:RegisterImage",
"ec2:Describe*"
"ec2:Describe*",
]
effect = "Allow"
resources = ["*"]
Expand Down

0 comments on commit 77d672b

Please sign in to comment.