{
    "Version": "2012-10-17",
    "Statement": [
      {
         "Sid":"VPCRestorePermissions",
         "Effect":"Allow",
         "Action":[
            "ec2:AssignPrivateIpAddresses",
            "ec2:AssociateDhcpOptions",
            "ec2:AssociateVpcCidrBlock",
            "ec2:AttachInternetGateway",
            "ec2:AttachVpnGateway",
            "ec2:AuthorizeSecurityGroupEgress",
            "ec2:AuthorizeSecurityGroupIngress",
            "ec2:CreateDhcpOptions",
            "ec2:CreateEgressOnlyInternetGateway",
            "ec2:CreateFlowLogs",
            "ec2:CreateInternetGateway",
            "ec2:CreateManagedPrefixList",
            "ec2:CreateNatGateway",
            "ec2:CreateNetworkAcl",
            "ec2:CreateNetworkAclEntry",
            "ec2:CreateSecurityGroup",
            "ec2:CreateSubnet",
            "ec2:CreateSubnetCidrReservation",
            "ec2:CreateTransitGateway",
            "ec2:CreateTransitGatewayVpcAttachment",
            "ec2:CreateVpc",
            "ec2:CreateVpnGateway",
            "ec2:DeleteDhcpOptions",
            "ec2:DeleteEgressOnlyInternetGateway",
            "ec2:DeleteInternetGateway",
            "ec2:DeleteManagedPrefixList",
            "ec2:DeleteNatGateway",
            "ec2:DeleteNetworkAcl",
            "ec2:DeleteNetworkAclEntry",
            "ec2:DeleteSecurityGroup",
            "ec2:DeleteSubnet",
            "ec2:DeleteTransitGateway",
            "ec2:DeleteTransitGatewayVpcAttachment",
            "ec2:DeleteVpc",
            "ec2:DeleteVpnGateway",
            "ec2:DescribeSecurityGroupRules",
            "ec2:DetachInternetGateway",
            "ec2:DetachVpnGateway",
            "ec2:ModifySubnetAttribute",
            "ec2:ModifyVpcAttribute",
            "ec2:ReplaceNetworkAclAssociation",
            "ec2:RevokeSecurityGroupEgress",
            "ec2:RevokeSecurityGroupIngress",
            "logs:CreateLogDelivery",
            "s3:PutObjectTagging",
            "s3:GetObjectTagging"
         ],
         "Resource":"*"
      },
      {
         "Sid": "VPCRestorePermissionToCreateFlowLog",
         "Effect": "Allow",
         "Action": "iam:PassRole",
         "Resource": "arn:*:iam::*:role/*"
      }
    ]
}