Thank you for having an actually useful tutorial! So glad to find actually useful information after wading through the cesspool of marketing slide decks.
For developers who are trying this out in 2022, please add 1 more policy in you IAM group : awsS3FullAccess , or else it will give out a error in deployment of the serverless.yaml file. S3 bucket permission denied ! . 🧑💻❤️
If you face with an Error: "ROLLBACK_COMPLETE state and can not be updated". Try deleting the stack with "aws cloudformation delete-stack --stack-name "
Thank you for the tutorial. I don't understand why in the GitHub Action, we didn't specify the line for installing the serverless package, which is useful for deployment.
@@jacksonyuan7744 I'm having a lot of difficulty with environment variables. Serverless keeps resetting the one's in my lambda functions on AWS and I also don't want to make API's visible on GitHub. Maybe I'm not the only having difficulty with this right now!
@@jameswilliam4570 I briefly go over how to set env variables using the Serverless framework here: ua-cam.com/video/K-c0AoMmaOU/v-deo.html. This works well if your variable isn't holding a secret value. For storing secrets and using them in your Lambda function, I would recommend trying a service such as AWS Secrets Manager: aws.amazon.com/secrets-manager/. I hope that helps!
hi, I followed your steps and have two errors, and I fixed them; first, it showed" s3:CreateBucket Access Denied", I added S3FullAccess to that IAM User group; second, i had a "ROLLBack Complete" error, then I deleted it in AWS console and re-run the job. Finally problems resolved.
If i run serverless deploy then my ts code is getting bundled ans single index.js file is being deployed but when i use this method entire code base is getting deployed .
Hi sir i am facing the error while deploy through github action and the error is : " An error occurred: ServerlessDeploymentBucket - API: s3:CreateBucket Access Denied." please help me
hi, i just followed your steps. but I got this error : CREATE_FAILED: ServerlessDeploymentBucket (AWS::S3::Bucket) API: s3:CreateBucket Access Denied Do we need to S3 in this video?
Please help me this error is showing i have also added serverless-dotenv-plugin this in serverless.yml file Error: Serverless plugin "serverless-dotenv-plugin" not found. Make sure it's installed and listed in the "plugins" section of your serverless config file. Run "serverless plugin install -n serverless-dotenv-plugin" to install it.
Hi! I don't believe so. Lambda execution roles are meant for granting your Lambda function the necessary permissions to interact with other AWS services. However, many of the managed policies we attach to the IAM user here are required for the Serverless Framework to make its deployment and not for the operations conducted within the Lambda function.
User: arn:aws:iam:::user/SocialHub_User_Barkat is not authorized to perform: cloudformation:DescribeStacks on resource: arn:aws:cloudformation:us-east-1::stack/socialhub-dev/* with an explicit deny in a service control policy. I am got this error can anyone help me with this?
Thank you for having an actually useful tutorial! So glad to find actually useful information after wading through the cesspool of marketing slide decks.
Wow Jackson, Thanks for sharing the knowledge!!
For developers who are trying this out in 2022, please add 1 more policy in you IAM group : awsS3FullAccess , or else it will give out a error in deployment of the serverless.yaml file. S3 bucket permission denied ! . 🧑💻❤️
Thank You
If you face with an Error: "ROLLBACK_COMPLETE state and can not be updated". Try deleting the stack with "aws cloudformation delete-stack --stack-name "
Thank you
Thank you for the tutorial. I don't understand why in the GitHub Action, we didn't specify the line for installing the serverless package, which is useful for deployment.
makes my day. thanks!
Thank you! This was a great introduction to Serverless and Github Actions!
I'm glad you found it helpful! Let me know if there's any other content/tutorials you'd like to see!
@@jacksonyuan7744 I'm having a lot of difficulty with environment variables. Serverless keeps resetting the one's in my lambda functions on AWS and I also don't want to make API's visible on GitHub. Maybe I'm not the only having difficulty with this right now!
@@jameswilliam4570 I briefly go over how to set env variables using the Serverless framework here: ua-cam.com/video/K-c0AoMmaOU/v-deo.html. This works well if your variable isn't holding a secret value. For storing secrets and using them in your Lambda function, I would recommend trying a service such as AWS Secrets Manager: aws.amazon.com/secrets-manager/.
I hope that helps!
Great video, Even though it was published 3 year ago, It was very helpful to me.
hi, I followed your steps and have two errors, and I fixed them; first, it showed" s3:CreateBucket Access Denied", I added S3FullAccess to that IAM User group; second, i had a "ROLLBack Complete" error, then I deleted it in AWS console and re-run the job. Finally problems resolved.
by delete it, do you mean delete stack in CloudFormation?
If i run serverless deploy then my ts code is getting bundled ans single index.js file is being deployed but when i use this method entire code base is getting deployed .
Hi sir i am facing the error while deploy through github action and the error is : " An error occurred: ServerlessDeploymentBucket - API: s3:CreateBucket Access Denied." please help me
If u've found the fix, pls reply
Thank you! This is awesome!
Thanks you, is a good video. I have a question: What if I have several serverless files, how can I reference them using this github action?
hi, i just followed your steps. but I got this error :
CREATE_FAILED: ServerlessDeploymentBucket (AWS::S3::Bucket)
API: s3:CreateBucket Access Denied
Do we need to S3 in this video?
The bucket name should be globally unique
Please help me this error is showing i have also added serverless-dotenv-plugin this in serverless.yml file
Error:
Serverless plugin "serverless-dotenv-plugin" not found. Make sure it's installed and listed in the "plugins" section of your serverless config file. Run "serverless plugin install -n serverless-dotenv-plugin" to install it.
Extremely helpful, thank you!!
Glad I could help!
How Can I do to configúrate The serverless yml to dont save the source code into S3?
can I do this for a rest api ?, how would I do it for the npm install?
Thanks so much super helpful!
Can this be done without an IAM user and using only a lambda execution role?
Hi! I don't believe so. Lambda execution roles are meant for granting your Lambda function the necessary permissions to interact with other AWS services. However, many of the managed policies we attach to the IAM user here are required for the Serverless Framework to make its deployment and not for the operations conducted within the Lambda function.
Thanks for the tutorial, really helpful. you got one more subscriber :)
Thanks for the feedback and subscription! Let me know anytime if there's other content/tutorials you'd like to see!
Thanks you!
Thanks man for this tutorial it is very helpful. Can you also post video on triggering lamda on sns topic and sending mail to subscriber using SES
Thanks for the suggestion! I'll definitely look into it :)
good and best
some of the steps Jackson not mention How git repo to AWS configure account configure
Very helpful! Thanks
User: arn:aws:iam:::user/SocialHub_User_Barkat is not authorized to perform: cloudformation:DescribeStacks on resource: arn:aws:cloudformation:us-east-1::stack/socialhub-dev/* with an explicit deny in a service control policy. I am got this error can anyone help me with this?