Skip to content

Commit

Permalink
Rename bamboo_internal_use to internal_use_e2e_path to path_local_hel…
Browse files Browse the repository at this point in the history
…m_charts
  • Loading branch information
nghazali committed Feb 4, 2022
1 parent c60a776 commit 2a8de4e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/products/bamboo/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ locals {
agent_name = "bamboo-agent"

# Install local helm charts if local helm chart path is provided (for test purposes)
local_helm_charts_path = var.internal_use_e2e_path == null ? "" : "${var.internal_use_e2e_path}/src/main/charts"
local_helm_charts_path = var.local_helm_charts_path == null ? "" : "${var.local_helm_charts_path}/src/main/charts"
use_local = fileexists("${local.local_helm_charts_path}/${product_name}/Chart.yaml")

helm_chart_repository = local.use_local ? null : "https://atlassian.github.io/data-center-helm-charts"
Expand Down
4 changes: 2 additions & 2 deletions modules/products/bamboo/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ variable "bamboo_agent_configuration" {
}
}

variable "internal_use_e2e_path" {
description = "This variable is reserved for internal use"
variable "local_helm_charts_path" {
description = "Path to local Helm charts repo to install local helm charts"
type = string
default = null
}
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ variable "bamboo_admin_email_address" {
type = string
}

variable "internal_use_e2e_path" {
description = "This variable is reserved for internal use"
variable "local_helm_charts_path" {
description = "Path to local Helm charts repo to install local helm charts"
type = string
default = null
}
Expand Down

0 comments on commit 2a8de4e

Please sign in to comment.