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

Closed
1 task done
fox91 opened this issue Sep 13, 2024 · 2 comments
Closed
1 task done

EFS example not working #620

fox91 opened this issue Sep 13, 2024 · 2 comments
Labels

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.

Copy link

This issue has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this issue will be closed in 10 days

@github-actions github-actions bot added the stale label Oct 14, 2024
Copy link

This issue was automatically closed because of stale in 10 days

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant