Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

aws cli create ecr repository if not exists

aws ecr describe-repositories --repository-names ${REPO_NAME} || aws ecr create-repository --repository-name ${REPO_NAME}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #aws #cli #create #ecr #repository #exists
ADD COMMENT
Topic
Name
4+1 =