* Add support to ServerNameIndicators for load balancers
* Change argument type to a pointer
* Replace custom struct with TF struct
* Fix names for server_name_indicators fields
* Add Optional
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
Co-authored-by: vicentepinto98 <vicente.pinto@freiheit.com>
* Add support for session persistence to the load balancer
* Set use_source_ip_address optional to true
* Add unit tests for SessionPersistence Settings in LoadBalancer
* Add acceptance test for using session persistence
* Add session persistence to data source and fix acceptance tests
* Update stackit/internal/services/loadbalancer/loadbalancer/resource.go
Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>
* Update stackit/internal/services/loadbalancer/loadbalancer/datasource.go
Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>
---------
Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>
* 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
* Update Kubernetes version
* Update nodepool OS
* Revert Kubernetes version to 1.24
* Add maintenance field to cluster-min
* Remove hardcoded kubernetes version
* Remove hardcoded setting
* Revert minor version of Kubernetes upgrade
* Fix post test check destroy
* Fix missing pointer
* Fix labels using wrong delimiters
* Fix typo in provider config
* Lint fix
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
* 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
* Finish implementation for CRUD functionality
* Register resource in the provider
* Adjustments to resource
* Implement data source
* Unregister resource and data source from provider
* Fix external_address schema field
* Remove oneOf validators from datasource
* Add mapFields and tests
* Extend Create function
* Adjust function signature
* Fix toCreatePayload
* Add toTargetPoolUpdatePayload and tests
* Wait for creation
* Use waiter response for mapFields
* Adjust after dependency update
* Set backupSchedule as required in MongoDB Flex instance
* Update example and generate docs
* Add regex explanation comment
* Fix acceptance test
* Fix map fields
* Implement secrets manager user
* Add user tests
* Add secrets manager user
* Fix typo
* Change ACL to set
* Fix field name
* Change ACLs to set
* Fix typo
* Fix formatting
* Fix update not using existing password
* Add repeating ACLs to test case
* Fix signature
* Add user checks
* Reorder list
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
* Add CIDR validator
* Implement `syncACL`, add it to creation
* Rename function
* Rename variables
* Add mapACLs
* Implement instance update
* Add ACLs to acc test
* Add ACL to schema
* Add new line
* Fix not using the ACLs read from config
* Add test case where ACLs aren't set
* Fix lint
* Generate docs
* Add uniqueness check for ACLs
* Add repeated ACLs test cases
* Remove debug leftover
* Change test cases
* Rename data
* Add ACL description
* Generate docs
* Change ACL attribute type
* Remove test case
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
* 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