Skip to content

Commit 82f7c0d

Browse files
authored
Merge branch 'master' into feat/docdb_event_source_config
2 parents d9947bb + aa94b91 commit 82f7c0d

File tree

2 files changed

+23
-14
lines changed

2 files changed

+23
-14
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [7.11.0](https://github.com/terraform-aws-modules/terraform-aws-lambda/compare/v7.10.0...v7.11.0) (2024-10-01)
6+
7+
8+
### Features
9+
10+
* Add function_url_auth_type option to aws_lambda_permission ([#625](https://github.com/terraform-aws-modules/terraform-aws-lambda/issues/625)) ([9f13397](https://github.com/terraform-aws-modules/terraform-aws-lambda/commit/9f13397f20467e660eba0ae5fcf98c66c75187ba))
11+
512
## [7.10.0](https://github.com/terraform-aws-modules/terraform-aws-lambda/compare/v7.9.0...v7.10.0) (2024-09-29)
613

714

main.tf

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -280,13 +280,14 @@ resource "aws_lambda_permission" "current_version_triggers" {
280280
function_name = aws_lambda_function.this[0].function_name
281281
qualifier = aws_lambda_function.this[0].version
282282

283-
statement_id_prefix = try(each.value.statement_id, each.key)
284-
action = try(each.value.action, "lambda:InvokeFunction")
285-
principal = try(each.value.principal, format("%s.amazonaws.com", try(each.value.service, "")))
286-
principal_org_id = try(each.value.principal_org_id, null)
287-
source_arn = try(each.value.source_arn, null)
288-
source_account = try(each.value.source_account, null)
289-
event_source_token = try(each.value.event_source_token, null)
283+
statement_id_prefix = try(each.value.statement_id, each.key)
284+
action = try(each.value.action, "lambda:InvokeFunction")
285+
principal = try(each.value.principal, format("%s.amazonaws.com", try(each.value.service, "")))
286+
principal_org_id = try(each.value.principal_org_id, null)
287+
source_arn = try(each.value.source_arn, null)
288+
source_account = try(each.value.source_account, null)
289+
event_source_token = try(each.value.event_source_token, null)
290+
function_url_auth_type = try(each.value.function_url_auth_type, null)
290291

291292
lifecycle {
292293
create_before_destroy = true
@@ -299,13 +300,14 @@ resource "aws_lambda_permission" "unqualified_alias_triggers" {
299300

300301
function_name = aws_lambda_function.this[0].function_name
301302

302-
statement_id_prefix = try(each.value.statement_id, each.key)
303-
action = try(each.value.action, "lambda:InvokeFunction")
304-
principal = try(each.value.principal, format("%s.amazonaws.com", try(each.value.service, "")))
305-
principal_org_id = try(each.value.principal_org_id, null)
306-
source_arn = try(each.value.source_arn, null)
307-
source_account = try(each.value.source_account, null)
308-
event_source_token = try(each.value.event_source_token, null)
303+
statement_id_prefix = try(each.value.statement_id, each.key)
304+
action = try(each.value.action, "lambda:InvokeFunction")
305+
principal = try(each.value.principal, format("%s.amazonaws.com", try(each.value.service, "")))
306+
principal_org_id = try(each.value.principal_org_id, null)
307+
source_arn = try(each.value.source_arn, null)
308+
source_account = try(each.value.source_account, null)
309+
event_source_token = try(each.value.event_source_token, null)
310+
function_url_auth_type = try(each.value.function_url_auth_type, null)
309311

310312
lifecycle {
311313
create_before_destroy = true

0 commit comments

Comments
 (0)