terraform-aws-modules / terraform-aws-lambda

Terraform module, which takes care of a lot of AWS Lambda/serverless tasks (build dependencies, packages, updates, deployments) in countless combinations 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/lambda/aws
Apache License 2.0
885 stars 658 forks source link

Error: must start with '.mnt/' for `file_system_local_mount_path` #567

Closed justinTM closed 1 month ago

justinTM commented 1 month ago

using file_system_local_mount_path = "/mnt/huggingface/hub" gives error saying:

Apply Dev > Plan: 1 to add, 11 to change, 1 to destroy.
Apply Dev > ╷
Apply Dev > │ Error: invalid value for file_system_config.0.local_mount_path (must start with '/mnt/')
Apply Dev > │ 
Apply Dev > │   with module.lambda.aws_lambda_function.this[0],
Apply Dev > │   on .terraform/modules/lambda/main.tf line 24, in resource "aws_lambda_function" "this":
Apply Dev > │   24: resource "aws_lambda_function" "this" {
justinTM commented 1 month ago

fixed with "/mnt/huggingface"

github-actions[bot] commented 3 weeks ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.