Skip to content

Commit d7a25a5

Browse files
authored
Update README.md
1 parent 1ce6539 commit d7a25a5

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,24 @@
1-
# scaleway-cloud-init
1+
# Scaleway cloud-init demo using Terraform
2+
3+
## Usage
4+
5+
1. Retrieve your organization and token and export them:
6+
```
7+
export SCALEWAY_ORGANIZATION=<REDACTED>
8+
export SCALEWAY_TOKEN=<REDACTED>
9+
```
10+
11+
2. Initialize Terraform
12+
```
13+
terraform init
14+
```
15+
16+
3. Apply default plan
17+
```
18+
terraform apply
19+
```
20+
21+
4. SSH to the (first) created host
22+
```
23+
ssh -i ~/.ssh/scaleway root@$(terraform output --json | jq -r '.public_ips.value[0]')
24+
```

0 commit comments

Comments
 (0)