Skip to content

Commit 8c44d51

Browse files
authored
Merge pull request #129 from kbst/bettervarname
Make clear base_key is configuration related
2 parents 5ba04b7 + bd35918 commit 8c44d51

File tree

8 files changed

+28
-28
lines changed

8 files changed

+28
-28
lines changed

aws/cluster/configuration.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module "configuration" {
22
source = "../../common/configuration"
33

44
configuration = var.configuration
5-
base_key = var.base_key
5+
base_key = var.configuration_base_key
66
}
77

88
locals {

aws/cluster/variables.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ variable "configuration" {
33
description = "Map with per workspace cluster configuration."
44
}
55

6-
variable "manifest_path" {
6+
variable "configuration_base_key" {
77
type = string
8-
description = "Path to Kustomize overlay to build."
9-
default = null
8+
description = "The key in the configuration map all other keys inherit from."
9+
default = "apps"
1010
}
1111

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

azurerm/cluster/configuration.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module "configuration" {
22
source = "../../common/configuration"
33

44
configuration = var.configuration
5-
base_key = var.base_key
5+
base_key = var.configuration_base_key
66
}
77

88
locals {

azurerm/cluster/variables.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ variable "configuration" {
33
description = "Map with per workspace cluster configuration."
44
}
55

6-
variable "manifest_path" {
6+
variable "configuration_base_key" {
77
type = string
8-
description = "Path to Kustomize overlay to build."
9-
default = null
8+
description = "The key in the configuration map all other keys inherit from."
9+
default = "apps"
1010
}
1111

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

google/cluster/configuration.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module "configuration" {
22
source = "../../common/configuration"
33

44
configuration = var.configuration
5-
base_key = var.base_key
5+
base_key = var.configuration_base_key
66
}
77

88
locals {

google/cluster/variables.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ variable "configuration" {
33
description = "Map with per workspace cluster configuration."
44
}
55

6-
variable "manifest_path" {
6+
variable "configuration_base_key" {
77
type = string
8-
description = "Path to Kustomize overlay to build."
9-
default = null
8+
description = "The key in the configuration map all other keys inherit from."
9+
default = "apps"
1010
}
1111

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

kind/cluster/configuration.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module "configuration" {
22
source = "../../common/configuration"
33

44
configuration = var.configuration
5-
base_key = var.base_key
5+
base_key = var.configuration_base_key
66
}
77

88
locals {

kind/cluster/variables.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ variable "configuration" {
33
description = "Map with per workspace cluster configuration."
44
}
55

6-
variable "manifest_path" {
6+
variable "configuration_base_key" {
77
type = string
8-
description = "Path to Kustomize overlay to build."
9-
default = null
8+
description = "The key in the configuration map all other keys inherit from."
9+
default = "apps"
1010
}
1111

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

0 commit comments

Comments
 (0)