From 6567d1d142372391f196a3c31fc9d22715eba7e6 Mon Sep 17 00:00:00 2001 From: Joel Speed Date: Mon, 21 Feb 2022 11:31:40 +0000 Subject: [PATCH] Check for DeletePlacementGroup permission before destroying cluster --- pkg/asset/installconfig/aws/permissions.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/asset/installconfig/aws/permissions.go b/pkg/asset/installconfig/aws/permissions.go index 97e919d7b25..6aae013c63b 100644 --- a/pkg/asset/installconfig/aws/permissions.go +++ b/pkg/asset/installconfig/aws/permissions.go @@ -176,6 +176,7 @@ var permissions = map[PermissionGroup][]string{ PermissionDeleteBase: { "autoscaling:DescribeAutoScalingGroups", "ec2:DeleteNetworkInterface", + "ec2:DeletePlacementGroup", "ec2:DeleteTags", "ec2:DeleteVolume", "elasticloadbalancing:DeleteTargetGroup",