stackit-pipeline
35275fd336
Update module github.com/google/uuid to v1.5.0 ( #162 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-12-15 11:10:05 +01:00
stackit-pipeline
ba419c033e
Update module github.com/hashicorp/terraform-plugin-go to v0.20.0 ( #164 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-12-15 11:09:53 +01:00
Vicente Pinto
af78e8481a
Remove project_id from resourcemanager_project example ( #163 )
2023-12-13 14:46:26 +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
stackit-pipeline
dc3c3487c0
Update module github.com/stackitcloud/stackit-sdk-go/services/loadbalancer to v0.7.0 ( #159 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-12-07 15:25:26 +00:00
João Palet
f3295c77d6
Update renovatebot GitHub action ( #158 )
2023-12-06 11:13:57 +01:00
stackit-pipeline
4441d323d5
Update module github.com/stackitcloud/stackit-sdk-go/services/ske to v0.7.0 ( #157 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-12-06 09:19:01 +01:00
stackit-pipeline
d3aa691ccf
Update module github.com/hashicorp/terraform-plugin-testing to v1.6.0 ( #156 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-12-06 09:18:36 +01:00
Henrique Santos
edefb264f4
Update Renovate action ( #155 )
...
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-11-21 10:31:55 +00:00
stackit-pipeline
5248b28833
Update module github.com/stackitcloud/stackit-sdk-go/services/postgresql to v0.8.0 ( #154 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-11-21 10:25:30 +00:00
stackit-pipeline
de3ecc937a
Update module github.com/stackitcloud/stackit-sdk-go/core to v0.7.3 ( #153 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-11-21 10:25:09 +00:00
stackit-pipeline
d4b1680eac
Update module github.com/hashicorp/terraform-plugin-go to v0.19.1 ( #152 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-11-21 10:24:45 +00:00
Henrique Santos
56cd8096a6
Update SDK dependencies ( #151 )
...
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-11-16 12:11:57 +01:00
stackit-pipeline
db8f65eeb5
Update module github.com/stackitcloud/stackit-sdk-go/core to v0.7.2 ( #139 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-11-16 10:42:46 +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
João Palet
f62984aa0f
Update renovatebot GitHub action ( #138 )
2023-11-10 18:14:03 +01:00
stackit-pipeline
a5fafd0664
Update module github.com/stackitcloud/stackit-sdk-go/core to v0.6.0 ( #137 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-11-10 15:23:50 +01:00
Vicente Pinto
d1b10d23c1
SKE Cluster: fix extensions and hibernations mapping ( #135 )
...
* Fix bug in extensions.argus conversion
* Fix mapExtensions
* Fix extensions mapping, add test case
* Check disabled argus or acl independently
* Add last fixes
* Replace NewListValueFrom with NewListValue
* Remove unused argument
2023-11-08 16:01:35 +00:00
Henrique Santos
cbbf3a00c5
SKE Acc tests - Remove max_surge from min cluster ( #130 )
...
* Remove max_surge
* Simplify import
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-11-07 11:27:43 +00:00
Vicente Pinto
4728a49845
Fix bug in extensions.argus conversion ( #133 )
2023-11-06 13:01:20 +00:00
Vicente Pinto
0d438a4a9c
SKE Cluster - Change Extensions field model to use types.Object ( #127 )
...
* Convert SKE Extensions field to TF model
* Fix unit test
* Check error
* Update stackit/internal/services/ske/cluster/resource.go
Co-authored-by: João Palet <joao.palet@outlook.com>
* Fix error messages
* Replace ListValueMust with ListValue
* Replace types.ListValue with types.ListValueFrom
* Add context
* Add separator
---------
Co-authored-by: João Palet <joao.palet@outlook.com>
2023-11-06 10:59:36 +00:00
João Palet
1d88c953a0
Update migration table ( #131 )
2023-11-06 11:43:51 +01:00
stackit-pipeline
0bbada7c45
Update module golang.org/x/mod to v0.14.0 ( #128 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-11-06 08:51:35 +00:00
stackit-pipeline
c1927b29b1
Update module github.com/gorilla/mux to v1.8.1 ( #129 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-11-06 08:51:14 +00:00
Vicente Pinto
03d0e28016
Move functions to conversion pkg ( #123 )
2023-11-03 08:49:05 +00:00
Henrique Santos
71bf63cbc9
Acceptance tests fixes ( #120 )
...
* 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>
2023-11-02 15:31:47 +00:00
Vicente Pinto
b6100ec8d5
Replace ValuePointer function with custom conversion ( #121 )
2023-11-02 15:28:06 +00:00
João Palet
b10302c6de
Use random UUIDs for LoadBalance XRequestID headers ( #119 )
2023-11-02 12:40:48 +01:00
Henrique Santos
852516e081
SKE Cluster - Change field model lists to use types.List ( #118 )
...
* Change cluster model lists to types.List
* Lint fix
* Fix inconsistent state
* Acc test fixes
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-31 17:35:03 +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
João Palet
b804dc789e
Onboard Load Balancer (part 3: add remaining CRUD login and datasource) ( #116 )
...
* 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
2023-10-31 12:52:18 +01:00
Henrique Santos
245e10a8e8
Fix load balancer custom endpoint missing from schema ( #115 )
...
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-30 16:39:55 +00:00
Vicente Pinto
a831124498
Update go to 1.21 ( #114 )
2023-10-30 16:02:42 +00:00
João Palet
19a679e0bc
Onboard Load Balancer (part 2: add update payload and API response map helpers) ( #111 )
...
* 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
2023-10-27 18:48:31 +02: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
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
stackit-pipeline
70cb3d1519
Update module github.com/google/uuid to v1.4.0 ( #108 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-10-27 15:22:37 +01:00
João Palet
8625ac100a
Improve phrasing in README instruction ( #109 )
2023-10-27 11:40:40 +02:00
João Palet
8323db836d
Onboard Load Balancer (part 1: implement creation payload helpers) ( #107 )
...
* Add initial resource schema and model
* Configure client
* Implement toCreatePayload and test
* Unwire load balancer resource from the provider
* Add schema fields descriptions
* Review adjustments
* Lint adjustments
2023-10-27 11:40:29 +02:00
João Palet
529225d06b
Revert "Add disclaimer to key flow doc ( #73 )" ( #106 )
...
This reverts commit 9ec45e6be8 .
2023-10-26 10:52:16 +02:00
stackit-pipeline
fe566d3770
Update module github.com/hashicorp/terraform-plugin-framework to v1.4.2 ( #104 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-10-24 18:33:31 +02:00
João Palet
f570437941
Use latest version of Renovate action ( #105 )
2023-10-24 18:31:19 +02: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
Henrique Santos
9937717104
Migration guide - Add available resources table ( #97 )
...
* Add available resources table
* Reword
* Implement suggestions
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-20 16:08:05 +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
Henrique Santos
59ee1b529e
Secrets manager - Add examples, update docs ( #95 )
...
* Add examples, update docs
* Fix typo
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-19 16:03:42 +01:00
Henrique Santos
7a7f28a306
Implement Secrets Manager User, change ACL to Set ( #94 )
...
* 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>
2023-10-19 13:56:24 +01:00
Henrique Santos
e1265578ce
Implement Secrets Manager ACL ( #93 )
...
* 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>
2023-10-18 13:25:54 +01: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