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:
parent
3255f1e28d
commit
ab232d6cb7
8 changed files with 174 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue