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
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
Henrique Santos
a88688ce93
Deprecate setting for JWKS custom endpoint ( #272 )
...
* Update core
* Deprecate JWKS custom endpoint
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2024-02-19 15:22:21 +00:00
Vicente Pinto
bde1fc55e4
Deprecate kubeconfig field and add stackit_ske_kubeconfig resource ( #256 )
...
* Implement kubeconfig resource
* Update acc test, skip get credentials
* Update acc test
* Add warning on Create
* Add option to refresh
* Fix lint
* Add comment, generate docs
* Update stackit/internal/services/ske/cluster/resource.go
Co-authored-by: João Palet <joao.palet@outlook.com>
* Update stackit/internal/services/ske/kubeconfig/resource.go
Co-authored-by: João Palet <joao.palet@outlook.com>
* Changes after review
* Fix schema
* Gen docs
* Rename
* Credentials handling in datasource, update acc test
* Fix datasource
* Update descriptions
---------
Co-authored-by: João Palet <joao.palet@outlook.com>
2024-02-09 10:17:04 +00:00
João Palet
d8734270f5
Add new resource and datasource for Load Balancer credentials ( #255 )
...
* Implement and test credential resource and data source
* Fix descriptions in load balancer instance schema
* Extend acceptance tests
* Add acceptance test requirements to README
* Generate updated docs
* Fix linter issues
* Add examples and update docs
* Fix examples
* Improvements from review
* Remove credential data source
2024-02-08 12:49:05 +01:00
Vicente Pinto
ba19c9cc74
Update core and key flow documentation ( #198 )
...
* Update sdk and documentation of key flow
* Generate docs
* Update README
* Update README.md
Co-authored-by: João Palet <joao.palet@outlook.com>
---------
Co-authored-by: João Palet <joao.palet@outlook.com>
2024-01-09 14:06:24 +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
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
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
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
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
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
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
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
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
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
d926e2d559
Object Storage: implement bucket ( #45 )
...
* Add object storage dependency
* Add object storage
* Add object storage
* Implement bucket resource
* Add map fields test
* Fix typos
* Implement data source
* Add Object Storage bucket
* Fix typo
* Implement Object Storage acc tests
* Go mod tidy
* Reword description
* Fix typos
* Fix typo
* Implement check destroy
* Add region in check destroy
* Add timeout in check destroy
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-09-29 14:37:32 +01:00
João Palet
f8c9e4c0af
Move internal packages into internal folder ( #33 )
...
* Move internal packages into internal folder
* Fix testutil imports
2023-09-26 19:44:16 +02:00
Henrique Santos
4e8514df00
Logging and error handling improvements, bug fixes ( #21 )
...
- Uniformed logs and diagnostics:
- Logging and adding to diagnostics is done by the highest level function (Create/Read/Update/Delete/Import) using `LogAndAddError`
- Lower-level routines' signature changed to return error instead of writing to diagnostics
- Standardize summary and details across services
- Removed manual adding of relevant variables to details (they're in the context, TF adds them to logs)
- Changed validators to be closer to official implementation
- Fix logging wrong output after wait
- Fix Argus checking wrong diagnostics
- Fix Resource Manager not updating state after project update
- Fix unnecessary pointer in LogAndAddError
2023-09-21 14:52:52 +01:00
vicentepinto98
e4c8a6fbf4
Initial commit
2023-09-07 11:34:45 +01:00