Skip to content

Instantly share code, notes, and snippets.

@thomasrlord
thomasrlord / delete_iam_user.py
Created December 1, 2020 18:45 — forked from tkalus/delete_iam_user.py
Delete an IAM User from an AWS Account
#!/usr/bin/env python3
"""Delete an IAM User from an AWS Account."""
import logging
import sys
import boto3.session
import botocore.exceptions
logger = logging.getLogger(__file__)