Commit graph

334 commits

Author SHA1 Message Date
João Palet
6140769506
Update project resource example (#485) 2024-07-31 08:22:41 +02:00
João Palet
8dc894cacc
Preserve order of project members even if API re-orders them (#484)
* Preserve order of project members even if API re-orders them

* Adjust role field description

* Fix backwards compatibility of deprecated owner_email field

* Fix typo
2024-07-30 13:32:49 +01:00
João Palet
63b07c4422
Document possible values for project member role (#482)
* Document possible values for project member role

* Update docs
2024-07-29 12:22:11 +01: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
João Palet
af7d789945
Adjust mapping of LB API response when private network only field is … (#477)
* Adjust mapping of LB API response when private network only field is null

* Improve comment

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

---------

Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
2024-07-23 11:37:57 +01:00
stackit-pipeline
40ce90999b
fix(deps): update stackit sdk modules (#473)
* fix(deps): update stackit sdk modules

* Adaptations to solve issues caused by sdk breaking changes

* downgrade loadbalancer

---------

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Gökçe Gök Klingel <goekce.goek_klingel@mail.schwarz>
2024-07-22 09:45:06 +02:00
Diogo Ferrão
a35b887315
Onboard Argus alert configs (#449)
* Onboard Argus alert config receivers (#439)

* initial schema and to payload

* finish receiver resource implementation (schema, topayload and mapfields)

* fix toUpdate payload lists

* fix resource and datasource on alert config attr removal, add testing

* fix linting and testing

* initial test map fields

* improve testing, remove logging

* rename vars in acc testing

* refactor mapAlertConfig

* improve mock alert config, fix testing

* make the mock alert config receivers match the default

* generate docs

* Onboard Argus Alert Config global configuration (#446)

* initial implementation

* initial map fields

* extend datasource, finish resource impl and extend acc testing

* remove unmapped fields

* add all attributes back

* remove commented inhibit rules

* generate docs, fix testing

* address PR comments

* Onboard Alert Config route (#447)

* Initial implementation

* add schema to datasource, improve acc testing

* fix linting, generate docs

* address PR comments

* fix and improve acceptance tests

* update test titles (comments)

* address acceptance comments (#452)

* Onboard Argus Alert Config child routes in Route (#463)

* initial schema and map fields implementation

* initial working solution

* improve implementation, generate docs

* fix description, add more unit testing

* address PR comments

* add unit and acc testing, fix datasource schema, fix plan_id mapping

* add checks to acceptance testing

* update acceptance tests
2024-07-18 15:05:35 +01:00
Diogo Ferrão
f762c4800b
Fix SKE enablement using Service Enablement API (#472)
* Replace ske wait with enablement wait in service enablement

* Move GetServiceStatus to the enablement api, ignore linting on GetCredential
2024-07-18 14:28:13 +01:00
stackit-pipeline
b878289951
fix(deps): update module github.com/hashicorp/terraform-plugin-framework-validators to v0.13.0 (#458)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-07-18 11:00:49 +02:00
Diogo Ferrão
02c4ad72b0
Move SKE Enable/Disable to the Service Enablement API (#467) 2024-07-16 13:42:01 +01:00
João Palet
e3da2ebbb4
Fix field string validators (#465) 2024-07-12 14:14:44 +01:00
João Palet
a9c50fceab
Fix inconsistent result after creating SKE cluster with empty node po… (#461)
* Fix inconsistent result after creating SKE cluster with empty node pool taints

* Improve code readability

* Suggestions from review
2024-07-11 14:10:00 +01:00
stackit-pipeline
a15bd14288
fix(deps): update module github.com/hashicorp/terraform-plugin-testing to v1.9.0 (#459)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-07-10 11:30:47 +01:00
stackit-pipeline
de9337218d
fix(deps): update module github.com/hashicorp/terraform-plugin-framework to v1.10.0 (#457)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-07-10 11:30:00 +01:00
João Palet
34388eb361
Implement PostgreSQL Flex database resource and data source (#453)
* Implement db resource

* Implement db data source

* Extend acc test

* Improve logs in other resources

* Add examples

* Generate docs

* Fix linter
2024-07-09 14:05:58 +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
stackit-pipeline
846a2ba181
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/ske to v0.17.0 (#450)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-07-08 09:25:21 +01:00
stackit-pipeline
60dad20983
fix(deps): update module golang.org/x/mod to v0.19.0 (#448)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-07-05 09:05:40 +01:00
João Palet
aec518b8f3
Add description for the parameters field of DSA instances (#445)
* Add description for the parameters field of DSA instances

* Improve sentence
2024-07-02 19:02:19 +01:00
João Palet
78793f49ff
Extend OpenSearch instance parameters (#443)
* Extend OpenSearch instance parameters

* Fix bug in parameter modelling

* Improve monitoring_instance_id field documentation

* Fix unit test
2024-07-02 09:30:47 +01:00
João Palet
7e51a0a5d5
Fix SKE cluster maintenance updated outside TF causing error (#444)
* Fix SKE cluster maintenance updated outsise TF causing error

* Add comment to logic

* Simplify code
2024-07-02 09:26:47 +01:00
João Palet
b54c671082
Extend MariaDB instance parameters (#441)
* Extend MariaDB instance parameters

* Fix linter

* Improve monitoring_instance_id field documentation

* Add documentation for graphite field

* Add Argus instance as example to monitoring_instance_id description

* Specify that a STACKIT monitoring instance is expected
2024-07-01 17:35:37 +01:00
João Palet
a08dbd8926
Extend LogMe instance parameters (#438)
* Extend LogMe instance parameters

* Update acc test

* Add more field descriptions

* Improve code and tests

* Add more fields to acc test

* Fix linter

* Add float parameter
2024-07-01 12:09:26 +01:00
Diogo Ferrão
e553628b5e
Remove CRUD method logic from PostgreSQL (first step of removal) (#423)
* Remove CRUD method logic from PostgreSQL (first step of removal)

* remove comment

* removed unused vars and parameters

* move verb tense to the past

* also datasource

* apply change to credential

* improve error message, remove acc testing

* update docs
2024-07-01 10:06:54 +01:00
stackit-pipeline
2a0998f511
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/postgresflex to v0.15.0 (#440)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-07-01 08:46:25 +02:00
stackit-pipeline
b605d8e095
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/logme to v0.16.0 (#433)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-06-27 08:19:30 +02:00
João Palet
fc14fd5293
Improve beta resources documentation (#436)
* Improve beta resources documentation

* Improve phrasing
2024-06-26 17:53:32 +01:00
João Palet
5b617e0676
Make server backup schedule resources beta (#434)
* Make server backup schedule resources beta

* Adjust guide
2024-06-26 14:02:50 +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
GokceGK
7fbb13c0b6
Make roles optional (#432)
* make roles optional

* check if roles is unknown

* add descriptions

* update docs

* change role condition handling

* Update stackit/internal/services/sqlserverflex/user/resource.go

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

* Update stackit/internal/services/sqlserverflex/user/datasource.go

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

* Update stackit/internal/services/sqlserverflex/user/datasource.go

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

* fix escapes

* adapt unit tests

* update docs

* Update stackit/internal/services/sqlserverflex/user/datasource.go

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

* Update stackit/internal/services/sqlserverflex/user/resource.go

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

* adapt unit tests

* update docs

---------

Co-authored-by: João Palet <joao.palet@outlook.com>
2024-06-26 10:30:12 +02:00
João Palet
9f82c3262b
Extend Redis and RabbitMQ instance parameters (#431)
* Extend RabbitMQ instance parameters (#409)

* Extend Schema

* initial parameter integration in resource

* datasource, resource and acceptance testing

* add docs, fix map fields edge case

* improve testing

* rename tls_protocols to singular

* revert renaming

* Extend Redis instance parameters (#410)

* Extend Schema

* initial parameter integration in resource

* datasource, resource and acceptance testing

* add docs, fix map fields edge case

* improve testing

* rename tls_protocols to singular

* revert renaming

* initial schema

* resource and datasource

* acceptance testing

* fix linting and testing, generate docs

* improve acceptance testing

---------

Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
2024-06-25 16:03:59 +01:00
João Palet
923764172d
Add note regarding update to SKE cluster node pools (#421) 2024-06-25 14:57:49 +01:00
João Palet
89b03f1a75
Leave SKE cluster list length validations for the API (#425) 2024-06-25 14:44:21 +01:00
Diogo Ferrão
161d6666c1
fix link to beta guide in the README (#424) 2024-06-25 13:22:13 +01:00
Diogo Ferrão
3e2e8e3a45
Fix formatting of the beta configuration guide (#422)
* Fix formatting of the beta configuration guide

* Fix note formatting

* Fix headings in the vault secrets guide
2024-06-25 09:25:00 +00: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
GokceGK
3a93e6e54c
remove database field from user example (#418) 2024-06-24 14:47:47 +02:00
GokceGK
932fff6223
Onboard SQLServer Flex user resource (#403)
* Onboard SQLServer Flex user resource

* change roles

* fix unit tests

* make database field optional // adapt test and documentation

* add sleep time to instance creation

* fix service name in logs and descriptions

* extend username plan modifiers

* update docs

* remove database field

* remove database // make roles optional

* update docs
2024-06-24 14:09:55 +02:00
Diogo Ferrão
50d74e6695
Improve beta documentation (#414)
* replace BETA with beta

* improve beta error text

* remove reference to guide
2024-06-21 13:25:49 +01:00
Diogo Ferrão
a07ff3f9ba
Support beta functionality (#412)
* support beta functionality

* add testing, improve logic and code quality

* improve testing and code quality

* Fix warning message
2024-06-20 17:54:23 +01:00
João Palet
890e38f22a
Fix SQLServer Flex instance documentation (#411) 2024-06-20 15:24:40 +01:00
stackit-pipeline
8bcaab1401
chore(deps): update goreleaser/goreleaser-action action to v6 (#407)
* chore(deps): update goreleaser/goreleaser-action action to v6

* Update deprecated field in .goreleaser.yaml

* Update goreleaser configuration version

---------

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: João Palet <joao.palet@freiheit.com>
2024-06-19 16:55:07 +01:00
stackit-pipeline
be3e660ac3
fix(deps): update stackit sdk modules (#402)
* fix(deps): update stackit sdk modules

* update code with SDK breaking changes

---------

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
2024-06-19 11:47:39 +01:00
stackit-pipeline
e8e81f887c
chore(deps): update renovatebot/github-action action to v40.1.12 (#406)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-06-17 15:40:55 +01:00
Diogo Ferrão
d18b9c023a
Revert "Update Github action and Go releaser (#400)" (#405)
This reverts commit 205763c8c2.
2024-06-14 13:56:36 +02:00
Diogo Ferrão
a5fd87c367
Revert "Improve Argus metrics data retention policy (#401)" (#404)
This reverts commit 33e4417e61.
2024-06-14 11:14:55 +01:00
Diogo Ferrão
33e4417e61
Improve Argus metrics data retention policy (#401)
* update argus instance examples

* Set update metrics to default when not provided

* address PR comments
2024-06-12 16:28:46 +01:00
GokceGK
205763c8c2
Update Github action and Go releaser (#400)
* update github action to 40.1.12

* update goreleaser to v6
2024-06-12 11:00:34 +02:00
stackit-pipeline
bd3e04e134
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/iaas to v0.4.0 (#397)
* fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/iaas to v0.4.0

* add network to the return value of createNetwork

* add info logs

* remove obsolete logs and return value

---------

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Gökçe Gök Klingel <goekce.goek_klingel@mail.schwarz>
2024-06-11 13:24:21 +02:00
Diogo Ferrão
10b566c2f6
update examples (#395) 2024-06-10 19:40:38 +01:00