Skip to content

Commit b9a05d3

Browse files
authored
Add MONGODB as a database engine option (#783)
1 parent 8154f87 commit b9a05d3

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

digitalocean/app_spec.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,7 @@ func appSpecDatabaseSchema() *schema.Resource {
623623
"MYSQL",
624624
"PG",
625625
"REDIS",
626+
"MONGODB",
626627
}, false),
627628
Description: "The database engine to use.",
628629
},

docs/data-sources/app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ A `job` can contain:
184184
A `database` can contain:
185185

186186
* `name` - The name of the component.
187-
* `engine` - The database engine to use (`MYSQL`, `PG`, or `REDIS`).
187+
* `engine` - The database engine to use (`MYSQL`, `PG`, `REDIS`, or `MONGODB`).
188188
* `version` - The version of the database engine.
189189
* `production` - Whether this is a production or dev database.
190190
* `cluster_name` - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `cluster_name` is not set, a new cluster will be provisioned.

docs/resources/app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ A `job` can contain:
306306
A `database` can contain:
307307

308308
* `name` - The name of the component.
309-
* `engine` - The database engine to use (`MYSQL`, `PG`, or `REDIS`).
309+
* `engine` - The database engine to use (`MYSQL`, `PG`, `REDIS`, or `MONGODB`).
310310
* `version` - The version of the database engine.
311311
* `production` - Whether this is a production or dev database.
312312
* `cluster_name` - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `cluster_name` is not set, a new cluster will be provisioned.

0 commit comments

Comments
 (0)