* Create observability resources
* add deprecation message to argus
* add warning to readme
* remove warning from readme
* add info back to migration md
* Update MIGRATION.md
Co-authored-by: João Palet <joao.palet@outlook.com>
---------
Co-authored-by: João Palet <joao.palet@outlook.com>
* Onboard network-area resource (#469)
* onboard network-area resource
* fix update network ranges
* fix linter issues
* add organization id to test util
* add examples
* change project count to computed and adapt unit tests
* extend acceptance tests
* add docs
* fix linter issues
* add datasource to provider
* remove routes from the datasource schema
* remove obsolete api cals
* remove raw response from create network area
* change network ranges to list of objects
* update examples
* fix linter issues
* Update stackit/internal/services/iaas/networkarea/resource.go
Co-authored-by: João Palet <joao.palet@outlook.com>
* add network range id to schema
* map network_range_id
* fix unit tests
* adapt acceptance test
* fix acceptance tests
* Update stackit/internal/services/iaas/iaas_acc_test.go
Co-authored-by: João Palet <joao.palet@outlook.com>
---------
Co-authored-by: João Palet <joao.palet@outlook.com>
* Add network area to beta resources list (#481)
* add network area to beta resources list
* add accidentally removed line
* add accidentally removed line
* Fix multi range creation issue (#483)
* fix multi range creation issue
* fix network range update issue
* fix some unit tests
* fix order issue
* Update stackit/internal/services/iaas/networkarea/resource.go
Co-authored-by: João Palet <joao.palet@outlook.com>
* add unit test to cover the reconciled list
---------
Co-authored-by: João Palet <joao.palet@outlook.com>
* Onboard IaaS network area route (#491)
* onboard network area route
* generate docs
* add route to beta resources
* extend acceptance test
* fix import id handling
* Update next_hop description
Co-authored-by: João Palet <joao.palet@outlook.com>
* Update prefix description
Co-authored-by: João Palet <joao.palet@outlook.com>
* change descriptions in datasource
* add IP and CIDR validators
* use requiresReplace in resource
* improve error logs
* change the create response handling
* update docs
* change route and route id detection
---------
Co-authored-by: João Palet <joao.palet@outlook.com>
---------
Co-authored-by: João Palet <joao.palet@outlook.com>
* Extend resource and datasource
* Adapt acc test to work without members
* Extend acc test and adjust resource
* Generate docs
* Fix lint
* Fix unit test
* Uniformize description with datasource and extend unit test
* Improve role field description
* Update TF state before adding/removing members
* Remove unused function
* Move intermediate map top state to mapProjectFields
* Improve code
* Onboard SQLServer Flex user resource
* change roles
* fix unit tests
* make database field optional // adapt test and documentation
* add sleep time to instance creation
* fix service name in logs and descriptions
* extend username plan modifiers
* update docs
* remove database field
* remove database // make roles optional
* update docs
* 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
* 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
* 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
* 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>
* 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
- 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