Skip to content

Commit

Permalink
Merge pull request #129 from kbst/bettervarname
Browse files Browse the repository at this point in the history
Make clear base_key is configuration related
  • Loading branch information
pst authored Aug 25, 2020
2 parents 5ba04b7 + bd35918 commit 8c44d51
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion aws/cluster/configuration.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module "configuration" {
source = "../../common/configuration"

configuration = var.configuration
base_key = var.base_key
base_key = var.configuration_base_key
}

locals {
Expand Down
12 changes: 6 additions & 6 deletions aws/cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ variable "configuration" {
description = "Map with per workspace cluster configuration."
}

variable "manifest_path" {
variable "configuration_base_key" {
type = string
description = "Path to Kustomize overlay to build."
default = null
description = "The key in the configuration map all other keys inherit from."
default = "apps"
}

variable "base_key" {
variable "manifest_path" {
type = string
description = "The key in the configuration map all other keys inherit from."
default = "apps"
description = "Path to Kustomize overlay to build."
default = null
}
2 changes: 1 addition & 1 deletion azurerm/cluster/configuration.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module "configuration" {
source = "../../common/configuration"

configuration = var.configuration
base_key = var.base_key
base_key = var.configuration_base_key
}

locals {
Expand Down
12 changes: 6 additions & 6 deletions azurerm/cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ variable "configuration" {
description = "Map with per workspace cluster configuration."
}

variable "manifest_path" {
variable "configuration_base_key" {
type = string
description = "Path to Kustomize overlay to build."
default = null
description = "The key in the configuration map all other keys inherit from."
default = "apps"
}

variable "base_key" {
variable "manifest_path" {
type = string
description = "The key in the configuration map all other keys inherit from."
default = "apps"
description = "Path to Kustomize overlay to build."
default = null
}
2 changes: 1 addition & 1 deletion google/cluster/configuration.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module "configuration" {
source = "../../common/configuration"

configuration = var.configuration
base_key = var.base_key
base_key = var.configuration_base_key
}

locals {
Expand Down
12 changes: 6 additions & 6 deletions google/cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ variable "configuration" {
description = "Map with per workspace cluster configuration."
}

variable "manifest_path" {
variable "configuration_base_key" {
type = string
description = "Path to Kustomize overlay to build."
default = null
description = "The key in the configuration map all other keys inherit from."
default = "apps"
}

variable "base_key" {
variable "manifest_path" {
type = string
description = "The key in the configuration map all other keys inherit from."
default = "apps"
description = "Path to Kustomize overlay to build."
default = null
}
2 changes: 1 addition & 1 deletion kind/cluster/configuration.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module "configuration" {
source = "../../common/configuration"

configuration = var.configuration
base_key = var.base_key
base_key = var.configuration_base_key
}

locals {
Expand Down
12 changes: 6 additions & 6 deletions kind/cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ variable "configuration" {
description = "Map with per workspace cluster configuration."
}

variable "manifest_path" {
variable "configuration_base_key" {
type = string
description = "Path to Kustomize overlay to build."
default = null
description = "The key in the configuration map all other keys inherit from."
default = "apps"
}

variable "base_key" {
variable "manifest_path" {
type = string
description = "The key in the configuration map all other keys inherit from."
default = "apps"
description = "Path to Kustomize overlay to build."
default = null
}

0 comments on commit 8c44d51

Please sign in to comment.