-
-
Notifications
You must be signed in to change notification settings - Fork 746
Closed
Description
on Terraform 0.12.16 and 0.12.29 with v1.31.0
✗ terraform import "module.lambda.aws_lambda_function.this[0]" my-function
module.lambda.aws_lambda_function.this[0]: Importing from ID "my-function"...
module.lambda.aws_lambda_function.this[0]: Import prepared!
Prepared aws_lambda_function for import
module.lambda.aws_lambda_function.this[0]: Refreshing state... [id=my-function]
Error: Error in function call
on .terraform/modules/lambda/iam.tf line 9, in locals:
9: role_name = local.create_role ? coalesce(var.role_name, var.function_name) : null
|----------------
| var.function_name is ""
| var.role_name is null
Call to function "coalesce" failed: no non-null, non-empty-string arguments.
Cleared by switching to v1.28.0, which does not have the line with the error.
Metadata
Metadata
Assignees
Labels
No labels