From 9f15da03e4b2aa4b8c57389c3bae208ac688ce00 Mon Sep 17 00:00:00 2001 From: Arian van Putten Date: Wed, 22 May 2024 21:50:45 +0200 Subject: [PATCH] Allow image deprecation --- tf/main.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tf/main.tf b/tf/main.tf index bed9c09..61a8d56 100644 --- a/tf/main.tf +++ b/tf/main.tf @@ -57,7 +57,8 @@ data "aws_iam_policy_document" "vmimport" { "ec2:ModifySnapshotAttribute", "ec2:CopySnapshot", "ec2:RegisterImage", - "ec2:Describe*" + "ec2:Describe*", + "ec2:EnableImageDeprecation", ] effect = "Allow" resources = ["*"]