[{"data":1,"prerenderedAt":60},["ShallowReactive",2],{"pattern-lambda-function-url-terraform":3,"pattern-group-lambda-function-url-terraform":59},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":22,"language":26,"level":27,"meta":28,"patternArch":29,"patternGroup":6,"patternGroupLabel":6,"resources":43,"services":6,"stem":54,"testing":55,"videoId":6,"__hash__":58},"patterns\u002Fpatterns\u002Flambda-function-url-terraform.json","AWS Lambda function URL",null,{"text":8},[9],"terraform destroy --auto-approve.",[11],"content\u002Fcontributors\u002Fstephen-monaghan.json",{"text":13},[14],"terraform init && terraform apply --auto-approve","Create an AWS Lambda function with a function URL using Terraform.","json","Terraform",{"template":19},{"patternPath":20,"templateFile":21},"lambda-function-url-terraform","main.tf",{"headline":23,"text":24},"How it works",[25],"This sample project demonstrates how to create a Lambda Function URL for a Lambda function. You can use Function URLs to create a a dedicated HTTP(S) endpoint for your Lambda function. Use the FunctionEndpointURL when testing your Lambda function.","Node.js","100",{},{"icon1":30,"icon2":35,"line1":39},{"x":31,"y":32,"service":33,"label":34},20,50,"icon-internet","Client",{"x":36,"y":32,"service":37,"label":38},80,"lambda","AWS Lambda",{"from":40,"to":41,"label":42},"icon1","icon2","function URL",{"bullets":44},[45,48,51],{"text":46,"link":47},"Overview of Lambda function URLs","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Flambda-urls.html",{"text":49,"link":50},"Creating and managing Lambda function URLs","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Furls-configuration.html",{"text":52,"link":53},"Announcing AWS Lambda Function URLs: Built-in HTTPS Endpoints for Single-Function Microservices","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Faws\u002Fannouncing-aws-lambda-function-urls-built-in-https-endpoints-for-single-function-microservices\u002F","patterns\u002Flambda-function-url-terraform",{"text":56},[57],"Use the Terraform Output FunctionURLEndpoint from the `terraform apply` command to test your Lambda function in a browser or API testing tool.","ywz7NyB0W-w4h4RRnzPJ-GXs2C-kAA2haCSvf_jM8ak",[],1790815441010]