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
- Host: GitHub
- URL: https://github.com/ahmedalaa14/terraform-digitalocean
- Owner: ahmedalaa14
- Created: 2024-07-17T07:47:23.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-19T17:58:48.000Z (almost 2 years ago)
- Last Synced: 2025-02-01T17:42:27.118Z (over 1 year ago)
- Topics: digitalocean, terraform, ubuntu
- Language: HCL
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```