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
@@ -56,6 +57,8 @@ The following arguments are supported:
56
57
57
58
-`description` (Optional) The description of the container.
58
59
60
+
-`tags` - (Optional) The list of tags associated with the container.
61
+
59
62
-`environment_variables` - (Optional) The [environment variables](https://www.scaleway.com/en/docs/serverless-containers/concepts/#environment-variables) of the container.
60
63
61
64
-`secret_environment_variables` - (Optional) The [secret environment variables](https://www.scaleway.com/en/docs/serverless-containers/concepts/#secrets) of the container.
@@ -99,7 +102,7 @@ The following arguments are supported:
99
102
100
103
-`deploy` - (Optional) Boolean indicating whether the container is in a production environment.
101
104
102
-
-`local_storage_limit` - Local storage limit of the container (in MB)
105
+
-`local_storage_limit` - (Optional) Local storage limit of the container (in MB)
103
106
104
107
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.
Copy file name to clipboardExpand all lines: docs/resources/container_namespace.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ Refer to the Containers namespace [documentation](https://www.scaleway.com/en/do
16
16
resource "scaleway_container_namespace" "main" {
17
17
name = "main-container-namespace"
18
18
description = "Main container namespace"
19
+
tags = ["tag1", "tag2"]
19
20
}
20
21
```
21
22
@@ -27,15 +28,17 @@ The following arguments are supported:
27
28
28
29
~> **Important** Updates to the `name` argument will recreate the namespace.
29
30
30
-
-`description` (Optional) The description of the namespace.
31
+
-`description` - (Optional) The description of the namespace.
32
+
33
+
-`tags` - (Optional) The list of tags associated with the namespace.
31
34
32
35
-`region` - (Defaults to [provider](../index.md#region)`region`). The [region](../guides/regions_and_zones.md#regions) in which the namespace is created.
33
36
34
37
-`project_id` - (Defaults to [provider](../index.md#project_id)`project_id`) The unique identifier of the project that contains the namespace.
35
38
36
-
-`environment_variables` - The environment variables of the namespace.
39
+
-`environment_variables` - (Optional) The environment variables of the namespace.
37
40
38
-
-`secret_environment_variables` - The secret environment variables of the namespace.
41
+
-`secret_environment_variables` - (Optional) The secret environment variables of the namespace.
@@ -63,29 +65,31 @@ The following arguments are supported:
63
65
64
66
-`description` (Optional) The description of the function.
65
67
68
+
-`tags` - (Optional) The list of tags associated with the function.
69
+
66
70
-`environment_variables` - (Optional) The [environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#environment-variables) of the function.
67
71
68
72
-`secret_environment_variables` - (Optional) The [secret environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets) of the function.
69
73
70
74
-`privacy` - (Optional) The privacy type defines the way to authenticate to your function. Please check our dedicated [section](https://www.scaleway.com/en/developers/api/serverless-functions/#protocol-9dd4c8).
71
75
72
-
-`runtime` - Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-get-a-function)
76
+
-`runtime` - (Required) Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-get-a-function)
73
77
74
78
-`min_scale` - (Optional) The minimum number of function instances running continuously. Defaults to 0. Functions are billed when executed, and using a `min_scale` greater than 0 will cause your function to run constantly.
75
79
76
80
-`max_scale` - (Optional) The maximum number of instances this function can scale to. Default to 20. Your function will scale automatically based on the incoming workload, but will never exceed the configured `max_scale` value.
77
81
78
82
-`memory_limit` - (Optional) The memory resources in MB to allocate to each function. Defaults to 256 MB.
79
83
80
-
-`handler` - Handler of the function, depends on the runtime. Refer to the [dedicated documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-create-a-new-function) for the list of supported runtimes.
84
+
-`handler` - (Required) Handler of the function, depends on the runtime. Refer to the [dedicated documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-create-a-new-function) for the list of supported runtimes.
81
85
82
86
-`timeout` - (Optional) The maximum amount of time your function can spend processing a request before being stopped. Defaults to 300s.
83
87
84
-
-`zip_file` - Path to the zip file containing your function sources to upload.
88
+
-`zip_file` - (Optional) Path to the zip file containing your function sources to upload.
85
89
86
-
-`zip_hash` - The hash of your source zip file, changing it will redeploy the function. Can be any string, changing it will simply trigger a state change. You can use any Terraform hash function to trigger a change on your zip change (see examples).
90
+
-`zip_hash` - (Optional) The hash of your source zip file, changing it will redeploy the function. Can be any string, changing it will simply trigger a state change. You can use any Terraform hash function to trigger a change on your zip change (see examples).
87
91
88
-
-`deploy` - Define whether the function should be deployed. Terraform will wait for the function to be deployed. Your function will be redeployed if you update the source zip file.
92
+
-`deploy` - (Optional, defaults to `false`) Define whether the function should be deployed. Terraform will wait for the function to be deployed. Your function will be redeployed if you update the source zip file.
89
93
90
94
-`http_option` - (Optional) Allows both HTTP and HTTPS (`enabled`) or redirect HTTP to HTTPS (`redirected`). Defaults to `enabled`.
Copy file name to clipboardExpand all lines: docs/resources/function_namespace.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ Refer to the Functions namespace [documentation](https://www.scaleway.com/en/doc
16
16
resource "scaleway_function_namespace" "main" {
17
17
name = "main-function-namespace"
18
18
description = "Main function namespace"
19
+
tags = ["tag1", "tag2"]
19
20
}
20
21
```
21
22
@@ -29,13 +30,15 @@ The following arguments are supported:
29
30
30
31
-`description` (Optional) The description of the namespace.
31
32
33
+
-`tags` - (Optional) The list of tags associated with the namespace.
34
+
32
35
-`region` - (Defaults to [provider](../index.md#region)`region`). The [region](../guides/regions_and_zones.md#regions) in which the namespace is created.
33
36
34
37
-`project_id` - (Defaults to [provider](../index.md#project_id)`project_id`) The unique identifier of the project that contains the namespace.
35
38
36
-
-`environment_variables` - The environment variables of the namespace.
39
+
-`environment_variables` - (Optional) The environment variables of the namespace.
37
40
38
-
-`secret_environment_variables` - The secret environment variables of the namespace.
41
+
-`secret_environment_variables` - (Optional) The secret environment variables of the namespace.
0 commit comments