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

mwaa-end2end cdk deploy issues #11

Open
andsus opened this issue Jul 27, 2024 · 0 comments
Open

mwaa-end2end cdk deploy issues #11

andsus opened this issue Jul 27, 2024 · 0 comments

Comments

@andsus
Copy link

andsus commented Jul 27, 2024

Thanks for posting such a great tutorial.

I tried mwaa-end2end cdk deploy tutorial based on automating-mwaa-environments-and-workflows

And stuck at the following error on nested-stack:

1. AWSCDKCfnUtilsProviderCustomResourceProviderHandlerCF82AA57
Resource handler returned message: "The runtime parameter of nodejs14.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs20.x) while creating or updating functions.

cdk.out:
  "AWSCDKCfnUtilsProviderCustomResourceProviderHandlerCF82AA57": {
   "Type": "AWS::Lambda::Function",
   "Properties": {
    "Code": {
     "S3Bucket": "cdk-hnb659fds-assets-xxx-us-west-2",
     "S3Key": "26c112af1f276b5d27a75309a6bc859d69debba531106f24403856cad6b6c825.zip"
    },
    "Timeout": 900,
    "MemorySize": 128,
    "Handler": "__entrypoint__.handler",
    "Role": {
     "Fn::GetAtt": [
      "AWSCDKCfnUtilsProviderCustomResourceProviderRoleFE0EE867",
      "Arn"
     ]
    },
    "Runtime": "nodejs14.x"
   },

2. Resource handler returned message: "Invalid request provided: Provided role does not have sufficient permissions for s3 location mwaairflowstack-mwaaenvstacknes-mwaabucketc55b6618-mv8kzhcjonyx/dags
  1. I've failed to find where nodejs.14 was generated from at the cdk. How to update the nodejs runtime?
  2. Where to update permission?
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