awscli-allã«ã¤ãã¦
awsã®ã¯ã©ã¤ã¢ã³ãå ¨é¨å ¥ãã®Dockerã¤ã¡ã¼ã¸ã§ã
https://hub.docker.com/r/sue445/awscli-all/
ä½ã£ãçç±
CIãã AWS SAM ã®ãããã¤ããããã£ããã§ãããAWSã¯å
¬å¼ã®Dockerã¤ã¡ã¼ã¸ãæä¾ãã¦ãããããã¨ãã£ã¦CIã§æ®éã«ã¤ã³ã¹ãã¼ã«ãããã¨ãã㨠pip install awscli aws-cli-sam
ã ãã§1åããããããããDocker Hubãè¦ã¦ããã¾ãã¡ã³ãããã¦ãªãã®ãã»ã¨ãã©ã ã£ãã®ã§ã¤ã©ãã¨ããã®ã§èªåã§ä½ãã¾ããã
Docker Hubãaws cliã§æ¤ç´¢ããã¨ä¼¼ããããªååã®ã¤ã¡ã¼ã¸ããããããã£ã¦åãããããªã®ã§ããã£ãããªã®ã§AWSã®å ¬å¼ã¯ã©ã¤ã¢ã³ãå ¨é¨å ¥ãã£ã¦æãã§awscli-allã¨ããååã«ãã¾ããã
å ¨é¨å ¥ãã«ããããã« https://github.com/aws 㨠https://github.com/awslabs ã®ãªãã¸ããªã調ã¹ããã§ãããawscliã¨aws-cli-samã®ä»ã¯ecs-cliãããªãã¦æå¤ã«å°ãªãã£ãã¨ããææ³ã
ä½è«1
https://github.com/aws/aws-cli/issues/3291 ãã¯ãã¼ãºããã¦ãã®ã§AWSã¯å ¬å¼ã®Dockerã¤ã¡ã¼ã¸ãä½ãæ°ã¯ç¡ã模æ§ããããã£ã¦éè¯ã¤ã¡ã¼ã¸ãå¢ãã¦ãããããªãï¼é ãç®ï¼
ä½è«2
ãã®æã®éè¯ã¤ã¡ã¼ã¸ã¯å ¨ç¶ã¡ã³ããããã«å¤ããªã£ã¦ããã®ã常ã§ãããawscli-allãå«ãã¦åãã¡ã³ããã¦ãDockerã¤ã¡ã¼ã¸ã¯å ¨é¨CircleCIã§å®æãã«ããã¦æ°ãããã¼ã¸ã§ã³ãåºããtagãpushãã¦å ¨èªåã§æ°ããã¤ã¡ã¼ã¸ããªãªã¼ã¹ãã¦ããã®ã§ãCircleCIãæ»ãªãªãéãã¯åæã«ã¤ã¡ã¼ã¸ããªãªã¼ã¹ããã¦ããã®ã§å®å¿ãã¦ãã ããã
2020/10/28追è¨
awscli v2ã§ããã°å ¬å¼ã®Dockerã¤ã¡ã¼ã¸ãæä¾ããã¦ãã®ã§ããã使ãã¨ããã¨æãã¾ããï¼samã¨ãä»ã®ããã±ã¼ã¸ã¯å ¥ã£ã¦ãªããã©ï¼