Skip to content
Snippets Groups Projects
Commit f6cb714d authored by nimrod's avatar nimrod
Browse files

Add account alias to the AWS CLI.

parent 0c464b07
Branches
No related tags found
No related merge requests found
[toplevel] [toplevel]
account = sts get-caller-identity --query 'Account' --output text
whoami = sts get-caller-identity whoami = sts get-caller-identity
region = configure get region 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" 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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment