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
In Version 4.0.x - when creating a devportal (in developer mode) I see errors in the StaticAssetUploaderLambdaFunction console and the stack does not complete create.
It seems if I remove the PublicAccessBlockConfiguration: fromr the S3 buckets DevPortalSiteS3Bucket when in Dev mode it works OK:
by the way I have made fork that does work - by adding something this to the code. I am not confident this is the correct approach to make a PR though.
.....
DevPortalSiteS3Bucket:
Type: AWS::S3::Bucket
Properties:
BucketName: !Ref DevPortalSiteS3BucketName
PublicAccessBlockConfiguration:
BlockPublicAcls: !If [ NotDevelopmentMode, 'true', 'false' ]
BlockPublicPolicy: !If [ NotDevelopmentMode, 'true', 'false' ]
IgnorePublicAcls: !If [ NotDevelopmentMode, 'true', 'false' ]
RestrictPublicBuckets: !If [ NotDevelopmentMode, 'true', 'false' ]
In Version 4.0.x - when creating a devportal (in developer mode) I see errors in the StaticAssetUploaderLambdaFunction console and the stack does not complete create.
It seems if I remove the PublicAccessBlockConfiguration: fromr the S3 buckets DevPortalSiteS3Bucket when in Dev mode it works OK:
PublicAccessBlockConfiguration:
BlockPublicAcls: true
BlockPublicPolicy: true
IgnorePublicAcls: true
RestrictPublicBuckets: true
Unhandled Promise Rejection
{
"errorType": "Runtime.UnhandledPromiseRejection",
"errorMessage": "AccessDenied: Access Denied",
"reason": {
"errorType": "AccessDenied",
"errorMessage": "Access Denied",
"code": "AccessDenied",
"message": "Access Denied",
"region": null,
"time": "2020-07-21T14:02:46.389Z",
"requestId": "B259B22412D19E07",
The text was updated successfully, but these errors were encountered: