fix for AttributeError: 'DefaultConfig' object has no attribute 'aws_iam_profile'