getting error on running workflow build-and-deployOSS for the blueprint of serverless image handler - CodeCatalyst Blueprint

0

I created a project using the blueprint of serverless image handler; deployment region set to 'us-east-1' and region for the bucket of cloudformation template 'us-east-1'. On running the 'build-and-deployOSS', I am getting error 'The action configuration is not valid'. imageHandlerBlueprint

Those are the configuration steps defined in that workflow Configuration: Steps: - Run: curl -O https://bootstrap.pypa.io/get-pip.py - Run: python3 get-pip.py - Run: yum install zip rsync -y - Run: pip install --upgrade pip - Run: pip install --upgrade setuptools - Run: pip install --upgrade virtualenv - Run: export OPS_CO_PATH=pwd - Run: echo $OPS_CO_PATH - Run: cd $OPS_CO_PATH/deployment - Run: echo $OPS_CO_PATH/deployment - Run: if ! aws s3api head-bucket --bucket $IMAGEBUCKET 2>/dev/null; then aws s3 mb s3://$IMAGEBUCKET --region $REGION; fi - Run: if ! aws s3api head-bucket --bucket $TEMPLATE_OUTPUT_BUCKET 2>/dev/null; then aws s3 mb s3://$TEMPLATE_OUTPUT_BUCKET --region $TEMPLATE_REGION; fi - Run: if ! aws s3api head-bucket --bucket $BUCKET_PREFIX-$REGION 2>/dev/null; then aws s3 mb s3://$BUCKET_PREFIX-$REGION --region $REGION; fi - Run: ./build-s3-dist.sh $BUCKET_PREFIX $SOLUTION_NAME $VERSION >buildresults.txt - Run: aws s3 cp $OPS_CO_PATH/deployment/global-s3-assets s3://$TEMPLATE_OUTPUT_BUCKET/$SOLUTION_NAME/$VERSION --recursive --acl bucket-owner-full-control - Run: aws s3 cp $OPS_CO_PATH/deployment/regional-s3-assets s3://$BUCKET_PREFIX-$REGION/$SOLUTION_NAME/$VERSION --recursive --acl bucket-owner-full-control

ImageHandlerBuildError

I noticed that on build-s3-dist.sh file there is variable DIST_OUTPUT_BUCKET which is not in the templateParameters.json and also not listed as variables for that build. I tried to update the workflow by defining this variable and setting its value same as of 'TEMPLATE_OUTPUT_BUCKET' for the action 'build-and-deployOSS' (not sure what I did was right or not), and run that workflow again but getting error on that same step. builds3File

Any idea how this error could be fixed?

Thanks,

1개 답변
0

Hi there, Unfortunately, CodeCatalyst supports only US-West at the moment. Are you able to try with US-West, instead of US-East?

Best, Sundaresh

AWS
전문가
답변함 일 년 전
  • I have CodeCatalyst on us-west-2 region, and I also did a try with us-west-2 which was by default us-east-1 in blueprint of serverless-image-handler for deployment region and the region for the bucket of cloudformation template, but was getting the same error reported above on that step of build.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠