Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I’m using Terraform to spin up a DO droplet, using an Ubuntu and Docker image. Checkout below:
resource "digitalocean_droplet" "web" {
image = "docker-20-04"
name = "web"
region = "nyc3"
size = "s-1vcpu-1gb"
ssh_keys = [digitalocean_ssh_key.default.id]
user_data = "I2Nsb3Vk #.....etc......"
}
user_data is my cloud-config template encoded in base64.
I ssh into the droplet and notice that the packages listed in the template below are not getting installed.
#cloud-config
package_upgrade: true
package_update: true
packages:
- build-essential
- libmariadbclient-dev
- libjpeg62-turbo-dev
- zlib1g-dev
- libwebp-dev
- libpq-dev
- postgresql
- postgresql-contrib
Is there something wrong with my cloud config file above?
220b5e1380f8416db566e9737f7170
newdoaccount
b1ce657f03b24202bfb1e84d954a18
Rashwan
Rashwan
rozerin.yildiz
bffe20e2d092407798209addeb821c
hanz
Ban Alexandru
Alif