2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
2
You can use the aws_lambda_function_url
resource in Terraform, something like this:
resource "aws_lambda_function_url" "function" {
function_name = aws_lambda_function.function.function_name
authorization_type = "NONE"
}
You can find more information in the documentation: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_function_url
1
This blog article does a nice end-to-end walkthrough of creating a lambda function url resource with Terraform including the provider
block, aws_lambda_function_url
resource and dependencies:
https://nquayson.com/aws-lambda-function-url-using-terraform-quick-walkthrough
답변함 2년 전