fix: re-enable sqlserverflex flavor
All checks were successful
CI Workflow / Check GoReleaser config (pull_request) Successful in 1m19s
Notify on new PR / Notify via Google Chat (pull_request) Successful in 45s
CI Workflow / Prepare GO cache (pull_request) Successful in 2m9s
CI Workflow / CI run build and linting (pull_request) Successful in 7m56s
CI Workflow / Code coverage report (pull_request) Successful in 46s
CI Workflow / CI run tests (pull_request) Successful in 9m30s
CI Workflow / Test readiness for publishing provider (pull_request) Successful in 13m1s
TF Acceptance Tests Workflow / Acceptance Tests (pull_request) Successful in 16m45s
All checks were successful
CI Workflow / Check GoReleaser config (pull_request) Successful in 1m19s
Notify on new PR / Notify via Google Chat (pull_request) Successful in 45s
CI Workflow / Prepare GO cache (pull_request) Successful in 2m9s
CI Workflow / CI run build and linting (pull_request) Successful in 7m56s
CI Workflow / Code coverage report (pull_request) Successful in 46s
CI Workflow / CI run tests (pull_request) Successful in 9m30s
CI Workflow / Test readiness for publishing provider (pull_request) Successful in 13m1s
TF Acceptance Tests Workflow / Acceptance Tests (pull_request) Successful in 16m45s
This commit is contained in:
parent
8fee76f037
commit
77bc9a6026
2 changed files with 18 additions and 2 deletions
|
|
@ -97,7 +97,6 @@ import {
|
|||
### Required
|
||||
|
||||
- `backup_schedule` (String) The schedule for on what time and how often the database backup will be created. The schedule is written as a cron schedule.
|
||||
- `flavor_id` (String) The id of the instance flavor.
|
||||
- `name` (String) The name of the instance.
|
||||
- `network` (Attributes) the network configuration of the instance. (see [below for nested schema](#nestedatt--network))
|
||||
- `retention_days` (Number) The days for how long the backup files should be stored before cleaned up. 30 to 365
|
||||
|
|
@ -107,6 +106,8 @@ import {
|
|||
### Optional
|
||||
|
||||
- `encryption` (Attributes) this defines which key to use for storage encryption (see [below for nested schema](#nestedatt--encryption))
|
||||
- `flavor` (Attributes, Deprecated) (see [below for nested schema](#nestedatt--flavor))
|
||||
- `flavor_id` (String) The id of the instance flavor.
|
||||
- `instance_id` (String) The ID of the instance.
|
||||
- `project_id` (String) The STACKIT project ID.
|
||||
- `region` (String) The region which should be addressed
|
||||
|
|
@ -156,3 +157,17 @@ Required:
|
|||
- `kek_key_ring_id` (String) The keyring identifier
|
||||
- `kek_key_version` (String) The key version
|
||||
- `service_account` (String)
|
||||
|
||||
|
||||
<a id="nestedatt--flavor"></a>
|
||||
### Nested Schema for `flavor`
|
||||
|
||||
Optional:
|
||||
|
||||
- `cpu` (Number, Deprecated)
|
||||
- `ram` (Number, Deprecated)
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `description` (String)
|
||||
- `id` (String)
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ import (
|
|||
"github.com/hashicorp/terraform-plugin-log/tflog"
|
||||
sdkauth "github.com/stackitcloud/stackit-sdk-go/core/auth"
|
||||
"github.com/stackitcloud/stackit-sdk-go/core/config"
|
||||
sqlserverFlexBetaFlavor "tf-provider.git.onstackit.cloud/stackit-dev-tools/terraform-provider-stackitprivatepreview/stackit/internal/services/sqlserverflexbeta/flavor"
|
||||
|
||||
//sqlserverflexalphaDatabase "tf-provider.git.onstackit.cloud/stackit-dev-tools/terraform-provider-stackitprivatepreview/stackit/internal/services/sqlserverflexalpha/database"
|
||||
//sqlserverflexalphaInstance "tf-provider.git.onstackit.cloud/stackit-dev-tools/terraform-provider-stackitprivatepreview/stackit/internal/services/sqlserverflexalpha/instance"
|
||||
|
|
@ -542,7 +543,7 @@ func (p *Provider) DataSources(_ context.Context) []func() datasource.DataSource
|
|||
sqlserverFlexBetaDatabase.NewDatabaseDataSource,
|
||||
sqlserverflexBetaInstance.NewInstanceDataSource,
|
||||
sqlserverflexbetaUser.NewUserDataSource,
|
||||
// sqlserverFlexBetaFlavor.NewFlavorDataSource,
|
||||
sqlserverFlexBetaFlavor.NewFlavorDataSource,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue