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
# Scaleway development instances using Terraform and cloud-init
2
2
3
-
## Usage
3
+
## Foreword
4
+
5
+
This Terraform module can be used to create cheap and disposable development machines with Scaleway cloud provider. For instance, these machines are well suited to be used with [Visual Studio Code SSH remote developement feature](https://code.visualstudio.com/docs/remote/ssh).
6
+
7
+
## Prerequisites
8
+
9
+
* Terraform 1.0+
10
+
*[jq](https://stedolan.github.io/jq/)
11
+
* A [Scaleway project](https://console.scaleway.com/project/) (default project is fine but [creating a new one](https://www.scaleway.com/en/docs/scaleway-project/) is encouraged)
12
+
13
+
## Introduction
4
14
5
-
1. Create your SSH key pair and [add it in your authorized keys](https://console.scaleway.com/account/credentials)
15
+
1. Define shell helper function to set Terraform variables
> This shell function takes two arguments (the variable key and value) and put the *key = value* in the *terraform.tfvars* file regardless of the existence of the variable (create or replace behaviour)
22
+
23
+
2. Create your SSH key pair and [add it in your authorized keys](https://console.scaleway.com/project/credentials)
0 commit comments