You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The deployment is written in such a way that it will return an undefined PhysicalResourceId which is invalid and results in that error being surfaced to CloudFormation obscuring the actual underlying issue.
It should be defaulted to a non-empty string on error (or always?)
FWIW, the correct underlying error is properly logged and does work if the CustomResource is being updated rather than created/replaced
e.g. error
2024/05/29 15:28:56 sending status failed: copy image failed: creating an updated image manifest: preparing updated manifest, layer "sha256:0fda6f180a9e87ea218f7415ac4a32316291a0f6a2e359367190781bf3642968": unsupported MIME type for compression: application/vnd.in-toto+json
--
The deployment is written in such a way that it will return an undefined
PhysicalResourceId
which is invalid and results in that error being surfaced to CloudFormation obscuring the actual underlying issue.It should be defaulted to a non-empty string on error (or always?)
FWIW, the correct underlying error is properly logged and does work if the CustomResource is being updated rather than created/replaced
e.g. error
Reported CF Error
Error location: https://github.com/cdklabs/cdk-ecr-deployment/blob/main/lambda/main.go#L114
PhsyicalResourceId definition: https://github.com/cdklabs/cdk-ecr-deployment/blob/main/lambda/main.go#L39
The text was updated successfully, but these errors were encountered: