commitdev / zero

Allow startup developers to ship to production on day 1
https://getzero.dev
Mozilla Public License 2.0
557 stars 51 forks source link

[infra] aws eks stack to check if credentials are root user #456

Open davidcheung opened 2 years ago

davidcheung commented 2 years ago

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