Commit 2128d7bf authored by nimrod's avatar nimrod
Browse files

Rename the account AWS CLI alias to account-id.

It overrides the account service.
parent c82f3dec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
[toplevel]

account = sts get-caller-identity --query 'Account' --output text
account-id = sts get-caller-identity --query 'Account' --output text
whoami = sts get-caller-identity
region = configure get region
ecr-login = !aws ecr get-login-password | podman login --username AWS --password-stdin "$(aws whoami --query "Account" --output text).dkr.ecr.$(aws region).amazonaws.com"