Commit graph

469 commits

Author SHA1 Message Date
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
d9683265db
Update module github.com/stackitcloud/stackit-sdk-go/services/argus to v0.2.0 (#53)
* Update module github.com/stackitcloud/stackit-sdk-go/services/argus to v0.2.0

* Update operation after argus update

---------

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: vicentepinto98 <vicente.pinto@freiheit.com>
2023-10-02 16:52:00 +01:00
stackit-pipeline
db9e05b326
Update module github.com/stackitcloud/stackit-sdk-go/services/ske to v0.2.0 (#60)
* Update module github.com/stackitcloud/stackit-sdk-go/services/ske to v0.2.0

* Fix ske acc test

---------

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>
2023-10-02 09:29:46 +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
Henrique Santos
175ce93f85
Fix data source references (#61)
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-09-29 10:12:18 +01:00
Henrique Santos
043c83ee14
Fix log typo (#37)
* Fix log typo

* Fix fix

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-09-27 16:34:54 +01:00
Henrique Santos
cb26399be6
Add details to log (#35)
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-09-27 10:16:03 +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
Vicente Pinto
46be7cfafd
Add warning during ske cluster creation when invalid argus instance id is provided (#32)
* Add warning during cluster creation if argus instance id is invalid

* Update warning message

* Add ske v0.1.1
2023-09-26 18:00:07 +01:00
Vicente Pinto
d3cdbf0e2a
Argus/Postgresflex Credentials import documentation and fix (#22)
* Add documentation

* Remove password from datasource

* Fix bug§

* add warning

* Create logAndWarning function
2023-09-25 10:47:28 +01: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
João Palet
386ccac6b4
Extend DSA Reads to compute plan name and version from plan ID (#20)
* Extend Read to compute plan name and version from plan ID

* Lint

* Fix error handling; Pass client to loadPlanNameAndVersion

* Change error to warning

* Replicate to other DSA

* Update acc tests to test import of plan name and version
2023-09-20 11:00:08 +02:00
João Palet
1b1301b011
Add migration import examples for the SKE and LogMe services (#15)
* Fix internal ID strucutre description

* Add example to MIGRATION.md

* Add SKE example

* Add LogMe instance and note for import issue
2023-09-11 15:09:33 +02:00
João Palet
82b0c6ff6c
Document resource's internal ID structure and create foundation for migration guide (#12)
* Add internal ID structure to DSA instance descriptions

* Add internal ID structure to DSA credential descriptions

* Add internal ID structure to Argus descriptions

* Add internal ID structure to DNS descriptions

* Add internal ID structure to PostgresFlex descriptions

* Add internal ID structure to ResourceManager descriptions

* Add internal ID structure to SKE descriptions

* Generate updated docs

* Add first basis for migration guide
2023-09-08 18:03:26 +01:00
João Palet
d5274a83d0
Fix DSA acceptance tests (#7)
* Fix MariaDB acceptance test

* Fix PostgreSQL acceptance test

* Fix LogMe acceptance test

* Fix RabbitMQ acceptance test

* Fix Redis acceptance test

* Fix OpenSearch acceptance test
2023-09-08 13:08:18 +02:00
Henrique Santos
2c93e4a6f0
DNS | Fix zone updates failing (#6)
* Fix API returning error on updates

* Add DNS zone update test

* Fix primaires not used to update

* Add primaries to model

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-09-08 11:06:07 +01:00
Henrique Santos
6800f7a421
Update DSA dependencies (#5)
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-09-07 16:09:14 +01:00
João Palet
d5906cb6b1
Fix possible provider inconsistent state with LogMe (#4) 2023-09-07 16:50:05 +02:00
vicentepinto98
e4c8a6fbf4 Initial commit 2023-09-07 11:34:45 +01:00