Addd regional support for serverbackup resource and data-source (#745)

* feat(serverbackup): add regional support

* fix: corrections for review findings
This commit is contained in:
Rüdiger Schmitz 2025-03-28 09:24:52 +01:00 committed by GitHub
parent 8b57c35712
commit a870b71d0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 220 additions and 89 deletions

View file

@ -32,6 +32,10 @@ data "stackit_server_backup_schedule" "example" {
- `project_id` (String) STACKIT Project ID to which the server is associated.
- `server_id` (String) Server ID for the backup schedule.
### Optional
- `region` (String) The resource region. If not defined, the provider region is used.
### Read-Only
- `backup_properties` (Attributes) Backup schedule details for the backups. (see [below for nested schema](#nestedatt--backup_properties))
@ -48,3 +52,5 @@ Read-Only:
- `name` (String)
- `retention_period` (Number)
- `volume_ids` (List of String)

View file

@ -30,6 +30,10 @@ data "stackit_server_backup_schedules" "example" {
- `project_id` (String) STACKIT Project ID (UUID) to which the server is associated.
- `server_id` (String) Server ID (UUID) to which the backup schedule is associated.
### Optional
- `region` (String) The resource region. If not defined, the provider region is used.
### Read-Only
- `id` (String) Terraform's internal data source identifier. It is structured as "`project_id`,`server_id`".
@ -54,3 +58,5 @@ Read-Only:
- `name` (String)
- `retention_period` (Number)
- `volume_ids` (List of String)