Skip to content

Commit a34f580

Browse files
committed
fix(lambda): revert function URL auth to NONE
IAM auth was breaking interactive use of the Lambda function URL. All tfvars already specified NONE — only the variable defaults were wrong.
1 parent a3a6292 commit a34f580

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

terraform/environments/aws/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ variable "lambda_enable_function_url" {
213213
variable "lambda_function_url_auth_type" {
214214
description = "Function URL auth type (NONE or AWS_IAM)"
215215
type = string
216-
default = "AWS_IAM"
216+
default = "NONE"
217217
}
218218

219219
variable "lambda_allowed_origins" {

terraform/modules/compute/aws/lambda/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ variable "enable_function_url" {
9292
variable "function_url_auth_type" {
9393
description = "Function URL authorization type (NONE or AWS_IAM)"
9494
type = string
95-
default = "AWS_IAM"
95+
default = "NONE"
9696
}
9797

9898
variable "allowed_origins" {

0 commit comments

Comments
 (0)