Error: Archive creation error

`I am getting the below error while trying to import a resource ( aws_msk) into the state file.`

Error: Archive creation error
│ 
│   with module.persistence.module.es_clusters["logging"].data.archive_file.snapshot_lambda[0],
│   on /Users/workspace/tf-sites/.terraform/test-env/persistence/modules/persistence/aws-elasticsearch/backups.tf line 336, in data "archive_file" "snapshot_lambda":
│  336: data "archive_file" "snapshot_lambda" {
│ 
│ error creating archive: error archiving directory: could not archive missing directory:
│ /Users/workspace/tf-sites/.terraform/test-env/persistence/modules/persistence/aws-elasticsearch/snapshot_lambda/package/
╵

╷
│ Error: Archive creation error
│ 
│   with module.persistence.module.es_clusters["logging-2"].data.archive_file.snapshot_lambda[0],
│   on /Users/workspace/tf-sites/.terraform/test-env/persistence/modules/persistence/aws-elasticsearch/backups.tf line 336, in data "archive_file" "snapshot_lambda":
│  336: data "archive_file" "snapshot_lambda" {
│ 
│ error creating archive: error archiving directory: could not archive missing directory:
│ /Users/workspace/tf-sites/.terraform/test-env/persistence/modules/persistence/aws-elasticsearch/snapshot_lambda/package/