Commit graph

438 commits

Author SHA1 Message Date
Rüdiger Schmitz
a2ed2b6068
fix: separated models for resource and data-source (#640) 2025-01-22 14:48:52 +01:00
Marcel Jacek
4d6f860b26
feature: Add "network_interfaces" field to server resource (#628)
* Add network_interfaces field to server resource

* Update docs

* Update description of stackit_server_network_interface_attach

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

---------

Co-authored-by: João Palet <joao.palet@outlook.com>
2025-01-22 11:22:39 +01:00
Rüdiger Schmitz
9b969ae583
fix: add missing status attribute to schema (#639)
* fix: add missing status attribute to schema

* fix: added review suggestion
2025-01-22 11:01:24 +01:00
Lukas Hoehl
a1e7890d86
fix(postgresflex): continue if database is not found during read (#629)
Signed-off-by: Lukas Hoehl <lukas.hoehl@stackit.cloud>
2025-01-21 12:41:44 +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
Alexander Dahmen
3adff492b6
Update kubeconfig when invalid (#627)
- kubeconfig expires
- credentials rotation
- cluster recreation

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
2025-01-20 14:18:49 +01:00
João Palet
1a66887c01
feat: Allow move state on new Observability resources (#593)
* feat: Allow move state on new Observability resources

* Extend description to explain how to move a argus resource to observability

* Update argus docs with examples how to move a resource to observability

---------

Co-authored-by: Marcel Jacek <Marcel.Jacek@stackit.cloud>
2025-01-20 09:54:30 +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
Rüdiger Schmitz
b2a9f0921e
feat: support and document attaching a debugger to the provider (#617)
* feat: support and document attaching a debugger to the provider

* chore: fix documentation
2025-01-16 09:34:58 +01:00
Rüdiger Schmitz
f04ced9981
feat: Allow managing server state in stackit_server resource (#623)
* feat: implement state switching in resource

* chore: fix linter issues

* feat: fix testcases

* chore: update documentation

* feat: replace backoff implementation with canonical wait functionality

* feat: refactor update method to correctly handle state changes of shelved servers

* chore: reverted documentation changes

* feat: updated server documentation

* feat: configured desired_state as "write-only" attribute

* feat: update to command help
2025-01-15 11:28: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
Vicente Pinto
80966da59e
Fix guide formatting (#624)
* Fix guide formatting

* Fix template
2025-01-10 13:08:37 +00:00
João Palet
700bdc90d0
Implement new stackit_image resource and datasource (#609)
* feat: Implement image resource and datasource

* feat: Add remaining config options

* feat: Make protected field only computed

* feat: Update dependency to use IaaS beta API

* fix: Minor fix in acc test

---------

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>
2025-01-09 11:57:25 +00: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
Vicente Pinto
80c9e58052
Update nic field description (#619) 2024-12-23 12:35:02 +00: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
Rüdiger Schmitz
a297043c72
Feat/674070 tfp | cleanup logic for old ske credentials rotation flow (#611)
* feat: removed deprecated getCredentials call

* feat: update generated documentation

* feature: removed further kube_config references

* feature: updated documentation

* chore: integrated review findings
2024-12-19 08:30:34 +01: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
Rüdiger Schmitz
54b997f07e
chore: provide terraform binary to pipeline (#615)
* chore: pull terraform binary explicitly

* chore: use unzip instead of not available bsdtar

* chore: reuse existing terraform from path

* chore: use github action to install terraform in pipeline

* chore: removed explicit terraform version
2024-12-18 11:31:24 +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
Marcel
d7e4ab2adb
Deprecate service_account_email config (#610)
* Deprecate service_account_email config
 - it could be extracted from the JWT if needed

Co-authored-by: João Palet <joao.palet@outlook.com>
2024-12-13 10:42:17 +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
João Palet
51485f8c0e
Fix inconsistent result after apply in SKE cluster node pool taint value (#606)
* fix: Inconsistent result after apply in taint value

* feat: Also add UseStateForUnknown
2024-12-03 11:35:08 +00:00
Alexander Dahmen
58e99b4d67
Update loadbalancer example to use stackit sources instead of openstack (#601)
Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
2024-12-02 13:52:12 +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
Alexander Dahmen
3a378c7b38 feat: Update golangci-lint version to 1.62.0 and go version to 1.23
Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
2024-11-26 15:25:49 +01:00
GokceGK
1051995ad6
Change the public ip resource conflict warning message order (#600)
* change the warning message order

* change the warning message

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

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

* adapt warning in schema and docs

---------

Co-authored-by: João Palet <joao.palet@outlook.com>
2024-11-25 11:41:12 +01:00
GokceGK
2a2d62a429
Onboard public_ip_associate resource (#582)
* onboard public_ip_associate resource

* add warnings

* add example

* edit warning message

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* add requiresReplace in network_interface_id

* change function name to toCreatePayload

* change deletion of the public ip association

* add unit test

* Add missing space between sentences

* update conflict warning message

* update conflict warning message

* Adjust warning message

---------

Co-authored-by: João Palet <joao.palet@outlook.com>
Co-authored-by: João Palet <joao.palet@freiheit.com>
2024-11-22 10:14:44 +00:00
GokceGK
7b693acc2d
Add missing fields to datasource (#596)
* add missing fields to datasource

* split resource and datasource models
2024-11-22 08:25:17 +00: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
GokceGK
b1fb9ab9b6
Extend network resource fields (#576)
* deprecate nameservers filed

* onboard routed field

* onboard new ipv4 fields

* onboard new ipv6 fields

* update examples

* update examples

* update examples

* remove nameserver(deprecated) mapping

* make fields computed

* Revert "remove nameserver(deprecated) mapping"

This reverts commit e4bf1dc184289f3bddc10c5d3b2320966b529649.

* remove routed from update payload (not yet supported)

* Update docs/resources/network.md

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

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

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

* fix the field descriptions

* remove ipv6 from examples

* use nameservers as rollback value to support deprecated field

* extend acceptance tests

* add condition that nameserver and ipv4_nameserver cannot be provided at the same time

* extend acc test

* improve conditions in create payload

* adapt modify plan to support update and delete operations

* fix acceptance test

* deprecate prefixes and create ipv4_prefixes field

* fix unit tests

* fix update issues

* fix linter issues

* extend modifyPlan condition

* add validateConfig function

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

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

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

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

* update descriptions

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

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

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

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

* implement no_gateway field and condition check

* implement no_ipv6_gateway field and condition check

* update examples

* update examples and descriptions

* fix linter issues

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

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

* adapt descriptions

* apply acceptance comments

* adapt conditions in create and update

* add plan modifiers

* add requiresReplace

---------

Co-authored-by: João Palet <joao.palet@outlook.com>
2024-11-19 15:25:56 +01:00
Mauritz Uphoff
3ac1d50253
Feature: allow system components on nodepools (#591)
* feat: allow system components on nodepools

* docs: generated docs for ske

* lint: sort imports

* revert changes
2024-11-13 10:44:55 +00:00
Mauritz Uphoff
2bf6a8dce7
Docs: add docs to use aws s3 provider for stackit s3 (#583)
* docs: add docs to use aws s3 provider for stackit s3

* review changes

* fix indent
2024-11-13 08:26:50 +00:00
Melvin
398470a33c
chore(deps): update renovatebot/github-action action to v41 (#586) 2024-11-13 08:25:14 +00:00
João Palet
ea2da2cc25
fix: Fix formatting of key pair example (#592) 2024-11-12 17:45:43 +01:00
João Palet
0e393c5f38
Allow updating labels in network area route resource (#590)
* feat: Allow updating labels in network area route resource

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

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

---------

Co-authored-by: GokceGK <161626272+GokceGK@users.noreply.github.com>
2024-11-12 09:58:41 +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
fc27f65925
fix: Make SKE cluster hibernations timezone field Computed (#584) 2024-11-08 14:46:25 +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
João Palet
c1ada319ce
fix: Fix network interface handling of allowed addresses and security… (#579)
* fix: Fix network interface handling of allowed addresses and security fields

* fix: Simplify toCreatePayload
2024-11-04 13:27:24 +00:00
Mauritz Uphoff
f1a6179ccf
Typo in the docs for iaas beta ressources (#573)
* docs: add guide to retrieve outgoing ske ip-address

* docs: fix volume attach example

* Revert "docs: add guide to retrieve outgoing ske ip-address (#476)"

This reverts commit 3c530797b4.

---------

Co-authored-by: Mauritz Uphoff <mauritz.uphoff@mail.schwarz>
2024-10-24 09:31:06 +01:00