Closed bartekpacia closed 2 months ago
A "Dev Database" is a component of an App Platform app. It is not a standalone offering and can only be created via App Platform.
With Terraform, you can add a "Dev Database" to an app by adding a database
with production = false
. For example:
resource "digitalocean_app" "golang-sample" {
spec {
name = "golang-sample"
region = "nyc"
service {
name = "go-service"
environment_slug = "go"
instance_count = 1
instance_size_slug = "apps-s-1vcpu-1gb"
git {
repo_clone_url = "https://github.com/digitalocean/sample-golang.git"
branch = "main"
}
}
database {
name = "dev-db"
engine = "PG"
production = false
}
}
}
See: https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/app
I see, thanks a ton!
Basically the question.
I ran:
but I don't see the size for Dev Database: