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
@@ -104,6 +107,10 @@ The following arguments are supported:
104
107
105
108
-`local_storage_limit` - (Optional) Local storage limit of the container (in MB)
106
109
110
+
-`command` - (Optional) Command executed when the container starts. This overrides the default command defined in the container image. This is usually the main executable, or entry point script to run.
111
+
112
+
-`args` - (Optional) Arguments passed to the command specified in the "command" field. These override the default arguments from the container image, and behave like command-line parameters.
113
+
107
114
Note that if you want to use your own configuration, you must consult our configuration [restrictions](https://www.scaleway.com/en/docs/serverless-containers/reference-content/containers-limitations/#configuration-restrictions) section.
Creates and manages a Scaleway File Storage (NFS) filesystem in a specific region. A filesystem is a scalable storage resource that can be mounted on Compute instances and is typically used for shared, persistent storage.
9
+
10
+
This resource allows you to define and manage the size, tags, and region of a filesystem, and track its creation and update timestamps, current status, and number of active attachments.
11
+
12
+
## Example Usage
13
+
14
+
### Basic
15
+
16
+
```terraform
17
+
resource scaleway_file_filesystem file {
18
+
name = "my-nfs-filesystem"
19
+
size = 100000000000 # 100 GB
20
+
}
21
+
```
22
+
23
+
## Argument Reference
24
+
25
+
-`name` - (Optional) The name of the filesystem. If not provided, a random name will be generated.
26
+
-`size` - (Required) The size of the filesystem in bytes, with a granularity of 100 GB (10¹¹ bytes).
27
+
- Minimum: 100 GB (100000000000 bytes)
28
+
- Maximum: 10 TB (10000000000000 bytes)
29
+
-`tags` - (Optional) A list of tags associated with the filesystem.
30
+
-`region` - (Defaults to [provider](../index.md#region)`region`) The region where the filesystem will be created (e.g., fr-par, nl-ams).
31
+
-`project_id` - (Defaults to [provider](../index.md#project_id)`project_id`) The ID of the project the server is
32
+
associated with.
33
+
-`organization_id` - (Defaults to [provider](../index.md#organization_id)`organization_id`) The ID of the organization the user is associated with.
34
+
35
+
## Attributes Reference
36
+
37
+
In addition to all arguments above, the following attributes are exported:
38
+
39
+
-`id` - The ID of the filesystem.
40
+
-`status` - The current status of the filesystem. Possible values include creating, available, etc.
41
+
-`number_of_attachments` - The number of active attachments (mounts) on the filesystem.
42
+
-`created_at` - The date and time when the File Storage filesystem was created.
43
+
-`updated_at` - The date and time of the last update to the File Storage filesystem.
44
+
45
+
## Import
46
+
47
+
48
+
File Storage filesystems can be imported using the `{region}/{id}`, e.g.
When `username` is set, the user is created as a [Member](https://www.scaleway.com/en/docs/iam/concepts/#member). Otherwise, it is created as a [Guest](https://www.scaleway.com/en/docs/iam/concepts/#guest).
-`tags` - (Optional) The tags associated with the user.
59
55
60
-
-`username` - (Optional) The username of the IAM user. When it is set, the user is created as a Member. When it is not set, the user is created as a Guest and the username is set as equal to the email.
56
+
-`username` - (Required) The username of the IAM user.
0 commit comments