aws_account_utils
aws_account_utils copied to clipboard
set_challenge_questions keyword argument reported as optional, but is actually required
The docs says we can randomize the input to the challenge questions by just omitting the "answers" hash.
answers: (optional, Hash) - A hash of answers to fill in for the security questions. If you dont pass your own, Random word will generate for you.
Unfortunately, that is precluded here, because the method specifies a required keyword argument.
def set_challenge_questions(account_email:, account_password:, answers:)
so I get:
missing keyword: answers (ArgumentError)