Commit graph

31 commits

Author SHA1 Message Date
Ruben Hönle
b313ef6a39
chore(terraform): use a util func to build internal terraform id (#869) 2025-06-12 14:41:57 +02:00
Marcel Jacek
a47fac0ae7
feat(mongodb): set point_in_time_window_hours as required (#860)
* feat(mongodb): set point_in_time_window_hours as required

* docs update
2025-05-23 14:06:13 +02:00
stackit-pipeline
7ce802769c
fix(deps): update stackit sdk modules (#846)
* fix(deps): update stackit sdk modules

* feat: Use new generated enums

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-05-19 09:56:41 +02:00
Ruben Hönle
06af447d61
feat(mongodbflex): set custom user-agent header for STACKIT API calls (#840)
relates to STACKITTPR-184
2025-05-16 15:35:34 +02:00
Marcel Jacek
d6749b6ce3
fix(STACKITTPR-168): improve error messages (#762)
* remove deprecated argus resources

* improve error messages
2025-04-04 14:18:16 +02:00
Marcel Jacek
a8809a4979
fix(mongodb): store partial state (#752)
* fix: mongodb store partial state
 - avoid that an instance is created but not stored in terraform because an error occurred

* add nil checks for CreateInstance response
2025-03-31 14:53:45 +02:00
Alexander Dahmen
a2c25bede2
fix(mongodb): User role should be updatable (#731)
Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
2025-03-26 14:19:28 +01:00
Marcel Jacek
6dc6f4129c
fix: add required replace for replicas field in mongodb instance (#723) 2025-03-19 13:36:55 +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
Alexander Dahmen
f0168cfed9
Ft/rework acceptance tests (#675)
* Rework IaaS acceptance tests

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

* Rework mongodb acceptance tests

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

* Rework observability acceptance tests

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

* Rework secretsmanager acceptance tests

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

* Rework loadbalancer acceptance tests

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

* Rework ske acceptance tests

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

* Update documentation

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

---------

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
2025-02-14 08:44:11 +01:00
GokceGK
043f1d6331
Add uri to user resources for MongoDB Flex and PostgreSQL Flex (#512)
* add uri to mongodb user resource

* add uri to postgresflex user resource

* update docs

* extend warning about empty uri

* extend warning about empty uri
2024-08-23 09:41:49 +02:00
GokceGK
5f3faacd7f
Remove user role field validation from MongoDB flex user resource (#503)
* remove validation

* change field description
2024-08-12 15:40:35 +02:00
João Palet
2810545ef7
Add additional backup configurations to MongoDB Flex instance resource (#486)
* Extend resource and datasource

* Extend acc test

* Extend example

* Generate docs

* Fix linter

* Update stackit/internal/services/mongodbflex/instance/datasource.go

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

---------

Co-authored-by: GokceGK <161626272+GokceGK@users.noreply.github.com>
2024-07-31 10:55:14 +01:00
João Palet
3fb28d1248
Document possible values of schema fields (#455)
* Document possible values of schema fields

* Change from possible to supported
2024-07-09 13:14:38 +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
Diogo Ferrão
035efbd309
Fix replacement of mongoDB instances, make storage class require replace (#350)
* hotfix replacement of mongodb instances by adding delay to delete

* improve explaining comment

* increase delay time

* improve comments regarding the wait timer
2024-04-30 16:10:54 +01:00
João Palet
66d6ec2bd0
Remove deleted resources and datasources from Terraform state on Read (all remaining services) (#346)
* Remove deleted resources and datasources from state on Read

* Simplify code

* Fix function description

Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>

* Fix function description

Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>

* Fix whitespace

---------

Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
2024-04-23 08:59:43 +01:00
Diogo Ferrão
9bd1da7cee
Bugfix inconsistent applies of ListAttributes (#328)
* sort the list of ACLs for MongoDBFlex

* Fix and test other cases of ListAttribute ordering

* fix linting

* revert sorting changes, introduce new reconcilestrlist function

* merge main

* Fix rabbitmq

* fix segmentation fault

* Improve testing

* pass context to mapfields, minor name fixes
2024-04-16 11:20:19 +01: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
c7effac5c7
Update SDK dependency (#177)
* Update dependencies

* Update dependencies

* Update dependencies

* Update dependencies

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-12-21 09:33:36 +00:00
Vicente Pinto
45e8981350
Add UseStateForUnknown for all Computed fields that RequireReplacement and dont change after an update (#149) 2023-11-14 17:16:50 +00:00
Vicente Pinto
03d0e28016
Move functions to conversion pkg (#123) 2023-11-03 08:49:05 +00:00
Vicente Pinto
b6100ec8d5
Replace ValuePointer function with custom conversion (#121) 2023-11-02 15:28:06 +00:00
Henrique Santos
8f5850cdf1
Update dependencies (#112)
* Update dependencies

* Remove set timeout

* Remove set sleep before wait

* Update to new signature, remove unnecessary calls

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-27 15:48:54 +01:00
João Palet
25992d6ae4
Increase create and update timeouts for instances (#103) 2023-10-24 17:57:47 +02:00
Henrique Santos
c3618f2b63
Update SDK dependencies (#100)
* Update dependencies

* Fix tests

* Fix field assignment

* Update field assignment

* Remove unused functions

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-24 14:54:04 +01:00
João Palet
e61bfe09a5
Set backupSchedule as required in MongoDB Flex instance (#96)
* Set backupSchedule as required in MongoDB Flex instance

* Update example and generate docs

* Add regex explanation comment

* Fix acceptance test

* Fix map fields
2023-10-20 14:38:19 +02:00
João Palet
3c6748545d
Fix PostgresFlex references in MongoDB Flex (#91)
* Fix PostgresFlex references in MongoDB Flex

* Update docs

* Re-generate docs
2023-10-17 17:53:45 +02:00
Henrique Santos
9d11098102
Improve region details (#90)
* Make client config error message more clear

* Add missing log

* Add region detail to resource/data source description

* Generate docs

* Remove resourcemanager using region

* Apply changes to MongoDBFlex user

* Generate docs

* Fix wrong description

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-17 16:02:13 +01: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
ade77eb544
Onboard MongoDB Flex instance (#86)
* Onboard instance resource

* Add options.type as required field

* Implement resource unit tests

* Implement data source

* Implement acc tests

* Adjust update acc test

* Fix typo

* Adjust update unit tests

* Adjustments after review

* Minor adjustment for uniformity

* Adjustments after review
2023-10-17 11:20:22 +02:00