https://blog.vadymkhodak.com/deploy-django-app-on-aws-lambda-using-serverless-part-1
El jueves, 27 de mayo de 2021 a la(s) 11:18:16 UTC-5, Diego Alonso Uribe Gamez escribió:
Hello, I am following a Vadym Khodak manual where django is deployed on a derverless server but I get an error in a part that I do not understand, the error is this
AppLambdaFunction
CREATE_FAILED
Properties validation failed for resource AppLambdaFunction with message: #/Role: failed validation constraint for keyword [pattern]Traceback:----------------------------------------------------------------------------------------------------serverless deploy -s productionServerless: Deprecation warning: Support for "package.include" and "package.exclude" will be removed with next major release. Please use "package.patterns" insteadServerless: Deprecation warning: Starting with version 3.0.0, following property will be replaced:"provider.role" -> "provider.iam.role"Serverless: Adding Python requirements helper to ....Serverless: Generated requirements from /opt/app/requirements.txt in /opt/app/.serverless/requirements.txt...Serverless: Using static cache of requirements found at /root/.cache/serverless-python-requirements/5c3_slspyc ...Serverless: Zipping required Python packages for ....Serverless: Using Python specified in "runtime": python3.7Serverless: Packaging Python WSGI handler...Serverless: Packaging service...Serverless: Excluding development dependencies...Serverless: Removing Python requirements helper from ....Serverless: Injecting required Python packages to package...Serverless: Uploading CloudFormation file to S3...Serverless: Uploading artifacts...Serverless: Uploading service app.zip file to S3 (21.41 MB)...Serverless: Validating template...Serverless: Creating Stack...Serverless: Checking Stack create progress................Serverless: Operation failed!Serverless: View the full error output: https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/stack/detail?stackId=arn%3Aaws%3Acloudformation%3Aus-east-1%3394481%3Astack%2Fdjango-aws-lambda-production%2-beee-11eb-baa0-12Serverless Error ----------------------------------------An error occurred: AppLambdaFunction - Properties validation failed for resource AppLambdaFunction with message:#/Role: failed validation constraint for keyword [pattern].Get Support --------------------------------------------Docs: docs.serverless.comIssues: forum.serverless.comYour Environment Information ---------------------------Operating System: linuxNode Version: 14.17.0Framework Version: 2.43.1Plugin Version: 5.1.3SDK Version: 4.2.2Components Version: 3.10.1
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e91aadcd-8683-4ba6-8b3c-165b62df547an%40googlegroups.com.
No comments:
Post a Comment