An open API service indexing awesome lists of open source software.

https://github.com/ahmedalaa14/terraform-digitalocean

This Terraform project is to build Ubuntu Droplet on DigitalOcean
https://github.com/ahmedalaa14/terraform-digitalocean

digitalocean terraform ubuntu

Last synced: over 1 year ago
JSON representation

This Terraform project is to build Ubuntu Droplet on DigitalOcean

Awesome Lists containing this project

README

          

# Create Ubuntu Droplet on DigitalOcean

- This `Terraform` project is to build `Ubuntu` Droplet on DigitalOcean

### Step 1: After Signing up create `New-Project`

### Step 2: Add your `SSH Key`
1. Navigate to `Settings` on the left panel
2. Choose `Security` and add your `Public SSH Key`

### Step 3: Create `Token`
1. Navigate to `API` on the left panel
2. `Generate New Token` make sure you mark the `Write` option
3. Create a new file in the project `terraform.tfvars` and add the `Token` as a variable

`Replace with the token you have generated`
```
token=""
```

### Step 4: Build `Ubuntu` Droplet
```
terraform init
```
```
terraform plan
```
```
terraform apply -auto-approve
```