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
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
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
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
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
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
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
f941e53b15
Allow users to set Argus metrics storage retention policy ( #393 )
...
* implement crud commands
* resource testing
* acceptance tests
* move function to utils, cleanup tests
* fix linting
* use conversion pkg for int conversion, extend testing
* address PR comments
* address PR comments
2024-06-06 16:54:03 +01:00
Diogo Ferrão
32b1fc1ef8
Make SQLServer edition computed ( #389 )
...
* Make edition computed
* generate docs
2024-06-04 14:39:29 +01:00
Diogo Ferrão
04df2f2f89
Add examples, generate docs and fix acc tests ( #386 )
2024-06-04 13:13:05 +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
stackit-pipeline
6af9c0dcbb
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/ske to v0.16.0 ( #379 )
...
* fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/ske to v0.16.0
* Rename data type
---------
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: vicentepinto98 <vicente.pinto@freiheit.com>
2024-05-28 08:30:13 +00:00
stackit-pipeline
ba7bf10db7
fix(deps): update stackit sdk modules ( #373 )
...
* fix(deps): update stackit sdk modules
* Fix lint
---------
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: vicentepinto98 <vicente.pinto@freiheit.com>
2024-05-27 11:54:57 +01:00
Vicente Pinto
29bf7cbb31
Fix os_version and os_version_min conflicting fields ( #376 )
...
* Make cluster network computed
* Fix field conflict
* Replace computed with better mapping
* Fix comment
* Update unit test§
2024-05-27 11:22:35 +01:00
Vicente Pinto
ecaf622f55
Fix cluster network mapping ( #375 )
...
* Make cluster network computed
* Replace computed with better mapping
* Fix comment
* Update unit test§
2024-05-27 09:18:10 +01:00
João Palet
ac0840fceb
Allow specifying network ID in SKE cluster ( #368 )
2024-05-21 11:27:23 +01:00
Vicente Pinto
e2e5f19a29
Improve description for default fields ( #369 )
2024-05-21 11:14:16 +01:00
Vicente Pinto
e4bbcfd50a
Remove ssl note from redis credentials uri, mark uri as sensitive and update ske project deprecation date ( #367 )
...
* Remove ssl note from redis credential
* Mark uri as sensitive, change deprecation note of ske project
* Update date
2024-05-21 10:22:30 +01:00
Vicente Pinto
e850a952bd
Support SKE OS versions auto and forceful updates ( #364 )
...
* Deprecate os_version and add os_version_used
* Add os_version_min field
* Draft implementation for os_version_min
* Finish implementation
* Fix mapFields
* Update stackit/internal/services/ske/cluster/resource.go
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
* Update stackit/internal/services/ske/cluster/resource.go
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
* Update stackit/internal/services/ske/cluster/resource.go
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
* Update stackit/internal/services/ske/cluster/resource.go
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
* Improve descriptions
* Improve variable names
* Fix lint
* Extend acc test, generate docs
* Don't select automatically preview versions
* Update acc test
* Simplify code
---------
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
2024-05-20 18:03:50 +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
Vicente Pinto
940b15e4b8
Fix kubernetes_version_min field logic ( #363 )
...
* new field kubernets_version_min and deprecate kubernetes_version
* Fix lint and tests
* Update acc test
* Deprecate datasource field, fix checkAllowPrivilegedContainers
* Update acc test, datasource and descriptions
* Update acc test
* Improve descriptions, fix bug
* Improve docs, fix acc test
* Update docs
* Update docs, fix acc test
* Update stackit/internal/services/ske/cluster/resource.go
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
* Fix links
* Default ske auto-update to true
* Check current cluster version
* Add unit test
---------
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
2024-05-17 12:12:35 +01:00
Vicente Pinto
27b008a657
Support automatic kubernetes updates for stackit_ske_cluster ( #360 )
...
* new field kubernets_version_min and deprecate kubernetes_version
* Fix lint and tests
* Update acc test
* Deprecate datasource field, fix checkAllowPrivilegedContainers
* Update acc test, datasource and descriptions
* Update acc test
* Improve descriptions, fix bug
* Improve docs, fix acc test
* Update docs
* Update docs, fix acc test
* Update stackit/internal/services/ske/cluster/resource.go
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
* Fix links
* Default ske auto-update to true
---------
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
2024-05-14 14:55:33 +01:00
Diogo Ferrão
1c4a3ec963
BUGFIX fix seg fault in load balancer creation ( #359 )
2024-05-13 17:29:07 +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
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
e48deaff59
Fix Argus scrape config internal models to use Terraform types ( #349 )
...
* Fix SAML2 model
* Fix BasicAuth model
* Fix Targets model
* Fixes after testing
2024-04-29 15:18:13 +01:00
Diogo Ferrão
46797a659a
support storage class update in postgresflex ( #348 )
2024-04-26 11:20:51 +02: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
João Palet
464884cabe
Remove deleted resources from Terraform state on Read (LB and DSA) ( #340 )
...
* Fix for load balancer resource
* Fix for lb credential resource
* Fix for all DSA resources
* Fix for lb datasource
* Fix for all DSA datasources
* Adjustments after review
* Remove early return from all datasources
2024-04-22 15:19:10 +01:00
Simon Stier
592007de7a
DNS: Fix rrsetNameLength validation ( #345 )
...
* fix rrsetNameLength validation
* remove string length validation entirely
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
---------
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
2024-04-22 15:51:06 +02: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
stackit-pipeline
18d3f4d1fb
fix(deps): update stackit sdk modules ( #327 )
...
* fix(deps): update stackit sdk modules
* remove deprecated fields from credentials resources
* remove deprecated fields from credentials resources
* add newly added fields to credentials resources
* remove deprecated fields from credentials datasource
* add newly added credential fields to datasources
* update acceptance tests
---------
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Gökçe Gök Klingel <goekce.goek_klingel@mail.schwarz>
2024-04-15 09:52:35 +02:00
Vicente Pinto
4917eda1ad
DNS Record Set type requires replace ( #325 )
2024-04-09 16:12:00 +01:00
Diogo Ferrão
6e61caee19
Bugfix SKE downgrade replace in place ( #315 )
...
* add requireif to schema, extend acc testing
* fix acceptance test
* improve testing
2024-03-27 15:45:16 +00:00
Diogo Ferrão
394d5bf8d6
Onboard Argus (ACL): fix edge cases ( #314 )
...
* fix empty acl update/create, update CIDR validator
* fix sigsegv in test, acl description
* Split field mapping, better handle edge cases
* Update stackit/internal/services/argus/instance/resource.go
Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>
---------
Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>
2024-03-26 13:54:09 +00:00
GokceGK
056c000acc
Update SKE project resource deprecation message ( #313 )
...
* remove redundant log message
* update description and deprecation message for project resource
* add missing space
* update docs
2024-03-26 11:11:21 +01:00