Commit graph

213 commits

Author SHA1 Message Date
stackit-pipeline
8b072e213c
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/core to v0.17.1 (#775)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-04-10 07:34:14 +02:00
stackit-pipeline
79d7b8075d
fix(deps): update stackit sdk modules (#763)
* fix(deps): update stackit sdk modules

* chore: corrected constants deprecations

---------

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Rüdiger Schmitz <152157960+bahkauv70@users.noreply.github.com>
2025-04-04 11:22:41 +02:00
stackit-pipeline
68605af573
fix(deps): update module github.com/hashicorp/terraform-plugin-testing to v1.12.0 (#724)
* fix(deps): update module github.com/hashicorp/terraform-plugin-testing to v1.12.0

* fix: removed toolchain option that confuses snyk

---------

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Rüdiger Schmitz <152157960+bahkauv70@users.noreply.github.com>
2025-04-02 09:37:10 +00:00
stackit-pipeline
3c3fcfd8ce
fix(deps): update stackit sdk modules (#727)
* fix(deps): update stackit sdk modules

* fix(authorization): adjustments related to sdk version bump

---------

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Ruben Hoenle <Ruben.Hoenle@stackit.cloud>
2025-04-01 16:41:12 +02:00
Marcel Jacek
862db91f84
feat: region adjustment serverupdate (#742) 2025-03-31 09:56:54 +02:00
Patrick Koss
435de4c9eb
feat: add model serving resource
* add model serving

* add right provider config

* rename model_serving to modelserving

* add model serving custom endpoint everywhere

* rename file

* add default region, docs for model serving

* add right order of wait handler

* rotate after to token

* fixes

* add initial doc files

* address code comments

* refactor region description

* remove warning for not found resources

* add service enablement

* address code comments

* address code comments

* fix datasource

* fix acc test

* review changes

* review changes

* review changes

* review changes

* review changes

* review changes

* review changes

* review changes

* review changes

* embed markdown description

* go tidy

---------

Co-authored-by: Mauritz Uphoff <mauritz.uphoff@me.com>
Co-authored-by: Mauritz Uphoff <39736813+h3adex@users.noreply.github.com>
2025-03-28 16:20:25 +01:00
Rüdiger Schmitz
a870b71d0a
Addd regional support for serverbackup resource and data-source (#745)
* feat(serverbackup): add regional support

* fix: corrections for review findings
2025-03-28 09:24:52 +01:00
Ruben Hönle
727d67af01
chore(iaas): move beta resources and datasources to GA (#717)
relates to STACKITTPR-103
2025-03-26 09:23:25 +01:00
Marcel Jacek
176fb8408f
feat: region adjustment for load balancer (#721)
* remove deprecated "credential" resource of loadbalancer

* region adjustment load balancer
- adapted load balancer example
2025-03-25 11:36:26 +01:00
Alexander Dahmen
3dc4fedba1
Ft/region adjustment service enablement (#718)
* feat(serviceenablement): Region adjustment

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>

* chore(ske): Remove deprecated ske project

This resource was removed on October 10th 2024.

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>

---------

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
2025-03-24 14:37:43 +01:00
dependabot[bot]
7d40a590b7
chore(deps): bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 (#735)
Bumps [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v5.2.1...v5.2.2)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-24 09:04:22 +01:00
Alexander Dahmen
6cc1dffc22
feat(postgresql): Region adjustment (#713)
Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
2025-03-21 13:52:10 +01:00
Mauritz Uphoff
23e9a25b4f
feat: add stackit service account creation to tf provider (#708)
* feat: implement service account resource/datasource
2025-03-19 16:51:56 +01:00
Marcel Jacek
81f876adea
feat: region adjustments SQLServerFlex (#707)
* feat: region adjustment sqlserverflex

* adapt acceptance tests

* add region to internal id of sqlserverflex resources to support import of different regions
2025-03-11 08:06:46 +01:00
stackit-pipeline
2cf805176e
fix(deps): update stackit sdk modules (#700)
* fix(deps): update stackit sdk modules

* Exclude serviceenablement

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>

---------

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Alexander Dahmen <alexander.dahmen@inovex.de>
2025-03-03 12:40:33 +01:00
stackit-pipeline
8f9d2e9a30
fix(deps): update stackit sdk modules (#698)
* fix(deps): update stackit sdk modules

* Exclude service enablement

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>

---------

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Alexander Dahmen <alexander.dahmen@inovex.de>
2025-03-03 12:29:59 +01:00
stackit-pipeline
6953724ddd
fix(deps): update module github.com/google/go-cmp to v0.7.0 (#691)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-02-24 09:27:22 +01:00
stackit-pipeline
c7e6b6bdb0
fix(deps): update stackit sdk modules (#692)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-02-24 09:26:28 +01:00
stackit-pipeline
67f5fe37b9
fix(deps): update module github.com/hashicorp/terraform-plugin-framework to v1.14.1 (#687)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-02-21 09:10:29 +01:00
stackit-pipeline
e2995347ec
fix(deps): update module github.com/hashicorp/terraform-plugin-framework-validators to v0.17.0 (#686)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-02-20 08:59:19 +01:00
Rüdiger Schmitz
2923621ab0
Feat/stackittpr 20 region adjustments | tfp (migrate first service to new regions concept) (#664)
* feat: completed bucket and credential group

* feat: fix linter warnings

* feat: updated documentation

* feat: updated to current version of the regional api

* feat: implement review findings

* feat: implement further review findings

* fix: make sure region is stored for the data-source in the state
2025-02-10 14:28:33 +01:00
stackit-pipeline
91f9b16a34
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/serverupdate to v0.4.0 (#669)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-02-06 07:23:57 +01:00
stackit-pipeline
22c0aef1b7
fix(deps): update module golang.org/x/mod to v0.23.0 (#666)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-02-05 08:52:06 +01:00
stackit-pipeline
602bbe1fd3
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/resourcemanager to v0.12.0 (#663)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-02-03 08:03:57 +01:00
stackit-pipeline
0912ca0246
fix(deps): update module github.com/hashicorp/terraform-plugin-go to v0.26.0 (#642)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-01-23 16:39:43 +01:00
stackit-pipeline
4106cf2170
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/ske to v0.21.1 (#643)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-01-23 16:02:18 +01:00
stackit-pipeline
c8d21878ef
fix(deps): update stackit sdk modules (#637)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-01-23 14:03:16 +01:00
dependabot[bot]
1e0f33b759
chore(deps): bump golang.org/x/net from 0.28.0 to 0.33.0 (#636)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.28.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.28.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-21 11:55:21 +01:00
stackit-pipeline
9150b37e70
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/postgresflex to v0.16.1 (#634)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-01-21 11:48:59 +01:00
stackit-pipeline
fc805d8e1d
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/authorization to v0.5.1 (#631)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-01-17 11:23:50 +01:00
stackit-pipeline
e2635b5a64
fix(deps): update stackit sdk modules (#626)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-01-15 08:49:29 +01:00
stackit-pipeline
9658801a4e
fix(deps): update stackit sdk modules (#625)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-01-13 10:27:47 +01:00
stackit-pipeline
7fcebacb21
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/core to v0.15.0 (#620)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-01-06 10:15:28 +00:00
dependabot[bot]
dbd31c5212
chore(deps): bump golang.org/x/crypto from 0.29.0 to 0.31.0 (#612)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.29.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.29.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-02 11:41:05 +01:00
stackit-pipeline
3e94f00daa
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/iaas to v0.19.0 (#618)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-12-23 11:54:49 +00:00
stackit-pipeline
0a456a71b8
fix(deps): update stackit sdk modules (#616)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-12-18 12:56:49 +01:00
stackit-pipeline
5abec12e58
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/iaas to v0.18.0 (#614)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-12-17 08:49:25 +01:00
stackit-pipeline
1537ca7909
fix(deps): update module github.com/hashicorp/terraform-plugin-framework-validators to v0.16.0 (#613)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-12-16 08:57:48 +01:00
a_nackov
100704c0f4
ref 635294: server update schedules (#607)
Signed-off-by: Adrian Nackov <adrian.nackov@mail.schwarz>
2024-12-12 17:20:29 +00:00
stackit-pipeline
1e1507bd96
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/serviceenablement to v0.4.0 (#608)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-12-06 08:08:55 +01:00
Renovate Bot
0b1b13eb80 fix(deps): update module github.com/hashicorp/terraform-plugin-framework-validators to v0.15.0 2024-11-27 10:11:03 +01:00
Renovate Bot
820ce7ed5c fix(deps): update module github.com/hashicorp/terraform-plugin-testing to v1.11.0 2024-11-27 10:10:45 +01:00
Renovate Bot
13217d4f2f fix(deps): update module github.com/hashicorp/terraform-plugin-framework to v1.13.0 2024-11-27 07:20:52 +01:00
Renovate Bot
748bd0a01c fix(deps): update module golang.org/x/mod to v0.22.0 2024-11-27 07:20:10 +01:00
stackit-pipeline
e11be37776
fix(deps): update stackit sdk modules (#597)
* fix(deps): update stackit sdk modules

* changes for the renamed method

---------

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Gökçe Gök Klingel <goekce.goek_klingel@stackit.cloud>
2024-11-21 10:58:53 +01:00
João Palet
b1f928f6be
Implement key pair resource (#588)
* Revert "Revert "Implement key pair resource (#578)" (#581)"

This reverts commit 600847a2ea.

* feat: Update iaas SDK module version; Use beta API in key pair resource
2024-11-11 11:08:05 +00:00
João Palet
600847a2ea
Revert "Implement key pair resource (#578)" (#581)
This reverts commit 153947fd7b.
2024-11-06 14:21:17 +00:00
João Palet
153947fd7b
Implement key pair resource (#578)
* feat: Implement key pair resource

* feat: Implement acceptance test

* fix: Minor fixes to server and public IP resources

* fix: Lint fixes

* fix: Generalize description

* feat: Update examples to read key from file; Add datasource example

* fix: Fix field descriptions

* fix: Fix example

* feat: Add link to key pair resource in server example

* feat: Add links to key pair resource in other examples
2024-11-05 09:50:55 +00:00
stackit-pipeline
42549adf72
fix(deps): update stackit sdk modules (#572)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-10-23 08:58:26 +02:00
Vicente Pinto
93fe2fe89f
IaaS Release (#543)
* IaaS Volume (#541)

* Onboard IaaS Volume

* Labels mapping

* Add acceptance test

* Remove source field

* Fix lint

* Add examples and docs

* Fix lint

* Fix lint

* Fix lint

* Volume source field (#542)

* Onboard IaaS Volume

* Labels mapping

* Add acceptance test

* Remove source field

* Fix lint

* Add examples and docs

* Fix lint

* Fix lint

* Fix lint

* Add source field supoort

* Fix labels and source mapping

* Remove unecessary source mapping

* Move methods to conversion pkg

* Revert change

* Update stackit/internal/services/iaas/volume/datasource.go

Co-authored-by: João Palet <joao.palet@outlook.com>

* Update stackit/internal/services/iaas/volume/resource.go

Co-authored-by: João Palet <joao.palet@outlook.com>

* Update stackit/internal/services/iaas/volume/resource.go

Co-authored-by: João Palet <joao.palet@outlook.com>

* Update stackit/internal/services/iaas/volume/resource.go

Co-authored-by: João Palet <joao.palet@outlook.com>

* Changes after review

* Change after revie

---------

Co-authored-by: João Palet <joao.palet@outlook.com>

* Onboard IaaS security groups (#545)

* onboard iaas security group

* add examples and generate docs

* fix linter issues

* fix deletion

* Update stackit/internal/services/iaas/securitygroup/resource.go

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* rename data source example file

* update docs

* remove field

* remove field

* remove plan modifier from the name field

* refactor labels in mapFields

* change function from utils to conversion

* remove rules from the security group

* update docs

* add security group acceptance test

* add plan modifiers to stateful field

* sort imports

* change stateful description

---------

Co-authored-by: Gökçe Gök Klingel <goekce.goek_klingel@stackit.cloud>
Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* IaaS Server baseline configuration (#546)

* Server resource schema

* Implemente CRUD methods and unit testsg

* Bug fixes

* Bug fix

* Make variable private

* Remove delete_on_termination and update descriptions

* Add security_group field to initial networking

* Add examples and acc test

* Generate docs

* Fix lint

* Fix lint issue

* Fix unit test

* Update desc

* Gen docs

* Onboard IaaS network interface (#544)

* implement network interface

* handle labels

* add CIDR validation

* fix linter issues and generate docs

* remove computed from the allowed addresses and fix the conditions

* Update stackit/internal/services/iaas/networkinterface/resource.go

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* Update stackit/internal/services/iaas/networkinterface/datasource.go

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* apply code review changes

* remove status from schema

* remove unnecessary GET call

* Update stackit/internal/services/iaas/networkinterface/resource.go

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* Update stackit/internal/services/iaas/networkinterface/resource.go

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* rename nic_security to security

* add beta markdown description

* use existing validateIP function

* use utils function for the options listing

* refactor labels

* change function from utils to conversion

* make allowed addresses a list of strings

* add acceptance test for network interfaces

* fix acceptance test

* rename security_groups as security_group_ids

* extend descriptions

* fix acc test

---------

Co-authored-by: Gökçe Gök Klingel <goekce.goek_klingel@stackit.cloud>
Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* rename volume data source example (#552)

Co-authored-by: Gökçe Gök Klingel <goekce.goek_klingel@stackit.cloud>

* add requires replace to ipv4 and ipv6 fields (#549)

Co-authored-by: Gökçe Gök Klingel <goekce.goek_klingel@stackit.cloud>
Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* Server resource improvements (#548)

* Improvements to server resource

* Fix example

* Remove useStateForUnknown

* Update SDK modules

* Update iaasalpha moduel (#555)

* Remove initial networking field (#556)

* Server attachment resources (#557)

* Server attachemnt resources

* Add examples

* Update volume datasource example

* Fix linting issues

* Fix linting

* Fix examples formatting

* Update go.mod

* Revert iaas to v0.11

* Onboard iaas public ip (#551)

* onboard public ip

* onboard public ip

* add public ip acceptance test

* Update examples/data-sources/stackit_public_ip/data-source.tf

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* add plan modifier to IP

* change type in the volume data source

* add network_interface field to public ip resource

* rename network_interface to network_interface_id

* remove obsolete checks

* extend unit tests

* add network_interface_id in example

* extend unit test

* extend acceptance test

* sort imports

---------

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* Add labels to network, network are and network area route resources (#559)

* Fix network_interface example

* Extend network, network area and network area route with labels

* Revert iaas to v0.11.0

---------

Co-authored-by: GokceGK <161626272+GokceGK@users.noreply.github.com>

* Onboard iaas security group rule (#553)

* onboard security group rule

* add security group rule to acceptance test

* change type in examples

* fix acc test issues

* extend example with objects

* remove obsolete field from acceptance test

* remove unnecessary plan modifier

* adapt schema fields

* adapt schema fields

* add requires replace to all fields

* extend descriptions with protocol limitations

* rename subfield protocol to number

* add requires replace to objects

* make icmp_parameters fields required

* add empty field checks for nested objects

* make max and min fields required in the port_range object

* make number field computed in the protocol object

* add UseStateForUnknown in protocol number

* remove obsolete unit test

* add checks for empty protocol and adapt unit test

* add atLeastOneOf validation in protocol fields

* fix linter issues

* Add project existence check before deleting SNA (#561)

* add project list check and error in network area deletion

* Update stackit/internal/services/iaas/networkarea/resource.go

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

---------

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* Example server use cases and other fixes (#560)

* Add example usage to server resource

* Update examples

* Fix beta warning

* Update docs and examples

* Remove size from example

* Fix server description, fix security group rule error message

* Other fixes

* remove field from datasource

---------

Co-authored-by: GokceGK <161626272+GokceGK@users.noreply.github.com>

* Security group rule fixes (#562)

* Add example usage to server resource

* Update examples

* Fix beta warning

* Update docs and examples

* Remove size from example

* Fix server description, fix security group rule error message

* Other fixes

* Fixes to sec group rule

* Fix lint

* Change after review

---------

Co-authored-by: GokceGK <161626272+GokceGK@users.noreply.github.com>

* Fix server example (#565)

* Fix server example

* Fixes to examples, add CIDR validation to nic

* Migrate iaasalpha to iaas (#568)

* Migrate iaasalpha to iaas

* Fix lint

* Update example

* Improvements to security group rule (#569)

* Improvements to security group rule

* Fix lint

* Fix example and remove computed from description

* Fix formatting

* Update description

---------

Co-authored-by: João Palet <joao.palet@outlook.com>
Co-authored-by: GokceGK <161626272+GokceGK@users.noreply.github.com>
Co-authored-by: Gökçe Gök Klingel <goekce.goek_klingel@stackit.cloud>
2024-10-18 16:37:41 +01:00