Commit graph

50 commits

Author SHA1 Message Date
581e45eb9c
feat: SQL server beta and templates refactoring (#32)
Some checks failed
Publish / Check GoReleaser config (push) Successful in 5s
Publish / Publish provider (push) Failing after 4m6s
## Description

<!-- **Please link some issue here describing what you are trying to achieve.**

In case there is no issue present for your PR, please consider creating one.
At least please give us some description what you are trying to achieve and why your change is needed. -->

relates to #1234

## Checklist

- [ ] Issue was linked above
- [ ] Code format was applied: `make fmt`
- [ ] Examples were added / adjusted (see `examples/` directory)
- [x] Docs are up-to-date: `make generate-docs` (will be checked by CI)
- [ ] Unit tests got implemented or updated
- [ ] Acceptance tests got implemented or updated (see e.g. [here](f5f99d1709/stackit/internal/services/dns/dns_acc_test.go))
- [x] Unit tests are passing: `make test` (will be checked by CI)
- [x] No linter issues: `make lint` (will be checked by CI)

Reviewed-on: #32
Reviewed-by: Andre_Harms <andre.harms@stackit.cloud>
Co-authored-by: Marcel S. Henselin <marcel.henselin@stackit.cloud>
Co-committed-by: Marcel S. Henselin <marcel.henselin@stackit.cloud>
2026-02-05 09:55:32 +00:00
Marcel S. Henselin
9e04ab2630
Fix: pgsql fix (#10)
* fix: remove license header from files

* fix: updated docs and sample
---------

Co-authored-by: Marcel S. Henselin <marcel.henselin@stackit.cloud>
2025-12-22 09:23:53 +01:00
Marcel S. Henselin
99f2853ae5
Feat: alpha sqlserver user (#12)
* fix: remove unused attribute types and functions from backup models

* fix: update API client references to use sqlserverflexalpha package

* fix: update package references to use sqlserverflexalpha and modify user data source model

* fix: add sqlserverflexalpha user data source to provider

* fix: add sqlserverflexalpha user resource and update related functionality

* chore: add stackit_sqlserverflexalpha_user resource and instance_id variable

* fix: refactor sqlserverflexalpha user resource and enhance schema with status and default_database

* chore: remove not needed service files

* chore: cleanup import in utils

* fix: provider name change

* fix: clone missing doc files

* fix: docs adjustments

* fix: docs CI scripts

* fix: docs naming

* fix: remove guides from docs

* fix: adjust examples

* fix: remove obsolete doc templates

* fix: docs adjustments

* fix: add missing doc file

* fix: temp rename file

---------

Co-authored-by: Andre Harms <andre.harms@stackit.cloud>
Co-authored-by: Marcel S. Henselin <marcel.henselin@stackit.cloud>
2025-12-19 15:15:42 +01:00
75e003ae9a chore: update docs 2025-12-19 11:35:49 +01:00
Marcel S. Henselin
5381516661
feat: mssql alpha instance (#2)
* fix: remove unused attribute types and functions from backup models

* fix: update API client references to use sqlserverflexalpha package

* fix: update package references to use sqlserverflexalpha and modify user data source model

* fix: add sqlserverflexalpha user data source to provider

* fix: add sqlserverflexalpha user resource and update related functionality

* chore: add stackit_sqlserverflexalpha_user resource and instance_id variable

* fix: refactor sqlserverflexalpha user resource and enhance schema with status and default_database

---------

Co-authored-by: Andre Harms <andre.harms@stackit.cloud>
Co-authored-by: Marcel S. Henselin <marcel.henselin@stackit.cloud>
2025-12-19 08:56:46 +01:00
Ruben Hönle
0c2f087ce6
chore(docs): update links to new STACKIT docs (#1085)
relates to STACKITTPR-450
2025-12-05 16:09:46 +00:00
Ruben Hönle
edf22a6193
feat(kms): add keyring resource and datasource (#1049)
relates to STACKITTPR-410
2025-11-12 13:10:58 +00:00
Fabian Spottog
a8e874699f
feat(scf): Add STACKIT Cloud Foundry (#991)
* onboard STACKIT Cloud Foundry resources/datasource
2025-10-08 09:42:33 +00:00
Mauritz Uphoff
5320e0cd7e
chore(provider): mark deprecation for service_account_token (#920)
* chore(provider): make deprecation for service_account_token

---------

Signed-off-by: Mauritz Uphoff <mauritz.uphoff@stackit.cloud>
Co-authored-by: Ruben Hoenle <Ruben.Hoenle@stackit.cloud>
2025-08-05 11:31:26 +02:00
Marcel Jacek
d9dc1d4495
feat(iaas): add iaas network v2 alpha (#899)
* add experimental network v2
2025-07-07 13:25:54 +02:00
Ruben Hönle
9ff9b8f610
feat(iaas): add experimental support for routing tables and routes (#896)
* Merged PR 788126: feat(iaas): Onboard routing tables

feat(iaas): Onboard routing tables

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

* Merged PR 793350: fix(routingtable): region attribute is missing in scheme

fix(routingtable): region attribute is missing in scheme

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

* Merged PR 797968: feat(iaas): onboarding of routing table routes

relates to STACKITTPR-241

* use iaasalpha sdk from github

* resolve todos

* remove routes from routing table model

* restructure packages

* acc tests routing tables

* add acc tests for routes

* chore(iaas): mark routing table resources as experimental

* chore(deps): use iaasalpha sdk v0.1.19-alpha

* Review feedback

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

---------

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
Co-authored-by: Alexander Dahmen (EXT) <Alexander.Dahmen_ext@external.mail.schwarz>
Co-authored-by: Alexander Dahmen <alexander.dahmen@inovex.de>
2025-07-02 10:30:50 +02:00
Alexander Dahmen
2f06bc590d
feat(provider): Added acceptance tests (#891)
* feat(provider): Added acceptance tests

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

* Remove argus custom endpoint from provider. This code was removed.

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

---------

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
2025-06-27 09:44:25 +02:00
Mauritz Uphoff
cf7a7d154e
feat: implement stackit git instances (#791)
* feat: implement stackit git instances

* review changes
2025-05-09 08:50:23 +02:00
Ruben Hönle
4d93772fd2
chore(docs): use new 'default_region' provider attribute (#793)
instead of deprecated 'region' attribute
2025-04-30 09:51:59 +00:00
Malte Ehrlen
855d3040ef
Feature: CDN distribution resource and data source (#786)
* add datasource

* finish data source

* implement resource

* add unit tests

* add examples

* acceptance test

* review comments

* review comments 2

---------

Co-authored-by: Malte Ehrlen <malte.ehrlen@freiheit.com>
2025-04-29 15:59:07 +02:00
Melvin Klein
513808a8a0
chore: rename model serving to AI model serving (#751) 2025-03-31 10:59:49 +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
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
Benjamin Ritter
dadea7a904
IAM Role Assignment (#665)
* Initial PoC for a Project Role Assignment resource

Signed-off-by: Benjamin Ritter <benjamin.ritter@stackit.cloud>

* fix: move project_role_assignment into new "authorization" resource group

Signed-off-by: Benjamin Ritter <benjamin.ritter@stackit.cloud>

* feat: add authorization_project_role_assignment acceptance test

Signed-off-by: Benjamin Ritter <benjamin.ritter@stackit.cloud>

* docs: add authorization_project_role_assignment docs and examples

Signed-off-by: Benjamin Ritter <benjamin.ritter@stackit.cloud>

* fix: linting

Signed-off-by: Benjamin Ritter <benjamin.ritter@stackit.cloud>

* feat: add generic role_assignment resources

Signed-off-by: Benjamin Ritter <benjamin.ritter@stackit.cloud>

* feat: add infrastructure for experimental features

Signed-off-by: Benjamin Ritter <benjamin.ritter@stackit.cloud>

* feat: Make IAM resources part of the iam experiment

Signed-off-by: Benjamin Ritter <benjamin.ritter@stackit.cloud>

* fix: Log an error if an experiment does not exist

Signed-off-by: Benjamin Ritter <benjamin.ritter@stackit.cloud>

* fix: Do not cache the experiment check

Caching the experiment check causes problems when
running the provider in debug mode, since
configure in the provider can be called multiple
times there with different configurations, with
different experiments enabled.

Signed-off-by: Benjamin Ritter <benjamin.ritter@stackit.cloud>

---------

Signed-off-by: Benjamin Ritter <benjamin.ritter@stackit.cloud>
Co-authored-by: Benjamin Ritter <benjamin.ritter@stackit.cloud>
2025-03-14 10:31:05 +01:00
Rüdiger Schmitz
c257ac49e2
Fix/stackittpr 102 objectstorage handling region in individual resources (#711)
* Revert "fix: make resource/data-source specific region attribute read-only (#682)"

This reverts commit 3e8dcc542b.

* fix: Support individual regions

* fix: review findings
2025-03-12 09:49:47 +00: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
Vicente Pinto
fe777fd9bc
Remove leftover Postgresql code and documentation (#527)
* Remove leftover postgresql code

* Remove examples

* revert go.mod

* Revert loadbalancer doc
2024-09-04 16:16:24 +01:00
Vicente Pinto
75b1ede38b
Documentation update (#524)
* Update Auth guide

* Update docs
2024-09-03 16:50:18 +01:00
GokceGK
fc5f63bc86
remove deprecated jwks endpoint (#523) 2024-09-03 08:55:37 +02:00
GokceGK
9c89e02e4c
Revert "Revert "Rename argus to observability (#510)" (#515)" (#516)
This reverts commit ddcbc77685.
2024-08-26 11:28:35 +02:00
João Palet
ddcbc77685
Revert "Rename argus to observability (#510)" (#515)
This reverts commit cc3cf05307.
2024-08-23 12:29:17 +01:00
GokceGK
cc3cf05307
Rename argus to observability (#510)
* Create observability resources

* add deprecation message to argus

* add warning to readme

* remove warning from readme

* add info back to migration md

* Update MIGRATION.md

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

---------

Co-authored-by: João Palet <joao.palet@outlook.com>
2024-08-23 09:29:52 +02:00
GokceGK
2a923dc4b6
fix field name (#499) 2024-08-09 12:27:00 +02:00
GokceGK
1e767d56dc
Fix service enablement custom endpoint (#489)
* add service enablement custom endpoint

* generate docs
2024-08-01 08:54:49 +02:00
João Palet
31ce9ab36d
Allow managing members in the project resource (#480)
* Extend resource and datasource

* Adapt acc test to work without members

* Extend acc test and adjust resource

* Generate docs

* Fix lint

* Fix unit test

* Uniformize description with datasource and extend unit test

* Improve role field description

* Update TF state before adding/removing members

* Remove unused function

* Move intermediate map top state to mapProjectFields

* Improve code
2024-07-29 09:57:06 +01:00
a_nackov
b5eb8bd379
ref 624723: server backup schedules (#416)
Signed-off-by: Adrian Nackov <adrian.nackov@mail.schwarz>
2024-06-26 11:51:06 +01:00
Diogo Ferrão
610b65f1cc
Add documentation to support beta resources (#417)
* add README, guide and description method

* undo unwanted changes to docs

* Update docs/guides/opting_into_beta_resources.md

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

* address PR comments

* address PR comments

---------

Co-authored-by: GokceGK <161626272+GokceGK@users.noreply.github.com>
2024-06-24 15:07:31 +01:00
Vicente Pinto
335e1cabb6
Add sqlserverflex instance (#381)
* Draft implementation sqlserverflex instance

* Finish implementation

* Fix acc test

* Changes after review
2024-05-31 15:54:05 +01:00
João Palet
76b8e5692d
Implement new stackit_network resource and datasource (#366)
* Copy file from DNS zone resource

* Implement resource

* Implement datasource

* Add examples

* Implement acceptance test; Some fixes

* Add docs

* Fix linter

* Fixes after review
2024-05-20 17:17:39 +01:00
João Palet
ee905a3a5f
Deprecate stackit_loadbalancer_credential and add new stackit_loadbalancer_observability_credential (#357)
* Copy over old resource files

* Adjustments to the new observability credential resource.go

* Register new resource in the provider

* Add example

* Adapt acc test

* Update docs

* Add deprecation message

* Fix linter

* Add deprecation message to dscription
2024-05-13 15:30:51 +01:00
Vicente Pinto
49b585923b
Update docs (#352) 2024-05-03 14:11:28 +00:00
João Palet
f0890f9ddf
Add description for MongoDB Flex instance backup_schedule field (#282) 2024-03-04 15:55:07 +00:00
Henrique Santos
a29c954c84
Add deprecation message for postgresql resources and data sources (#247)
* Update dependency

* Add deprecation messages

* Modify markdown description

* Add year

* Typo fix

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2024-02-06 16:05:19 +01:00
Vicente Pinto
ba19c9cc74
Update core and key flow documentation (#198)
* Update sdk and documentation of key flow

* Generate docs

* Update README

* Update README.md

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

---------

Co-authored-by: João Palet <joao.palet@outlook.com>
2024-01-09 14:06:24 +00:00
Vicente Pinto
62b6a1b3de
Support project UUID identifier in resource manager project (#161)
* Add projectId to resource manager project, fix value conversion error

* Support both uuid and container id, update acceptance tests

* Update docs

* Fix unit tests

* Adapt acc test names
2023-12-13 14:17:28 +00:00
João Palet
7188e13e92
Onboard Load Balancer (part 4: acc tests, examples and documentation) (#117)
* Implement acceptance test

* Add resource and data source to the provider

* Add examples and markdown description

* Generate docs

* Adjustments after review

* Move load balancer supporting infrastructure from resource config to example
2023-10-31 18:13:50 +01:00
Henrique Santos
fc8d2663cd
Update docs (#113)
* Update docs

* Update docs

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-27 15:49:05 +01:00
João Palet
8625ac100a
Improve phrasing in README instruction (#109) 2023-10-27 11:40:40 +02:00
João Palet
20f3496242
Onboard MongoDB Flex user (#88)
* Onboard user

* Add examples and generate docs

* Adjustments after review
2023-10-17 15:09:02 +02:00
João Palet
fee47a6400
Rename DSA credentials to credential (#76)
* Rename in LogMe

* Rename in other DSA

* Rename examples

* Rename folder names

* Rename in error messages
2023-10-11 09:54:08 +02:00
Vicente Pinto
bc27bc20db
Key flow authentication (#67)
* Add key flow params to provider

* Update docs, add examples
2023-10-09 08:15:14 +01:00
Henrique Santos
78dcc66e5e
Add template for provider main page (#17)
* Add template

* Generate docs

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-09-11 17:58:17 +01:00
Vicente Pinto
135f86d645
Update provider doc (#11) 2023-09-08 17:37:07 +01:00
vicentepinto98
e4c8a6fbf4 Initial commit 2023-09-07 11:34:45 +01:00