Skip to content

Commit

Permalink
Rename autoresize to enable_resize
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed May 13, 2024
1 parent 500577e commit 351d287
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1817,7 +1817,7 @@ Puppet data hierarchy.
### 10.14 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.
Expand Down
2 changes: 1 addition & 1 deletion openstack/infrastructure.tf
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,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" {
Expand Down

0 comments on commit 351d287

Please sign in to comment.