Skip to content

Commit

Permalink
Merge pull request #52 from equinix-labs/fix_linting_errors
Browse files Browse the repository at this point in the history
add empty lines between generated resources
  • Loading branch information
ocobles authored Feb 7, 2023
2 parents 3561186 + f313407 commit 73bf908
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ module "metallb" {
addon_config = var.metallb_config
addon_context = local.addon_context
}

module "longhorn" {
count = var.enable_longhorn ? 1 : 0
source = "./modules/longhorn"
longhorn_config = var.longhorn_config
}

module "rook" {
count = var.enable_rook ? 1 : 0
source = "./modules/rook"
Expand Down
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ output "cloud_provider_equinix_metal_prerequisites" {
}

output "portworx" {
value = module.portworx
description = "Portworx add-on outputs"
value = module.portworx
}
2 changes: 2 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ variable "enable_longhorn" {
description = "Enable Longhorn add-on"
default = false
}

variable "longhorn_config" {
type = any
description = "Configuration for Longhorn add-on"
Expand Down Expand Up @@ -57,6 +58,7 @@ variable "kubeconfig_remote_path" {
description = "Depending on your setup, you may need to specify the path to the kubeconfig file hosted on the remote server"
default = null
}

variable "kubeconfig_local_path" {
type = string
description = "Depending on your setup, you may need to specify the path to the kubeconfig file locally"
Expand Down

0 comments on commit 73bf908

Please sign in to comment.