Closed jingnanl closed 2 months ago
Hi,
This fails most probably because an underlying issue in deploying the products service.
To help debug the issue, can you look at and share :
/aws/lambda/<stack>-DeploymentSupport-<id>-LoadDataLambdaFunction-<id2>
(names will differ, but will include LoadDataLambdaFunction)How did you deploy the demo store? Any parameters did you change?
Hi,
It looks like the ProductsService
nested stack was created successfully prior to the DeploymentSupport
stack creation failure.
In the cloudwatch logs for DeploymentS-LoadDataLambdaFunction
, I saw a lot of 404 errors
I was using the CloudFormation template generated by the ./stage.sh
script to deploy the demo store. I've tried several times, with least services (only basic demo store) and most services (including Personalize and Pinpoint etc.), all failed. I was not using the default stack name, and I selected S3
Deployment Type.
Thanks,
Hi @jingnanl Can you go into CodePipeline? Are all the deployments showing successful? Pay special attention to the products service deployment too.
Hi @jingnanl Can you go into CodePipeline? Are all the deployments showing successful? Pay special attention to the products service deployment too.
Previously I was using the CloudFormation template quick link, the ProductsService
was rollback and deleted upon deployment failure, the nested stack didn't show any failure. This time I deployed the template manually with auto rollback disabled and I saw all the CodePipelines were failed due to s3 bucket not versioned.
I will enable the bucket versioning and retry (will update the result later). If that's the root cause, please update the deployment instructions
We recommend to create a dedicated bucket for deployment with versioning enabled.
It should be mandatory rather than recommended.
Update: the deployment succeeded after I enabled s3 bucket versioning. Please update the instructions accordingly and feel free to close the issue. Thanks!
Thanks for the feedback @jingnanl - will get clearer wording out shortly.
@jingnanl - docs updated. Thanks for your feedback.
I'm trying to deploy the solution with the latest code (commit a45530a) but failed.
Look into the nested stack
DeploymentSupport
Not sure if it's related to the recent change of #624.