Skip to content

Commit

Permalink
yolo
Browse files Browse the repository at this point in the history
  • Loading branch information
loftwah committed Aug 11, 2024
1 parent 6e59780 commit 9451242
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ resource "digitalocean_droplet" "web" {
size = "s-1vcpu-1gb"
image = "ubuntu-22-04-x64"
ssh_keys = [var.ssh_key_id]
user_data = <<-EOF
#!/bin/bash
# Update package list
apt-get update
user_data = <<EOF
#!/bin/bash
# Update package list
apt-get update
# Install Docker using get.docker.com script
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
EOF
}
# Install Docker using get.docker.com script
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
EOF
}

0 comments on commit 9451242

Please sign in to comment.