Skip to content

Commit 300264b

Browse files
Update code
1 parent 439649c commit 300264b

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

infra/main.tf

-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ data "aws_iam_user" "iam_user_seba" {
117117
resource "aws_lambda_permission" "allow_iam_user" {
118118
statement_id = "AllowExecutionForIamUser"
119119
action = "lambda:InvokeFunctionUrl"
120-
function_name = TODO
121120
function_url_auth_type = "AWS_IAM"
122121
principal = data.aws_iam_user.iam_user_seba.arn
123122
}

test/main_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,5 @@ func TestAwsInfra(t *testing.T) {
2121
terraform.InitAndApply(t, terraformOptions)
2222

2323
// Run `terraform output` to get the values of output variables and check they have the expected values.
24-
output := terraform.Output(t, terraformOptions, TODO)
2524
assert.Contains(t, output, "lambda-url")
2625
}

0 commit comments

Comments
 (0)