ionoscloud_nfs_cluster
Creates and manages Network File Storage (NFS) Cluster objects
Create clusters of Network File Storage (NFS) on IonosCloud.
Example Usage
Argument Reference
The following arguments are supported:
name
- (Required) The name of the Network File Storage cluster.location
- (Optional) The location where the Network File Storage cluster is located. If this is not set and if no value is provided for theIONOS_API_URL
env var, the defaultlocation
will be:de/fra
.de/fra
- Frankfurtde/txl
- Berlin
size
- (Required) The size of the Network File Storage cluster in TiB. Note that the cluster size cannot be reduced after provisioning. This value determines the billing fees. Default is2
. The minimum value is2
and the maximum value is42
.nfs
- (Optional) The NFS configuration for the Network File Storage cluster. Each NFS configuration supports the following:min_version
- (Optional) The minimum supported version of the NFS cluster. Supported values:4.2
. Default is4.2
.
connections
- (Required) A list of connections for the Network File Storage cluster. You can specify only one connection. Connections are immutable. Each connection supports the following:datacenter_id
- (Required) The ID of the datacenter where the Network File Storage cluster is located.ip_address
- (Required) The IP address and prefix of the Network File Storage cluster. The IP address can be either IPv4 or IPv6. The IP address has to be given with CIDR notation.lan
- (Required) The Private LAN to which the Network File Storage cluster must be connected.
⚠ NOTE:
IONOS_API_URL_NFS
can be used to set a custom API URL for the resource.location
field needs to be empty, otherwise it will override the custom API URL. Settingtoken
orIONOS_API_URL
does not have any effect.
Import
A Network File Storage Cluster resource can be imported using its location
and resource id
:
Last updated