Skip to content

Commit

Permalink
add pip_executable_path to template
Browse files Browse the repository at this point in the history
  • Loading branch information
SKozlovsky committed Jan 3, 2020
1 parent 6533b77 commit 637c2bc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions autogen/main.tf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,7 @@ module "project-factory" {
default_service_account = var.default_service_account
disable_dependent_services = var.disable_dependent_services
python_interpreter_path = var.python_interpreter_path
{% if root_module %}
pip_executable_path = var.pip_executable_path
{% endif %}
}
8 changes: 8 additions & 0 deletions autogen/variables.tf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,14 @@ variable "python_interpreter_path" {
type = string
default = "python3"
}
{% if root_module %}

variable "pip_executable_path" {
description = "Pip executable path for precondition requirements.txt install."
type = string
default = "pip3"
}
{% endif %}
{% if gsuite_enabled %}

variable "create_group" {
Expand Down

0 comments on commit 637c2bc

Please sign in to comment.