Overview
Supported Block Storage Configurations
- Create and attach storage using only variables nested within the instance - Ideal for stateless instances that won't require storage to be reconfigured, moved, or reattached in the future. This configuration is required for VM variable blocks that create more than one instance.
- Create storage independent of any instance that can be detached and reattached as needed - Recommended for databases and other instances that have critical data. This configuration can only be used with VM variable blocks that make a single instance.
- Reference storage unmanaged by Terraform to attach to an instance - Required when instances need to be attached to storage not created by Terraform.
Note: The different methods of defining block storage may be combined to create a flexible storage configuration.