반응형
aws cli로 aws deploy create-deployment 를 하는데 위같은 에러가 발생
https://docs.aws.amazon.com/cli/latest/reference/deploy/create-deployment.html
create-deployment — AWS CLI 1.27.149 Command Reference
Note: You are viewing the documentation for an older major version of the AWS CLI (version 1). AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. F
docs.aws.amazon.com
aws deploy create-deployment \
--application-name WordPress_App \
--deployment-config-name CodeDeployDefault.OneAtATime \
--deployment-group-name WordPress_DG \
--description "My demo deployment" \
--s3-location bucket=CodeDeployDemoBucket,bundleType=zip,eTag=dd56cfdEXAMPLE8e768f9d77fEXAMPLE,key=WordPressApp.zip
문서보고 s3 경로는 정확하게 입력하였다고 생각했으나...
json 파일에서 넣는것과 달리 --s3-location에 버킷 이름만! 넣어야한다.
s3://bucket-name/folder/ 이런식이 아닌 순수하게 bucket-name 만 입력해야만 된다.
나머지 경로는 key에 입력하면 된다.
반응형
'CLOUD > AWS' 카테고리의 다른 글
AWS ECR Vulnerabilities high 경고 (0) | 2023.06.23 |
---|---|
오류페이지가 404로 나오고 html 이상한걸로 나올때 - cloudfront 사용 (0) | 2023.06.20 |
AWS ECS ec2/fargate 컨테이너에 접속 (0) | 2023.06.08 |
pem키 잃어버린 ebs 사용하고 싶을때 (0) | 2023.05.31 |
AWS cloudfront 사용자지정헤더 못쓰는 것들 (0) | 2023.05.25 |
댓글