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 年前
相關內容
- AWS 官方已更新 2 年前