I am trying to create an IAM role with AWS managed policy, however it asks me for policy document.
aws iam create-role --role-name test-role
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:
aws help
aws <command> help
aws <command> <subcommand> help
aws: error: argument --assume-role-policy-document is required
I am trying to attach an aws managed policy like AWSLambdaFullAccess