Skip to content

Commit

Permalink
Azure local-exec provisioner to install deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jksprattler committed Nov 5, 2024
1 parent db1d2c4 commit d950a7e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cloud_Azure/terraform/module/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,14 @@ resource "null_resource" "feature_insights_register" {
command = "az provider register -n Microsoft.Insights"
}
}

# Install dependencies
resource "null_resource" "install_dependencies" {
provisioner "local-exec" {
command = <<EOT
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
EOT
}
}

0 comments on commit d950a7e

Please sign in to comment.