Skip to content

Commit

Permalink
Manage Floaty credentials in Terraform via vshn-lbaas-exoscale v6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
simu committed Feb 15, 2024
1 parent 65cb65d commit 8271bb5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
16 changes: 7 additions & 9 deletions lb.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "lb" {
source = "git::https://github.com/appuio/terraform-modules.git//modules/vshn-lbaas-exoscale?ref=v5.2.0"
source = "git::https://github.com/appuio/terraform-modules.git//modules/vshn-lbaas-exoscale?ref=v6.0.0"

exoscale_domain_name = exoscale_domain.cluster.name
cluster_network = {
Expand All @@ -14,14 +14,12 @@ module "lb" {
control_vshn_net_token = var.control_vshn_net_token
team = var.team

api_backends = exoscale_domain_record.etcd[*].hostname
router_backends = module.infra.ip_address[*]
bootstrap_node = var.bootstrap_count > 0 ? module.bootstrap.ip_address[0] : ""
lb_exoscale_api_key = var.lb_exoscale_api_key
lb_exoscale_api_secret = var.lb_exoscale_api_secret
hieradata_repo_user = var.hieradata_repo_user
enable_proxy_protocol = var.lb_enable_proxy_protocol
additional_networks = var.additional_lb_networks
api_backends = exoscale_domain_record.etcd[*].hostname
router_backends = module.infra.ip_address[*]
bootstrap_node = var.bootstrap_count > 0 ? module.bootstrap.ip_address[0] : ""
hieradata_repo_user = var.hieradata_repo_user
enable_proxy_protocol = var.lb_enable_proxy_protocol
additional_networks = var.additional_lb_networks

cluster_security_group_ids = [
exoscale_security_group.all_machines.id
Expand Down
7 changes: 0 additions & 7 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,6 @@ variable "ignition_ca" {
type = string
}

variable "lb_exoscale_api_key" {
type = string
}
variable "lb_exoscale_api_secret" {
type = string
}

variable "bootstrap_bucket" {
type = string
}
Expand Down

0 comments on commit 8271bb5

Please sign in to comment.