Monnicore
Monnicore
RRailway
Created by Monnicore on 3/19/2024 in #✋|help
Deploying Postgres from GraphQL
Hello ! 👋
I'm having a heck of a time trying to deploy a postgresql database through the GraphQL endpoint, but I'm able to create the project and post what always ends up being a blank template to said project. I'm looking to deploy both a postgresql database and one of my private github repos. Deploying A Project
mutation createProject {
projectCreate(input: {name: "that new new"}) {
name
id
}
}
mutation createProject {
projectCreate(input: {name: "that new new"}) {
name
id
}
}
Deploying PostgreSQL
mutation deployDatabase {
templateDeploy(
input: {
services: {
serviceName: "postgresql",
template: "postgresql"
},
projectId: "<CODE>",
templateCode: "postgresql"}) {
projectId
}
}
mutation deployDatabase {
templateDeploy(
input: {
services: {
serviceName: "postgresql",
template: "postgresql"
},
projectId: "<CODE>",
templateCode: "postgresql"}) {
projectId
}
}
Question - Is what I'm doing possible through the API, and can someone help point me in the right direction? Thanks in advance!
20 replies