From 64bd4bd821cd085e219f49f6b8cfdb11ece57418 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix-Antoine=20Fortin?= Date: Thu, 29 Feb 2024 15:23:12 -0500 Subject: [PATCH] Rename autoresize to enable_resize --- docs/README.md | 2 +- openstack/infrastructure.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" {