Commit b21d4c4 1 parent 300264b commit b21d4c4 Copy full SHA for b21d4c4
File tree 2 files changed +1
-2
lines changed
2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ _Welcome to "aws-terratest-course"! :wave:_
21
21
5 . Go to `` infra `` folder using command: `` cd infra `` .
22
22
6 . Initialize Terraform by command: `` terraform init `` .
23
23
7 . Review arguments for [ aws_lambda_function_url] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_function_url.html ) resource.
24
- 8 . Define `` function_name `` for resource `` aws_lambda_function_url `` .
24
+ 8 . Define `` function_name `` for resource `` aws_lambda_function_url `` and `` aws_lambda_permission `` .
25
25
9 . Try to deploy infrastructure using command: `` terraform apply `` .
26
26
10 . If succeeded, destroy infrastructure using command: `` terraform apply -destroy `` .
27
27
11 . Commit changes using command: `` git commit -am "Finish step 1" `` .
Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ data "aws_kms_key" "lambda_kms" {
60
60
61
61
# ## Lambda URL
62
62
resource "aws_lambda_function_url" "lambda_endpoint" {
63
- function_name = aws_lambda_function. lambda_func . function_name
64
63
authorization_type = " AWS_IAM" # "NONE"
65
64
66
65
cors {
You can’t perform that action at this time.
0 commit comments