feat(loadbalancer): support service plan attribute (#858)

relates to STACKITLB-250

Co-authored-by: Christian Hamm <Christian.Hamm@mail.schwarz>
Co-authored-by: Ruben Hönle <git@hoenle.xyz>
This commit is contained in:
Christian Hamm 2025-07-15 16:09:42 +02:00 committed by GitHub
parent 3255f1e28d
commit ab232d6cb7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 174 additions and 0 deletions

View file

@ -4,6 +4,7 @@ variable "network_name" {}
variable "server_name" {}
variable "loadbalancer_name" {}
variable "plan_id" {}
variable "target_pool_name" {}
variable "target_port" {}
variable "target_display_name" {}
@ -73,6 +74,7 @@ resource "stackit_server" "server" {
resource "stackit_loadbalancer" "loadbalancer" {
project_id = var.project_id
name = var.loadbalancer_name
plan_id = var.plan_id
target_pools = [
{
name = var.target_pool_name