Compare commits

...

4 commits

Author SHA1 Message Date
Daniel Roth
471c331df8
Merge pull request #904 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform: Always install python packages
2026-03-18 16:20:05 +00:00
Daniel Roth
7821666f83 add empty line back in 2026-03-18 14:53:44 +00:00
Daniel Roth
7544700618 always run pip install 2026-03-18 14:13:38 +00:00
Daniel Roth
de7c8aadfd Merge branch 'main' into deploy-fastapi-with-terraform 2026-03-18 11:45:44 +00:00

View file

@ -20,6 +20,10 @@ resource "aws_cloudwatch_log_group" "api_logs" {
resource "null_resource" "pip_install" {
count = var.requirements_file != null ? 1 : 0
triggers = {
always_run = timestamp()
}
provisioner "local-exec" {
command = "pip install -r ${var.requirements_file} -t ${var.source_dir} --platform manylinux2014_x86_64 --implementation cp --python-version 3.11 --only-binary=:all: --upgrade"
}