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
When I followed the guide to deploy via "pdk deploy:dev". Halfway through the cloud formation deployment, it errors out.
❌ Deployment failed: Error: The stack named infra-dev failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE: Received response status [FAILED] from custom resource. Message returned: Error: Cannot find module '@aws-sdk/client-wafv2'
Require stack:
/var/task/index.js
/var/runtime/index.mjs
I have already installed the dependency in the PNPM but the error still seem to persist.
Expected Behavior
Successful deployment of Infra.
Current Behavior
Infra Deployment errors halfway due to missing aws-sdk modules
Reproduction Steps
pdk deploy:dev
Possible Solution
No response
Additional Information/Context
No response
PDK version used
0.22.36
What languages are you seeing this issue on?
Typescript
Environment details (OS name and version, etc.)
AWS Cloud9, Amazon Linux 2
The text was updated successfully, but these errors were encountered:
Hi Vincent, sorry you experienced this issue! It’s been fixed in this PR, so if you upgrade PDK to 0.22.42 the static website deployment should succeed.
A quick way to update pdk in a typescript monorepo is to use the command:
Describe the bug
Hi,
When I followed the guide to deploy via "pdk deploy:dev". Halfway through the cloud formation deployment, it errors out.
❌ Deployment failed: Error: The stack named infra-dev failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE: Received response status [FAILED] from custom resource. Message returned: Error: Cannot find module '@aws-sdk/client-wafv2'
Require stack:
I have already installed the dependency in the PNPM but the error still seem to persist.
Expected Behavior
Successful deployment of Infra.
Current Behavior
Infra Deployment errors halfway due to missing aws-sdk modules
Reproduction Steps
pdk deploy:dev
Possible Solution
No response
Additional Information/Context
No response
PDK version used
0.22.36
What languages are you seeing this issue on?
Typescript
Environment details (OS name and version, etc.)
AWS Cloud9, Amazon Linux 2
The text was updated successfully, but these errors were encountered: