[infra] aws eks stack to check if credentials are root user
Opened this issue · 0 comments
davidcheung commented
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