Extract AWS account number from access_key
This is a cool little snippet of code here, especially if you're trying to debug a terraform configuration with multiple AWS provider aliases, each of which connects to a different account number.
import base64
import binascii
def AWSAccount(AWSKeyI...
timcod.es1 min read