You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AttachVolume transitions volume to in-use and associates it with the instance
DetachVolume transitions volume back to available
DeleteVolume fails if volume is in-use
State should be queryable immediately after each operation (no eventual consistency delay needed in test mode)
Motivation
Used by Prism for persistent research workspace storage. The full attach/detach lifecycle (CreateVolume → AttachVolume → DetachVolume → DeleteVolume) is exercised in integration tests. Without these, Substrate cannot replace LocalStack for Prism's test suite.
Implementation Notes
These fit naturally in ec2_plugin.go following the existing instance/security-group patterns. A simple in-memory volume store (map keyed by volume ID) with state machine transitions (creating → available → in-use → available → deleted) should be sufficient.
Activity
Release v0.45.6: EC2 EBS volumes + IAM instance profiles + SSM Run Co…