root users are not allowed to assume roles, you must create a user to assume roles, we can potentially add a check either in bash or maybe using [`data "aws_caller_identity" "current"`'s `caller_arn`](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity#example-usage)