Skip to content

Commit

Permalink
Add delete default VPC in management account support (#699)
Browse files Browse the repository at this point in the history
**Why?**

To allow the deletion of the Default VPC if one were to manage the management
account via ADF's Account Management (adf-accounts).

**What?**

Added the missing permissions to delete and describe the default VPCs in the
management account.
  • Loading branch information
sbkok authored Apr 3, 2024
1 parent 7a4359f commit c741d15
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,17 @@ Resources:
- Effect: Allow
Action:
- cloudformation:ValidateTemplate
- ec2:DeleteInternetGateway
- ec2:DeleteNetworkInterface
- ec2:DeleteRouteTable
- ec2:DeleteSubnet
- ec2:DeleteVpc
- ec2:DescribeInternetGateways
- ec2:DescribeNetworkInterfaces
- ec2:DescribeRegions
- ec2:DescribeRouteTables
- ec2:DescribeSubnets
- ec2:DescribeVpcs
- iam:CreateAccountAlias
- iam:DeleteAccountAlias
- iam:ListAccountAliases
Expand Down

0 comments on commit c741d15

Please sign in to comment.