Skip to content

Increasing size_in_gb for scaleway_block_volume forces volume recreation instead of resize #3145

@VasiliyRoss

Description

@VasiliyRoss

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

Terraform v1.11.1

Affected Resource(s)

  • scaleway_block_volume

Terraform Configuration Files

resource "scaleway_block_volume" "volume" {
  size_in_gb = 30
  zone       = "nl-ams-1"
  iops       = 5000
  name       = "demo"
}

Expected Behavior

The existing volume should be resized/extended to the new capacity without being recreated.

Actual Behavior

The volume is destroyed and a new one is created with the increased size.

Steps to Reproduce

  1. Create a block volume with size_in_gb = 10
  2. Apply the configuration
  3. Increase size_in_gb to 20
  4. Apply the configuration again

Metadata

Metadata

Assignees

Labels

priority:highestBugs filled by customers, security issuessbsScaleway Block Storage issues, bugs and feature requests

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions