1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
I'd suggest to run aws cloudformation describe-stack-events
(see https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloudformation/describe-stack-events.html) It may provide you additional details on the root cause of your issue.
The value of --stack-name
should be the name of the failing stack that was deployed by CDK: you'll find it in the logs of your cdk deploy
Best,
Didier
Relevant content
- Accepted Answerasked a month ago
- asked 2 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 3 years ago
Thanks for the response. Having done that, I still don't see any logs indicating the cause of the error. Is there another source for looking up the failure logs?
This is the only event that's not on the cloud formation console i think. {"ArtifactStore":{"Type":"S3","EncryptionKey":{"Type":"KMS","Id":"arn:aws:kms:us-west-2:363938657611:key/86e85521-abd2-4935-be8f-3ab2d68a5b23"},"Location":"momentnowbackendproducti-ecscicdmypipelineartifac-1ktu594fn2g6h"},"Stages":[{"Actions":[{"ActionTypeId":{"Owner":"ThirdParty","Category":"Source","Version":"1","Provider":"GitHub"},"Configuration":{"OAuthToken":"{{resolve:secretsmanager:github-oauth-token:SecretString:::}}","PollForSourceChanges":"false","Owner":"moment-now","Repo":"backend-python","Branch":"production"},"OutputArtifacts":[{"Name":"Artifact_Source_GitHub_Source"}],"RunOrder":"1","Name":"GitHub_Source"}],"Name":"Source"},{"Actions":[{"ActionTypeId":{"Owner":"AWS","Category":"Build","Version":"1","Provider":"CodeBuild"},"Configuration":{"EnvironmentVariables":"[{\"name\":\"ECR_IMAGE_URI\",\"type\":\"PLAINTEXT\",\"value\":\"363938657611.dkr.ecr.us-west-2.amazonaws.com/backend-python:prod\"}]","ProjectName":"ECSCICDFastAPIBuildProjectC-LJ0BXpnin1ou"},"InputArtifacts":[{"Name":"Artifact_Source_GitHub_Source"}],"OutputArtifacts":[{"Name":"Artifact_Build_FastAPI_Build"}],"RoleArn":"arn:aws:iam::363938657611:role/MomentNowBackendProductio-ECSCICDMyPipelineBuildFa-LYEP4C3XVIP2","RunOrder":"1\
......