TL;DR
disk_size variable is only used at instance creation. Subsequent changes to the disk size are ignored.
Expected behavior
Increasing disk size passed to the module should increase the disk size of the instance if disk__autoresize is false.
Decreasing disk size passed to the module should delete and recreate the instance if deletion_protection is set to false
Observed behavior
disk_size is ignored by the module
Terraform Configuration
disk_size = 100
disk_autoresize = false
Terraform Version
Tested with Terraform 1.2.3
Additional information
Issue was previously reported as #148 and was closed without being fixed
TL;DR
disk_size variable is only used at instance creation. Subsequent changes to the disk size are ignored.
Expected behavior
Increasing disk size passed to the module should increase the disk size of the instance if disk__autoresize is false.
Decreasing disk size passed to the module should delete and recreate the instance if deletion_protection is set to false
Observed behavior
disk_size is ignored by the module
Terraform Configuration
Terraform Version
Additional information
Issue was previously reported as #148 and was closed without being fixed