Skip to content

feat(GHO-109): upgrade Vultr provider to v2.28.1, remove block storage attachment workaround#318

Merged
noahwhite merged 2 commits intodevelopfrom
feature/GHO-109-upgrade-vultr-provider-to-v2.28.1
Mar 15, 2026
Merged

feat(GHO-109): upgrade Vultr provider to v2.28.1, remove block storage attachment workaround#318
noahwhite merged 2 commits intodevelopfrom
feature/GHO-109-upgrade-vultr-provider-to-v2.28.1

Conversation

@noahwhite
Copy link
Owner

Upgrades the Vultr Terraform provider from 2.22.1 to 2.28.1 and removes the block storage attachment workaround that was required due to provider bug #660.

Changes

  • Provider upgrade: vultr/vultr 2.22.1 → 2.28.1 in envs/dev and all three Vultr modules (block_storage, firewall, instance)
  • Lock file updated: .terraform.lock.hcl updated with 2.28.1 provider hashes
  • Workaround removed: Deleted null_resource "attach_block_storage" and the lifecycle { ignore_changes = [attached_to_instance] } from vultr_block_storage.this
  • Native attachment: attached_to_instance is now set directly on vultr_block_storage (the fix in 2.28.1 "Avoid empty PATCH during update" makes this reliable)
  • Tests added: vultr-block-storage.tofutest.hcl with 2 test runs covering defaults and custom values

Why not 2.30.1

v2.30.1 has a critical UpgradeResourceState panic on vultr_ssh_key and other resources. 2.28.1 is the stable fix point.

Closes #288.

…e workaround

- Upgrade vultr/vultr provider from 2.22.1 to 2.28.1 in all modules and envs/dev
- Remove null_resource attach_block_storage workaround (bug #660 fixed in 2.28.1)
- Remove lifecycle { ignore_changes = [attached_to_instance] } from vultr_block_storage
- Remove null provider dependency from block_storage module
- Set attached_to_instance directly on vultr_block_storage (native provider support)
- Add vultr-block-storage unit tests
- Update .terraform.lock.hcl with 2.28.1 provider hashes
@linear
Copy link

linear bot commented Mar 15, 2026

@noahwhite noahwhite merged commit eacc95f into develop Mar 15, 2026
6 checks passed
@noahwhite noahwhite deleted the feature/GHO-109-upgrade-vultr-provider-to-v2.28.1 branch March 15, 2026 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant