fix: fix flavor in sql server flex beta
This commit is contained in:
parent
bf2264120a
commit
4ca2d6a05d
5 changed files with 160 additions and 108 deletions
|
|
@ -8,7 +8,15 @@ resource "stackitprivatepreview_sqlserverflexbeta_instance" "{{ .TfName }}" {
|
|||
name = "{{ .Name }}"
|
||||
backup_schedule = "{{ .BackupSchedule }}"
|
||||
retention_days = {{ .RetentionDays }}
|
||||
{{ if .UseFlavorId }}
|
||||
flavor_id = "{{ .FlavorID }}"
|
||||
{{ else }}
|
||||
flavor = {
|
||||
cpu = {{ .FlavorCpu }}
|
||||
ram = {{ .FlavorRam }}
|
||||
}
|
||||
replicas = {{ .Replicas }}
|
||||
{{ end }}
|
||||
storage = {
|
||||
class = "{{ .PerformanceClass }}"
|
||||
size = {{ .Size }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue