Skip to content

Commit

Permalink
change source to . to resolve issue of activation the ven due to the …
Browse files Browse the repository at this point in the history
…shelle
  • Loading branch information
g-lorena committed Apr 29, 2024
1 parent f53c7f7 commit 09dca71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Infra/modules/layers/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ resource "null_resource" "lambda_layer" {
rm -rf python
mkdir python
python3 -m venv venv_layer
source venv_layer/bin/activate
. venv_layer/bin/activate
pip3 install -r ${var.requirements_path}
cp -r venv_layer/lib python
zip -r ${var.layer_zip_path} python/
Expand Down

0 comments on commit 09dca71

Please sign in to comment.