What a dense nugget of a video. I just started a new job as a cloud backend engineer and this architecture is going to be the blueprint for my next 3 months. Thanks so much.
@razrides4 жыл бұрын
This is awesome, thank you for sharing. I was able to follow along. I hit a snag during "terraform plan" but was able to fix that by creating the dynamo table with the LockID index for the backend part.
@qiaoweiliu36473 жыл бұрын
Awesome ! BTW, how can i config the authorization for the api gateway? Like COGNITO?
@YourXLNerd4 жыл бұрын
wow great vid! What is the advantage of having sam and terraform? If you can build the resources directly in terraform, what does SAM do at that point? Thanks!
@PrasadDomala4 жыл бұрын
SAM makes it easy to build and test Lambda functions locally. I prefer using SAM for Lambda functions and for rest of the resources I use Terraform. I even prefer to use Terraform to deploy SAM stack so that I can parameterize SAM template for multi environment deployments.
@davethorn94232 жыл бұрын
This might be a dumb question but why do you use SAM over provisioning using Terraform is it just for local testing
@onomatopeia8913 жыл бұрын
I'm getting the following response on Postman: { "message": "Forbidden" } Can anyone help? I have tested it on AWS Console API Gateway and it worked but not on Postman. Thank you.
@lucasjleandro3 жыл бұрын
Thank you, you saved me
@johnjosephfernandes4 жыл бұрын
What would be recommended way of development ? Using the oas3 documentation or using terraform resources to build each api resources ?
@lenaschneider97464 жыл бұрын
Great video Prasad! Exactly the flow and the explanation I was looking for. I had one question though - I managed to build and deploy everything except noticed an error messages coming from 'sam build' command. It was unable to resolve attributes from 'Outputs' in sam-template.yaml (Unable to resolve property Role: OrderedDict([('Fn::GetAtt', 'LambdaRole.Arn')]). Leaving as is.
@syedubaise87244 жыл бұрын
Hi Prasad.Good video. What is the command line tool you are using ?
@munamtariq17794 жыл бұрын
Can i reference already existing API gateway in SAM template file?
@helenlam91954 жыл бұрын
Very concise video. Thank you! Why do you prefix some terraform files with "tf_"?
@PrasadDomala4 жыл бұрын
Its just my personal preference. I prefix templates with aws resources as aws_ and terraform resources with tf_
@eebalo4 жыл бұрын
Great video. I am just looking to learn terraform and was going to take my existing rest API services to start infrastructure as code. Curious, what did you use to draw the architecture?
@shanindrakumar99444 жыл бұрын
this video skips lot of steps or assumes user knows what to do: I think you need to put a disclaimer somewhere so users don't get confused
@ramachandrarajaravi4 жыл бұрын
This is very nice could you please provide the same architecture using python for lambda ? or steps for using python lambada in this video.
@BestHKisDLM3 жыл бұрын
Thank you 👌
@kashyapkiran17294 жыл бұрын
Great one. Just the video quality is not good.
@PrasadDomala4 жыл бұрын
Thanks. The video is in 4k. May know what problem you are seeing with the video quality?
@kashyapkiran17294 жыл бұрын
I saw the max resolution of the video was showing 360p . Now it is showing 480p
@PrasadDomala4 жыл бұрын
I guess it must be your network connectivity. The video is in 4K.
@jhuanpressley63984 жыл бұрын
this video is very frustrating..I am not sure if you uploaded this to just show that you can do it or to teach people how to do it.. you rushed through everything and took little time explaining anything. It is obvious that you are not a teacher.. should have known when you claim to do so much in under 25 mins.. I will try to muster through the fast paced video clicking pause every 2 seconds to hopefully teach myself some of what you are doing.. thanks for the content but delivery feels too rushed
@PrasadDomala4 жыл бұрын
Thanks for your feedback. Please note that this is not a follow along video. I hope you know you can adjust the speed to your liking on KZbin.
@jhuanpressley63984 жыл бұрын
@@PrasadDomala oh ok so more of a presentation than a teaching moment ... ty for your response.. I understand now
@ratneswarmarre48113 жыл бұрын
Dear Prasad, great video, however had some issues when I try to run your code as it is, these are the issues - what are the environment variables set for this demo? - sam package you are passing $SAM_CODE_BUCKET (where did you set this variable?), it worked when I set env variable ($SAM_CODE_BUCKET) before running below command sam package --template-file sam-template.yaml --output-template-file sam-deploy.yaml --s3-bucket $SAM_CODE_BUCKET - I have to create bucket before running above command, I thought it will create configured bucket, am I missing any step? - I am getting below region error during terraform init, even though I have changed to us-east-1 all hard coded region values ap-northeast-1 in the code, any other configuration require to read default user region? Successfully configured the backend "s3"! Terraform will automatically use this backend unless the backend configuration changes. Error refreshing state: AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'ap-northeast-1' status code: 400, request id: SVZ14YZHN8TT5C8T, host id: mu0yJ0KjS0JyxUQSXLKuJC7OvwNLB9iHW3+/png+F4fhcn0dk46jhyRzDrymb9TqrQHJtorRlmg= - what are the aws user permission/roles require to successfully execute this demo.