Skip to content

Commit 81ec910

Browse files
committed
added changes to docs did fmt, generate-docs and linter. Added acc test
2 parents 3b62a40 + 8aa4d29 commit 81ec910

File tree

13 files changed

+211
-90
lines changed

13 files changed

+211
-90
lines changed

docs/data-sources/loadbalancer.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,12 @@ data "stackit_loadbalancer" "example" {
3737
- `external_address` (String) External Load Balancer IP address where this Load Balancer is exposed.
3838
- `id` (String) Terraform's internal resource ID. It is structured as "`project_id`","region","`name`".
3939
- `listeners` (Attributes List) List of all listeners which will accept traffic. Limited to 20. (see [below for nested schema](#nestedatt--listeners))
40+
- `load_balancer_security_group_id` (String) The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT Network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remote_security_group_id` of that rule to this value. This is typically used when `disable_security_group_assignment` is set to `true`.
4041
- `networks` (Attributes List) List of networks that listeners and targets reside in. (see [below for nested schema](#nestedatt--networks))
4142
- `options` (Attributes) Defines any optional functionality you want to have enabled on your load balancer. (see [below for nested schema](#nestedatt--options))
4243
- `plan_id` (String) The service plan ID. If not defined, the default service plan is `p10`. Possible values are: `p10`, `p50`, `p250`, `p750`.
4344
- `private_address` (String) Transient private Load Balancer IP address. It can change any time.
44-
- `security_group_id` (String) The ID of the egress security group assigned to the Load Balancer's internal machines. This ID is essential for allowing traffic from the Load Balancer to targets in different networks or STACKIT Network areas (SNA). To enable this, create a security group rule for your target VMs and set the `remote_security_group_id` of that rule to this value. This is typically used when `disable_security_group_assignment` is set to `true`.
45+
- `security_group_id` (String) The ID of the backend security group
4546
- `target_pools` (Attributes List) List of all target pools which will be used in the Load Balancer. Limited to 20. (see [below for nested schema](#nestedatt--target_pools))
4647

4748
<a id="nestedatt--listeners"></a>

docs/data-sources/observability_instance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ Read-Only:
145145

146146
Read-Only:
147147

148+
- `continue` (Boolean) Whether an alert should continue matching subsequent sibling nodes.
148149
- `group_by` (List of String) The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping.
149150
- `group_interval` (String) How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.)
150151
- `group_wait` (String) How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.)

docs/resources/observability_instance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ Required:
157157

158158
Optional:
159159

160+
- `continue` (Boolean) Whether an alert should continue matching subsequent sibling nodes.
160161
- `group_by` (List of String) The labels by which incoming alerts are grouped together. For example, multiple alerts coming in for cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels use the special value '...' as the sole label name, for example: group_by: ['...']. This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what you want, unless you have a very low alert volume or your upstream notification system performs its own grouping.
161162
- `group_interval` (String) How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.)
162163
- `group_wait` (String) How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.)

go.mod

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
module github.com/stackitcloud/terraform-provider-stackit
22

3-
go 1.24
3+
go 1.24.0
44

55
require (
66
github.com/google/go-cmp v0.7.0
77
github.com/google/uuid v1.6.0
88
github.com/gorilla/mux v1.8.1
9-
github.com/hashicorp/terraform-plugin-framework v1.15.1
9+
github.com/hashicorp/terraform-plugin-framework v1.16.0
1010
github.com/hashicorp/terraform-plugin-framework-validators v0.18.0
11-
github.com/hashicorp/terraform-plugin-go v0.28.0
11+
github.com/hashicorp/terraform-plugin-go v0.29.0
1212
github.com/hashicorp/terraform-plugin-log v0.9.0
1313
github.com/hashicorp/terraform-plugin-testing v1.13.3
1414
github.com/stackitcloud/stackit-sdk-go/core v0.17.3
1515
github.com/stackitcloud/stackit-sdk-go/services/cdn v1.5.0
1616
github.com/stackitcloud/stackit-sdk-go/services/dns v0.17.1
17-
github.com/stackitcloud/stackit-sdk-go/services/git v0.7.1
18-
github.com/stackitcloud/stackit-sdk-go/services/iaas v0.30.0
17+
github.com/stackitcloud/stackit-sdk-go/services/git v0.8.0
18+
github.com/stackitcloud/stackit-sdk-go/services/iaas v0.31.0
1919
github.com/stackitcloud/stackit-sdk-go/services/iaasalpha v0.1.21-alpha
20-
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.5.1
20+
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.6.0
2121
github.com/stackitcloud/stackit-sdk-go/services/logme v0.25.1
2222
github.com/stackitcloud/stackit-sdk-go/services/mariadb v0.25.1
2323
github.com/stackitcloud/stackit-sdk-go/services/modelserving v0.6.0
@@ -37,10 +37,13 @@ require (
3737
github.com/stackitcloud/stackit-sdk-go/services/ske v1.4.0
3838
github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.3.1
3939
github.com/teambition/rrule-go v1.8.2
40-
golang.org/x/mod v0.27.0
40+
golang.org/x/mod v0.28.0
4141
)
4242

43-
require github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
43+
require (
44+
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
45+
golang.org/x/telemetry v0.0.0-20250908211612-aef8a434d053 // indirect
46+
)
4447

4548
require (
4649
github.com/ProtonMail/go-crypto v1.1.6 // indirect
@@ -56,7 +59,7 @@ require (
5659
github.com/hashicorp/go-cty v1.5.0 // indirect
5760
github.com/hashicorp/go-hclog v1.6.3 // indirect
5861
github.com/hashicorp/go-multierror v1.1.1 // indirect
59-
github.com/hashicorp/go-plugin v1.6.3 // indirect
62+
github.com/hashicorp/go-plugin v1.7.0 // indirect
6063
github.com/hashicorp/go-uuid v1.0.3 // indirect
6164
github.com/hashicorp/go-version v1.7.0 // indirect
6265
github.com/hashicorp/hc-install v0.9.2 // indirect
@@ -65,7 +68,7 @@ require (
6568
github.com/hashicorp/terraform-exec v0.23.0 // indirect
6669
github.com/hashicorp/terraform-json v0.25.0 // indirect
6770
github.com/hashicorp/terraform-plugin-sdk/v2 v2.37.0 // indirect
68-
github.com/hashicorp/terraform-registry-address v0.2.5 // indirect
71+
github.com/hashicorp/terraform-registry-address v0.4.0 // indirect
6972
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
7073
github.com/hashicorp/yamux v0.1.2 // indirect
7174
github.com/kr/pretty v0.3.1 // indirect
@@ -79,21 +82,20 @@ require (
7982
github.com/oklog/run v1.1.0 // indirect
8083
github.com/rogpeppe/go-internal v1.13.1 // indirect
8184
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.8.1
82-
github.com/stretchr/testify v1.8.4 // indirect
8385
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
8486
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
8587
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
8688
github.com/zclconf/go-cty v1.16.3 // indirect
87-
golang.org/x/crypto v0.41.0 // indirect
88-
golang.org/x/net v0.43.0 // indirect
89-
golang.org/x/sync v0.16.0 // indirect
90-
golang.org/x/sys v0.35.0 // indirect
91-
golang.org/x/text v0.28.0 // indirect
92-
golang.org/x/tools v0.36.0 // indirect
89+
golang.org/x/crypto v0.42.0 // indirect
90+
golang.org/x/net v0.44.0 // indirect
91+
golang.org/x/sync v0.17.0 // indirect
92+
golang.org/x/sys v0.36.0 // indirect
93+
golang.org/x/text v0.29.0 // indirect
94+
golang.org/x/tools v0.37.0 // indirect
9395
google.golang.org/appengine v1.6.8 // indirect
94-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250603155806-513f23925822 // indirect
95-
google.golang.org/grpc v1.73.0 // indirect
96-
google.golang.org/protobuf v1.36.6 // indirect
96+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250707201910-8d1bb00bc6a7 // indirect
97+
google.golang.org/grpc v1.75.1 // indirect
98+
google.golang.org/protobuf v1.36.9 // indirect
9799
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
98100
)
99101

0 commit comments

Comments
 (0)