mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2026-01-20 05:32:56 -05:00
* feat: Implement docker cluster volume * fix: linter findings * fix: Make cluster attribute updateable
19 lines
299 B
HCL
19 lines
299 B
HCL
resource "docker_volume" "foo" {
|
|
name = "testAccDockerVolume_cluster"
|
|
|
|
driver = "local"
|
|
driver_opts = {
|
|
type = "btrfs"
|
|
device = "/dev/sda2"
|
|
}
|
|
|
|
cluster {
|
|
scope = "multi"
|
|
sharing = "all"
|
|
group = "testgroup"
|
|
|
|
required_bytes = "1MiB"
|
|
limit_bytes = "2MiB"
|
|
}
|
|
|
|
}
|