Skip to content

v2.5.0

Compare
Choose a tag to compare
@terraform-ibm-modules-ops terraform-ibm-modules-ops released this 18 Aug 13:00
· 248 commits to main since this release
v2.5.0
9ea08ab

2.5.0 (2023-08-18)

Features

  • added the ability to optionally specify resource group in the block_storage_volumes variable. If not specified, it will use the value of the resource_group_id variable. Previously it was defaulting to the Default resource group. (#507) (9ea08ab)

⚠️ Warning

If you are upgrading from a previous release, and your config was set up to deploy a VSI with additional data volumes using the block_storage_volumes variable, the terraform plan will tell you that it wants to destroy the volumes that are in the Default resource group and recreate them in the correct group (either the group defined in the required resource_group_id variable, or the group defined in the block_storage_volumes variable itself).

If indeed you wish to continue to keep your data volumes in the Default resource group (to prevent them from being destroyed and recreated on upgrade), you can achieve this by adding the Default resource group ID into the block_storage_volumes variable. For example:

block_storage_volumes = [
    {
      name              = "my-data-vol"
      profile           = "10iops-tier"
      resource_group_id = "65xxxxxxxxxxxxxxxa3fd" # This should be the ID of the Default resource group in your account
  }]