nats-io / terraform-provider-jetstream

Terraform Provider to manage NATS JetStream
Apache License 2.0
55 stars 13 forks source link

Allow to specify storage type when creating a K/V bucket #103

Open sharizard opened 1 year ago

sharizard commented 1 year ago

What motivated this proposal?

We want to Terraform to create Jetstream KV storage. Right now, we have to click-ops the creating of storage because storage type is defaulted to file when we want to use memory based storage.

What is the proposed change?

Update jetstream_kv_bucket resource to allow storage type as input (similar to what jetstream_stream resource offers.

Storage should not be required, and default value should be file.

Who benefits from this change?

Anyone who wants to create a Jetstream KV storage with memory based storage using Terraform.

What alternatives have you evaluated?

No response