SFS
Provides an e2e node resource. provides an on-demand, scalable, and high-performance shared file system for Elastic Cloud Servers.
Example uses
resource "e2e_sfs" "sfs1" {
name = "sfs-999"
plan = "500 GB"
vpc_id = "12345" # Replace with your actual vpc ID
disk_size = 500
project_id = "12345" # Replace with your actual project ID
disk_iops = 7500
region = "Delhi"
is_encryption_enabled = true # Optional
encryption_passphrase = "my-secret-passphrase" # optional ,only set if is_encryption_enabled=true
}
Schema
Required
disk_iops(Number) input output per seconddisk_size(Number) size of disk to be createdname(String) The name of the resource, also acts as it's unique IDplan(String) Details of the Planproject_id(String) size of disk to be createdvpc_id(String) virtual private cloud id of sfsregion(String) Location where node is to be launched.Default is "Delhi"
Optional
is_encryption_enabled(Boolean) Whether encryption is enabled for the SFS. Defaults to false.encryption_passphrase(String, Sensitive) Passphrase for encryption. Required only if is_encryption_enabled is true.
Read-Only
id(String) The ID of this resource.status(String) Current status of the SFS instance.