diff --git a/docs/README.md b/docs/README.md index babec4b9..b2fcca97 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1775,7 +1775,7 @@ Puppet data hierarchy. ### 10.15 Expand a volume Volumes defined in the `volumes` map can be expanded at will. To enable online extension of -a volume, add `autoresize = true` to its specs map. You can then increase the size at will. +a volume, add `enable_resize = true` to its specs map. You can then increase the size at will. The corresponding volume will be expanded by the cloud provider and the filesystem will be extended by Puppet. diff --git a/openstack/infrastructure.tf b/openstack/infrastructure.tf index 8ffe187a..e00342c4 100644 --- a/openstack/infrastructure.tf +++ b/openstack/infrastructure.tf @@ -100,7 +100,7 @@ resource "openstack_blockstorage_volume_v3" "volumes" { size = each.value.size volume_type = lookup(each.value, "type", null) snapshot_id = lookup(each.value, "snapshot", null) - enable_online_resize = lookup(each.value, "autoresize", false) + enable_online_resize = lookup(each.value, "enable_resize", false) } resource "openstack_compute_volume_attach_v2" "attachments" {