Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EFS example not working #620

Open
1 task done
fox91 opened this issue Sep 13, 2024 · 0 comments
Open
1 task done

EFS example not working #620

fox91 opened this issue Sep 13, 2024 · 0 comments

Comments

@fox91
Copy link

fox91 commented Sep 13, 2024

Description

The lambda function deploys successfully but the function returns a NetworkError.

  • ✋ I have searched the open/closed issues and my issue is not listed.

Versions

  • Module version: 7.9.0
  • Terraform version: 1.9.5
  • Provider version(s):
+ provider registry.terraform.io/hashicorp/aws v5.67.0
+ provider registry.terraform.io/hashicorp/external v2.3.4
+ provider registry.terraform.io/hashicorp/local v2.5.2
+ provider registry.terraform.io/hashicorp/null v3.2.3
+ provider registry.terraform.io/hashicorp/random v3.6.3

Reproduction Code

AWS Lambda with EFS Example.

Steps to reproduce the behavior:

terraform init
terraform plan
terraform apply

After that I manually launch the function from the AWS console.

Expected behavior

Hello from app1!

Actual behavior

Calling the invoke API action failed with this message: NetworkError when attempting to fetch resource.

The function does not write any logs, it does not even launch.
Removing the link to EFS works fine.
It seems that some permissions/configurations are missing that allow the function to communicate with EFS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant