feat(Loadbalancer): Min/Max acceptance tests (#796)

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
This commit is contained in:
Alexander Dahmen 2025-04-30 13:54:48 +02:00 committed by GitHub
parent 89fa6e5777
commit 5c8729fc1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 445 additions and 262 deletions

View file

@ -318,7 +318,7 @@ The example below creates the supporting infrastructure using the STACKIT Terraf
},
"external_address": schema.StringAttribute{
Description: descriptions["external_address"],
Optional: true,
Required: true,
PlanModifiers: []planmodifier.String{
stringplanmodifier.RequiresReplace(),
},
@ -345,8 +345,7 @@ The example below creates the supporting infrastructure using the STACKIT Terraf
},
"port": schema.Int64Attribute{
Description: descriptions["port"],
Optional: true,
Computed: true,
Required: true,
PlanModifiers: []planmodifier.Int64{
int64planmodifier.RequiresReplace(),
int64planmodifier.UseStateForUnknown(),
@ -354,8 +353,7 @@ The example below creates the supporting infrastructure using the STACKIT Terraf
},
"protocol": schema.StringAttribute{
Description: descriptions["protocol"],
Optional: true,
Computed: true,
Required: true,
PlanModifiers: []planmodifier.String{
stringplanmodifier.RequiresReplace(),
stringplanmodifier.UseStateForUnknown(),
@ -378,8 +376,7 @@ The example below creates the supporting infrastructure using the STACKIT Terraf
},
"target_pool": schema.StringAttribute{
Description: descriptions["target_pool"],
Optional: true,
Computed: true,
Required: true,
PlanModifiers: []planmodifier.String{
stringplanmodifier.RequiresReplace(),
stringplanmodifier.UseStateForUnknown(),
@ -424,8 +421,7 @@ The example below creates the supporting infrastructure using the STACKIT Terraf
},
"role": schema.StringAttribute{
Description: descriptions["role"],
Optional: true,
Computed: true,
Required: true,
PlanModifiers: []planmodifier.String{
stringplanmodifier.RequiresReplace(),
stringplanmodifier.UseStateForUnknown(),