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
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
Henrique Santos
2ddeb17d8a
Update Renovate to v39 ( #89 )
...
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-17 10:22:08 +01: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
Henrique Santos
6372434e56
Implement Secrets Manager instance ( #85 )
...
* Implement secrets manager instance resource
* Implement secrets manager data source
* Implement secrets manager acc tests
* Add secrets manager to provider
* Fix typos
* Fix test name
* Fix typo
* Fix instance name
* Lint fix
* Remove unnecessary modifier
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-16 11:37:34 +01:00
Henrique Santos
6e51bdd5bf
Object storage improvements ( #84 )
...
* Add example
* Rename bucket_name --> bucket
* Fix examples in wrong folder
* Add example
* Lint examples
* Fix examples
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-13 18:33:45 +01:00
Henrique Santos
7334c802ad
Changes to release workflow ( #83 )
...
* Add workflow_dispatch trigger
* Remove branch check
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-13 15:38:36 +01:00
Henrique Santos
248b9834ff
Object storage misc fixes ( #82 )
...
* Fix wrong reference
* Fix schema
* Fix mapFields not fetching credentials group id
* Change expiration timestamp
* Fix schema
* Remove fields that don't come in the GET response
* Add RFC3339SecondsOnly
* Change expiration timestamp to not support fractional seconds
* Set retry timeout
* Harmonize expiration timestamp
* Skip import check on credential keys
* Add error check
* Update docs
* Change field description
* Add test case, simplify test
* Add test case, simplify test
* Rename variable
* Generate docs
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-13 15:02:48 +01:00
João Palet
5a5ac6640c
Rename credentials_id field to credential_id ( #80 )
...
* Rename credentials_id field to credential_id
* Address review comments
2023-10-12 14:57:05 +01:00
Henrique Santos
b02db190bf
Acceptance tests data changes ( #81 )
...
* Update minor versions
* Fix sgw acl
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-12 14:42:45 +01:00
Henrique Santos
0fb7d0d793
Implement object storage credential ( #79 )
...
* Implement credential resource
* Implement test
* Fix test
* Implement data source
* Implement credential acc test
* Add objectstorage credential
* Add test for enableProject
* Add readCredentials test
* Removed unnecessary test case
* Generate docs
* Fix lint
* Fix field name
* Readd credentials group checks
* Fix comment
* Fix comment
* Remove auth
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-12 14:42:31 +01:00
stackit-pipeline
f9b245ffb4
Update module github.com/google/go-cmp to v0.6.0 ( #77 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-10-12 12:04:44 +01:00
dependabot[bot]
e625bafe60
Bump golang.org/x/net from 0.15.0 to 0.17.0 ( #78 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-12 12:04:19 +01:00
Vicente Pinto
b8d2d94156
Onboard object storage credentials group ( #74 )
...
* Onboard credentials group resource
* Update object storage acc test
* Fix typo
* Generate docs, add examples, fix typos
* Refactor map fiels
* Add unit test for readCredentialsGroups
* Fix lint issues§
g
* Use projectId from Model
* Fix errors§
g
* Fix test
* Simplify signature of enableProject
* Change comment
* Add TestEnableProject
* Rename variable
* Add enableProject test
* Remove unused test setting
* Fix wrong error message
* Improve test case, rename mocked data
* Fix typo
* Removed unnecessary test case
* Removed unnecessary test case
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-12 09:34:38 +01:00
João Palet
fee47a6400
Rename DSA credentials to credential ( #76 )
...
* Rename in LogMe
* Rename in other DSA
* Rename examples
* Rename folder names
* Rename in error messages
2023-10-11 09:54:08 +02:00
João Palet
bd286d3c2d
Update actions/checkout action to v4 ( #75 )
2023-10-10 17:03:45 +02:00
stackit-pipeline
7e09904bc0
Update module github.com/stackitcloud/stackit-sdk-go/services/objectstorage to v0.4.0 ( #72 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-10-10 16:21:41 +02:00
stackit-pipeline
1eb856b150
Update module github.com/stackitcloud/stackit-sdk-go/services/argus to v0.4.0 ( #71 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-10-10 16:21:20 +02:00
stackit-pipeline
09a0777128
Update module github.com/hashicorp/terraform-plugin-framework to v1.4.1 ( #70 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-10-10 16:20:52 +02:00
stackit-pipeline
c5b34ed1bb
Update module golang.org/x/mod to v0.13.0 ( #66 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-10-10 16:20:33 +02:00
Vicente Pinto
9ec45e6be8
Add disclaimer to key flow doc ( #73 )
...
* Add disclaimer to key flow doc
* Fix wrong options
2023-10-10 09:54:21 +01:00
Vicente Pinto
590d169c68
Update README and template with more info on key flow ( #69 )
...
* Update README and template with more info on key flow
* Changes after review
2023-10-09 15:37:50 +01:00
Vicente Pinto
621b726926
Update README authentication section ( #68 )
...
* Add key flow params to provider
* Update docs, add examples
* Update README
2023-10-09 11:24:12 +01:00
Vicente Pinto
bc27bc20db
Key flow authentication ( #67 )
...
* Add key flow params to provider
* Update docs, add examples
2023-10-09 08:15:14 +01:00
Henrique Santos
7354808f02
Update services dependencies ( #64 )
...
* Update services dependencies
* Move reference
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-04 15:18:23 +01:00
stackit-pipeline
70e269a357
Update module github.com/stackitcloud/stackit-sdk-go/services/redis to v0.3.0 ( #63 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-10-03 08:33:45 +01:00