Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment fails: StaticAssetUploader #611

Open
ccurran01 opened this issue Feb 8, 2023 · 0 comments
Open

Deployment fails: StaticAssetUploader #611

ccurran01 opened this issue Feb 8, 2023 · 0 comments

Comments

@ccurran01
Copy link

I've made a few attempts to deploy the Dev Portal but have been hitting an issue with the StaticAssetUploader Custom CFN resource. I've tried this using both SAR and manual deployments with SAM.

The Lambda function is hitting an Unhandled Promise Rejection with an AccessDenied error message. Relatively new to the project and am having some trouble spotting what's going wrong. Any ideas?

"reason": {
        "errorType": "AccessDenied",
        "errorMessage": "Access Denied",
        "code": "AccessDenied",
        "message": "Access Denied",
        "region": null,
        "time": "2023-02-07T17:57:51.280Z",
        "requestId": "***",
        "extendedRequestId": "***",
        "statusCode": 403,
        "retryable": false,
        "retryDelay": 31.37999690296416,
        "stack": [
            "AccessDenied: Access Denied",
            "    at Request.extractError (/var/runtime/node_modules/aws-sdk/lib/services/s3.js:710:35)",
            "    at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:106:20)",
            "    at Request.emit (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:78:10)",
            "    at Request.emit (/var/runtime/node_modules/aws-sdk/lib/request.js:686:14)",
            "    at Request.transition (/var/runtime/node_modules/aws-sdk/lib/request.js:22:10)",
            "    at AcceptorStateMachine.runTo (/var/runtime/node_modules/aws-sdk/lib/state_machine.js:14:12)",
            "    at /var/runtime/node_modules/aws-sdk/lib/state_machine.js:26:10",
            "    at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:38:9)",
            "    at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:688:12)",
            "    at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:116:18)"
        ]
    },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant