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
Copy file name to clipboardExpand all lines: .golangci.yml
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,11 @@ formatters:
5
5
- gofmt # Gofmt checks whether code was gofmt-ed. By default this tool runs with -s option to check for code simplification [fast: true, auto-fix: true]
Copy file name to clipboardExpand all lines: docs/guides/migration_guide_v2.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ Hence it is named: `scaleway_object_bucket`.
103
103
### Migration guide for renamed resources
104
104
105
105
Because the resources changed their name, we cannot use automatic state migration.
106
-
We will first get the identifier of the resource, then remove the resource from the terraform state and then use [`terraform import`](https://www.terraform.io/docs/import/usage.html) to import existing resources to a renamed resource.
106
+
We will first get the identifier of the resource, then remove the resource from the terraform state and then use [`terraform import`](https://www.terraform.io/terraform/cli/import) to import existing resources to a renamed resource.
107
107
108
108
For instance, let's suppose that you have resource in `fr-par-1` such as:
Copy file name to clipboardExpand all lines: docs/resources/container.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,10 @@ The following arguments are supported:
111
111
112
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
113
114
+
-`private_network_id` (Optional) The ID of the Private Network the container is connected to.
115
+
116
+
~> **Important** This feature is currently in beta and requires a namespace with VPC integration activated by setting the `activate_vpc_integration` attribute to `true`.
117
+
114
118
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
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,10 @@ The following arguments are supported:
40
40
41
41
-`secret_environment_variables` - (Optional) The secret environment variables of the namespace.
42
42
43
+
-`activate_vpc_integration` - (Optional) Activates VPC integration for the namespace. Containers of a namespace with VPC integration activated will be able to connect to a Private Network.
44
+
45
+
~> **Important** Updates to `activate_vpc_integration` will recreate the namespace.
46
+
43
47
## Attributes Reference
44
48
45
49
The `scaleway_container_namespace` resource exports certain attributes once the Containers namespace has been created. These attributes can be referenced in other parts of your Terraform configuration.
Copy file name to clipboardExpand all lines: docs/resources/function.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,6 +99,9 @@ The following arguments are supported:
99
99
100
100
-`project_id` - (Defaults to [provider](../index.md#project_id)`project_id`) The ID of the project the functions namespace is associated with.
101
101
102
+
-`private_network_id` (Optional) The ID of the Private Network the function is connected to.
103
+
104
+
~> **Important** This feature is currently in beta and requires a namespace with VPC integration activated by setting the `activate_vpc_integration` attribute to `true`.
Copy file name to clipboardExpand all lines: docs/resources/function_namespace.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,10 @@ The following arguments are supported:
40
40
41
41
-`secret_environment_variables` - (Optional) The secret environment variables of the namespace.
42
42
43
+
-`activate_vpc_integration` - (Optional) Activates VPC integration for the namespace. Functions of a namespace with VPC integration activated will be able to connect to a Private Network.
44
+
45
+
~> **Important** Updates to `activate_vpc_integration` will recreate the namespace.
46
+
43
47
## Attributes Reference
44
48
45
49
The `scaleway_function_namespace` resource exports certain attributes once the Functions namespace has been created. These attributes can be referenced in other parts of your Terraform configuration.
Copy file name to clipboardExpand all lines: docs/resources/instance_server.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -260,6 +260,10 @@ attached to the server. Updates to this field will trigger a stop/start of the s
260
260
261
261
-`protected` - (Optional) Set to true to activate server protection option.
262
262
263
+
-`admin_password_encryption_ssh_key_id` - (Optional) The ID of the SSH RSA key that will be used to encrypt the initial admin password for OS requiring it.
264
+
Mandatory for Windows OS. The public_key value of this key is used to encrypt the admin password.
265
+
When set to an empty string, it resets this value and admin_password_encrypted_value to an empty string so a new password may be generated.
266
+
263
267
-`zone` - (Defaults to [provider](../index.md#zone)`zone`) The [zone](../guides/regions_and_zones.md#zones) in which the server should be created.
264
268
265
269
-`project_id` - (Defaults to [provider](../index.md#project_id)`project_id`) The ID of the project the server is associated with.
0 commit comments