Volume resource: How to pass arguments to the driver
The new rancher volume resource allow volume management.
According to Rancher-ebs documentation an ebs volume needs configuration options in order to be properly initialized.
How can I set those options in terraform?
This is not implemented yet (we use mainly rancher-nfs, which doesn't require options). Implementing it shouldn't be too hard. It would essentially be a TypeMap parameter.
You can have a look at the rancher_stack resource for an example: https://github.com/terraform-providers/terraform-provider-rancher/blob/master/rancher/resource_rancher_stack.go#L58-L61
You will probably have to cast the structure like this: https://github.com/terraform-providers/terraform-provider-rancher/blob/master/rancher/resource_rancher_stack.go#L435