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
cdk-cloudfront-authorization is throwing the following error:
{
"errorType": "TypeError",
"errorMessage": "Cannot convert undefined or null to object",
"stack": [
"TypeError: Cannot convert undefined or null to object",
" at Function.entries (<anonymous>)",
" at asCloudFrontHeaders (/var/task/index.js:8518:19)",
" at getConfig (/var/task/index.js:8512:28)",
" at Runtime.handler (/var/task/index.js:14932:41)",
" at Runtime.handleOnce (/var/runtime/Runtime.js:66:25)"
]
}
Seems like due to config.httpHeaders being undefined.
I confirm the issue is still present in v2.1.0.
I just upgraded from cloudcomponents.cdk-cloudfront-authorization==1.50.0 to cloudcomponents.cdk-cloudfront-authorization==2.1.0, and the python StaticSiteAuthorization construct does not accept the http_headers argument.
cdk-cloudfront-authorization
is throwing the following error:Seems like due to
config.httpHeaders
being undefined.configuration.json
CDK
The text was updated successfully, but these errors were encountered: