You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# aws-cli-utils
2
2
This is the project to collect helpful aws cli commandline with complex options to support your working
3
3
## Why I want to write this project.
4
-
- Sometimes, aws cli is list, get, describes. It is pretty hard to remmebers.
4
+
- Sometimes, aws cli is list, get, describes. It is pretty hard to remember.
5
5
- Sometimes, you want to add more options on purpose and you want to have a place to collect and reuse it in the future. That is the reason I defined that structure to help me collect helpful commandlines and share on the github.
local aws_cloudtrail_event_name="https://gist.githubusercontent.com/lamhaison/8fe7937f147a6cb0ed446ef3ac17f972/raw/255a9435d2b71fdb900739355699b3ddffa414c2/cloudTrailEventNames.list"
26
+
curl --silent -q --request GET ${aws_cloudtrail_event_name}
Get images from ecr repo ${aws_ecr_repo_name:?Repo is not set or empty}
61
-
Pull image [ docker pull ${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com/${aws_ecr_repo_name:?Repo is not set or empty}:${aws_ecr_repo_image_tag:=latest} ]
69
+
Pull image [ docker pull ${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com/${aws_ecr_repo_name:?Repo is not set or empty}:${aws_ecr_repo_image_tag:-latest} ]
62
70
_EOF_
63
71
64
72
docker pull \
65
-
${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com/${aws_ecr_repo_name:?Repo is not set or empty}:${aws_ecr_repo_image_tag:=latest}
73
+
${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com/${aws_ecr_repo_name:?Repo is not set or empty}:${aws_ecr_repo_image_tag:-latest}
0 commit comments