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

@ -70,6 +70,7 @@ resource "stackit_server" "boot-from-image" {
resource "stackit_loadbalancer" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example-load-balancer"
plan_id = "p10"
target_pools = [
{
name = "example-target-pool"
@ -125,6 +126,7 @@ resource "stackit_loadbalancer" "example" {
- `external_address` (String) External Load Balancer IP address where this Load Balancer is exposed.
- `options` (Attributes) Defines any optional functionality you want to have enabled on your load balancer. (see [below for nested schema](#nestedatt--options))
- `plan_id` (String) The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`.
- `region` (String) The resource region. If not defined, the provider region is used.
### Read-Only