dariusbakunas / terraform-provider-truenas

Experimental terraform provider to manage TrueNAS server
MIT License
72 stars 17 forks source link

No Inherit option for truenas_dataset compression option #16

Open Razaekel opened 1 year ago

Razaekel commented 1 year ago

Default option when creating a dataset through the webUI is Inherit, but the plugin doesn't allow Inherit as an option.

>terraform plan
╷
│ Error: expected compression to be one of [off lz4 gzip gzip-1 gzip-9 zstd zstd-fast zle lzjb zstd-1 zstd-2 zstd-3 zstd-4 zstd-5 zstd-6 zstd-7 zstd-8 zstd-9 zstd-10 zstd-11 zstd-12 zstd-13 zstd-14 zstd-15 zstd-16 zstd-17 zstd-18 zstd-19 zstd-fast-1 zstd-fast-2 zstd-fast-3 zstd-fast-4 zstd-fast-5 zstd-fast-6 zstd-fast-7 zstd-fast-8 zstd-fast-9 zstd-fast-10 zstd-fast-20 zstd-fast-30 zstd-fast-40 zstd-fast-50 zstd-fast-60 zstd-fast-70 zstd-fast-80 zstd-fast-90 zstd-fast-100 zstd-fast-500 zstd-fast-1000], got inherit
│
│   with truenas_dataset.backups,
│   on main.tf line 44, in resource "truenas_dataset" "backups":
│   44:         compression = "inherit"