Skip to content

Commit 7beb13e

Browse files
Merge remote-tracking branch 'upstream/main'
2 parents 7fd2b9f + 5eec4cd commit 7beb13e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+1531
-601
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343

4444
- name: Archive code coverage results
45-
uses: actions/upload-artifact@v6
45+
uses: actions/upload-artifact@v7
4646
with:
4747
name: ${{ env.CODE_COVERAGE_ARTIFACT_NAME }}
4848
path: "stackit/${{ env.CODE_COVERAGE_FILE_NAME }}"

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
go-version-file: "go.mod"
2828
cache: true
2929
- name: Import GPG key
30-
uses: crazy-max/ghaction-import-gpg@v6
30+
uses: crazy-max/ghaction-import-gpg@v7
3131
id: import_gpg
3232
with:
3333
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}

docs/data-sources/network.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ data "stackit_network" "example" {
4747
- `ipv6_prefixes` (List of String) The IPv6 prefixes of the network.
4848
- `labels` (Map of String) Labels are key-value string pairs which can be attached to a resource container
4949
- `name` (String) The name of the network.
50-
- `nameservers` (List of String, Deprecated) The nameservers of the network. This field is deprecated and will be removed soon, use `ipv4_nameservers` to configure the nameservers for IPv4.
51-
- `prefixes` (List of String, Deprecated) The prefixes of the network. This field is deprecated and will be removed soon, use `ipv4_prefixes` to read the prefixes of the IPv4 networks.
5250
- `public_ip` (String) The public IP of the network.
5351
- `routed` (Boolean) Shows if the network is routed and therefore accessible from other networks.
5452
- `routing_table_id` (String) The ID of the routing table associated with the network.

docs/data-sources/ske_cluster.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,17 @@ Read-Only:
117117

118118
Read-Only:
119119

120+
- `control_plane` (Attributes) Control plane for the cluster. (see [below for nested schema](#nestedatt--network--control_plane))
120121
- `id` (String) ID of the STACKIT Network Area (SNA) network into which the cluster will be deployed.
121122

123+
<a id="nestedatt--network--control_plane"></a>
124+
### Nested Schema for `network.control_plane`
125+
126+
Read-Only:
127+
128+
- `access_scope` (String) Access scope of the control plane. It defines if the Kubernetes control plane is public or only available inside a STACKIT Network Area.Possible values are: `PUBLIC`, `SNA`. The field is immutable!
129+
130+
122131

123132
<a id="nestedatt--node_pools"></a>
124133
### Nested Schema for `node_pools`

docs/resources/network.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ page_title: "stackit_network Resource - stackit"
44
subcategory: ""
55
description: |-
66
Network resource schema. Must have a region specified in the provider configuration.
7-
~> Behavior of not configured ipv4_nameservers will change from January 2026. When ipv4_nameservers is not set, it will be set to the network area's default_nameservers.
7+
~> Behavior of not configured ipv4_nameservers has changed. When ipv4_nameservers is not set, it will be set to the network area's default_nameservers.
88
To prevent any nameserver configuration, the ipv4_nameservers attribute should be explicitly set to an empty list [].
99
In cases where ipv4_nameservers are defined within the resource, the existing behavior will remain unchanged.
1010
---
1111

1212
# stackit_network (Resource)
1313

1414
Network resource schema. Must have a `region` specified in the provider configuration.
15-
~> Behavior of not configured `ipv4_nameservers` will change from January 2026. When `ipv4_nameservers` is not set, it will be set to the network area's `default_nameservers`.
15+
~> Behavior of not configured `ipv4_nameservers` has changed. When `ipv4_nameservers` is not set, it will be set to the network area's `default_nameservers`.
1616
To prevent any nameserver configuration, the `ipv4_nameservers` attribute should be explicitly set to an empty list `[]`.
1717
In cases where `ipv4_nameservers` are defined within the resource, the existing behavior will remain unchanged.
1818

@@ -66,15 +66,14 @@ import {
6666

6767
- `dhcp` (Boolean) If the network has DHCP enabled. Default value is `true`.
6868
- `ipv4_gateway` (String) The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
69-
- `ipv4_nameservers` (List of String) The IPv4 nameservers of the network.
69+
- `ipv4_nameservers` (List of String) The IPv4 nameservers of the network. If not specified on creation, it will be set with the default nameservers from the network area. If not specified on update, it will remain unchanged.
7070
- `ipv4_prefix` (String) The IPv4 prefix of the network (CIDR).
7171
- `ipv4_prefix_length` (Number) The IPv4 prefix length of the network.
7272
- `ipv6_gateway` (String) The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
7373
- `ipv6_nameservers` (List of String) The IPv6 nameservers of the network.
7474
- `ipv6_prefix` (String) The IPv6 prefix of the network (CIDR).
7575
- `ipv6_prefix_length` (Number) The IPv6 prefix length of the network.
7676
- `labels` (Map of String) Labels are key-value string pairs which can be attached to a resource container
77-
- `nameservers` (List of String, Deprecated) The nameservers of the network. This field is deprecated and will be removed in January 2026, use `ipv4_nameservers` to configure the nameservers for IPv4.
7877
- `no_ipv4_gateway` (Boolean) If set to `true`, the network doesn't have a gateway.
7978
- `no_ipv6_gateway` (Boolean) If set to `true`, the network doesn't have a gateway.
8079
- `region` (String) The resource region. If not defined, the provider region is used.
@@ -87,5 +86,4 @@ import {
8786
- `ipv4_prefixes` (List of String) The IPv4 prefixes of the network.
8887
- `ipv6_prefixes` (List of String) The IPv6 prefixes of the network.
8988
- `network_id` (String) The network ID.
90-
- `prefixes` (List of String, Deprecated) The prefixes of the network. This field is deprecated and will be removed in January 2026, use `ipv4_prefixes` to read the prefixes of the IPv4 networks.
9189
- `public_ip` (String) The public IP of the network.

docs/resources/ske_cluster.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ resource "stackit_ske_cluster" "example" {
3939
start = "01:00:00Z"
4040
end = "02:00:00Z"
4141
}
42+
network = {
43+
control_plane = {
44+
access_scope = "PUBLIC"
45+
}
46+
}
4247
}
4348
4449
# Only use the import statement, if you want to import an existing ske cluster
@@ -204,4 +209,12 @@ Optional:
204209

205210
Optional:
206211

212+
- `control_plane` (Attributes) Control plane for the cluster. (see [below for nested schema](#nestedatt--network--control_plane))
207213
- `id` (String) ID of the STACKIT Network Area (SNA) network into which the cluster will be deployed.
214+
215+
<a id="nestedatt--network--control_plane"></a>
216+
### Nested Schema for `network.control_plane`
217+
218+
Optional:
219+
220+
- `access_scope` (String) Access scope of the control plane. It defines if the Kubernetes control plane is public or only available inside a STACKIT Network Area.Possible values are: `PUBLIC`, `SNA`. The field is immutable!

examples/resources/stackit_ske_cluster/resource.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ resource "stackit_ske_cluster" "example" {
2121
start = "01:00:00Z"
2222
end = "02:00:00Z"
2323
}
24+
network = {
25+
control_plane = {
26+
access_scope = "PUBLIC"
27+
}
28+
}
2429
}
2530

2631
# Only use the import statement, if you want to import an existing ske cluster

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ 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.17.0
9+
github.com/hashicorp/terraform-plugin-framework v1.18.0
1010
github.com/hashicorp/terraform-plugin-framework-validators v0.19.0
1111
github.com/hashicorp/terraform-plugin-go v0.30.0
1212
github.com/hashicorp/terraform-plugin-log v0.10.0
@@ -22,7 +22,7 @@ require (
2222
github.com/stackitcloud/stackit-sdk-go/services/kms v1.3.2
2323
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.8.0
2424
github.com/stackitcloud/stackit-sdk-go/services/logme v0.25.6
25-
github.com/stackitcloud/stackit-sdk-go/services/logs v0.5.2
25+
github.com/stackitcloud/stackit-sdk-go/services/logs v0.6.0
2626
github.com/stackitcloud/stackit-sdk-go/services/mariadb v0.25.6
2727
github.com/stackitcloud/stackit-sdk-go/services/modelserving v0.6.5
2828
github.com/stackitcloud/stackit-sdk-go/services/mongodbflex v1.5.8
@@ -32,7 +32,7 @@ require (
3232
github.com/stackitcloud/stackit-sdk-go/services/postgresflex v1.3.5
3333
github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v0.26.0
3434
github.com/stackitcloud/stackit-sdk-go/services/redis v0.25.6
35-
github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.18.5
35+
github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.19.0
3636
github.com/stackitcloud/stackit-sdk-go/services/scf v0.4.3
3737
github.com/stackitcloud/stackit-sdk-go/services/secretsmanager v0.14.3
3838
github.com/stackitcloud/stackit-sdk-go/services/serverbackup v1.3.8

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ github.com/hashicorp/terraform-exec v0.24.0 h1:mL0xlk9H5g2bn0pPF6JQZk5YlByqSqrO5
8989
github.com/hashicorp/terraform-exec v0.24.0/go.mod h1:lluc/rDYfAhYdslLJQg3J0oDqo88oGQAdHR+wDqFvo4=
9090
github.com/hashicorp/terraform-json v0.27.2 h1:BwGuzM6iUPqf9JYM/Z4AF1OJ5VVJEEzoKST/tRDBJKU=
9191
github.com/hashicorp/terraform-json v0.27.2/go.mod h1:GzPLJ1PLdUG5xL6xn1OXWIjteQRT2CNT9o/6A9mi9hE=
92-
github.com/hashicorp/terraform-plugin-framework v1.17.0 h1:JdX50CFrYcYFY31gkmitAEAzLKoBgsK+iaJjDC8OexY=
93-
github.com/hashicorp/terraform-plugin-framework v1.17.0/go.mod h1:4OUXKdHNosX+ys6rLgVlgklfxN3WHR5VHSOABeS/BM0=
92+
github.com/hashicorp/terraform-plugin-framework v1.18.0 h1:Xy6OfqSTZfAAKXSlJ810lYvuQvYkOpSUoNMQ9l2L1RA=
93+
github.com/hashicorp/terraform-plugin-framework v1.18.0/go.mod h1:eeFIf68PME+kenJeqSrIcpHhYQK0TOyv7ocKdN4Z35E=
9494
github.com/hashicorp/terraform-plugin-framework-validators v0.19.0 h1:Zz3iGgzxe/1XBkooZCewS0nJAaCFPFPHdNJd8FgE4Ow=
9595
github.com/hashicorp/terraform-plugin-framework-validators v0.19.0/go.mod h1:GBKTNGbGVJohU03dZ7U8wHqc2zYnMUawgCN+gC0itLc=
9696
github.com/hashicorp/terraform-plugin-go v0.30.0 h1:VmEiD0n/ewxbvV5VI/bYwNtlSEAXtHaZlSnyUUuQK6k=
@@ -175,8 +175,8 @@ github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.8.0 h1:DxrN85V73
175175
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.8.0/go.mod h1:ClPE4TOM1FeaJiwTXvApq4gWaSgTLq6nU3PPHAIQDN4=
176176
github.com/stackitcloud/stackit-sdk-go/services/logme v0.25.6 h1:4x30lC+YBmo7XpsAzTn0W+C/oP5flnLVgIh5u3O/P0o=
177177
github.com/stackitcloud/stackit-sdk-go/services/logme v0.25.6/go.mod h1:ewaYUiZcBTSS6urE5zEJBPCqxu70w2IjnBHCvnKdFKE=
178-
github.com/stackitcloud/stackit-sdk-go/services/logs v0.5.2 h1:vr4atxFRT+EL+DqONMT5R44f7AzEMbePa9U7PEE0THU=
179-
github.com/stackitcloud/stackit-sdk-go/services/logs v0.5.2/go.mod h1:CAPsiTX7osAImfrG5RnIjaJ/Iz3QpoBKuH2fS346wuQ=
178+
github.com/stackitcloud/stackit-sdk-go/services/logs v0.6.0 h1:+DD31EGej4/dOKHVNwvPJN4Fc6FaDJ9b3zCkI6T0Dxs=
179+
github.com/stackitcloud/stackit-sdk-go/services/logs v0.6.0/go.mod h1:R+ct2jIl0VSwZJ5NF4wbh3IFr5AvdcHmQaytksDHu2I=
180180
github.com/stackitcloud/stackit-sdk-go/services/mariadb v0.25.6 h1:Y/byRjX2u/OZl0gKS/Rau6ob2bDyv26xnw6A6JNkKJk=
181181
github.com/stackitcloud/stackit-sdk-go/services/mariadb v0.25.6/go.mod h1:sY66ZgCgBc1mScPV95ek5WtUEGYizdP1RMsGaqbdbhw=
182182
github.com/stackitcloud/stackit-sdk-go/services/modelserving v0.6.5 h1:nT/H4WvYaMKWtoE1QtXGuKjlmh7FW+efG3xElRsJhsI=
@@ -195,8 +195,8 @@ github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v0.26.0 h1:/8lmviszgrB+
195195
github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v0.26.0/go.mod h1:hnhvlLX1Y71R8KIQqLBeoSZqkU5ZJOG0J4wz0LeUdaw=
196196
github.com/stackitcloud/stackit-sdk-go/services/redis v0.25.6 h1:CXM9cZ9WeTyJd+Aw/hnJnDsKRVAQi4qgtd0RJ3zoPwo=
197197
github.com/stackitcloud/stackit-sdk-go/services/redis v0.25.6/go.mod h1:KJNceOHRefjku1oVBoHG7idCS/SeW42WJ+55bN3AxrQ=
198-
github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.18.5 h1:MZ5aTO2NQ1Jecmi67ByGskve5nKXHl91fE+z+vFjxt4=
199-
github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.18.5/go.mod h1:CJLmdqWvJm5/3+lXPDKu8k4WXs2UG8euGoqQX5xE79k=
198+
github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.19.0 h1:OcjYHjTsKLlOz8GF2owYdJK0cUqGGzjHRQLYUH0vMnQ=
199+
github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.19.0/go.mod h1:jiPIzF8lcm5Dx0TkDK2CBgeRBHSRUqwyX+z/zqo1bes=
200200
github.com/stackitcloud/stackit-sdk-go/services/scf v0.4.3 h1:ZM3V8ON60jbQuSQsXP+7pdw7uleGfNYrM2dc/mNob9Y=
201201
github.com/stackitcloud/stackit-sdk-go/services/scf v0.4.3/go.mod h1:VYD+ErIhDLulexh3vpDTRhPTYQVoVfyW8DPD79Q8I+s=
202202
github.com/stackitcloud/stackit-sdk-go/services/secretsmanager v0.14.3 h1:3hZSg3z+4AXa5LbR2Vl38VmSA83ABItE63E53LuyWv8=

golang-ci.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,8 @@ linters:
9393
- unparam # false positives
9494
issues:
9595
exclude-use-default: false
96+
# disable deprecation errors while we switch over to the SDK structure with multi API version support
97+
exclude-rules:
98+
- linters:
99+
- staticcheck
100+
text: "SA1019:"

0 commit comments

Comments
 (0)