github.com/pluralsh/plural-cli@v0.9.5/pkg/ui/web/src/graphql/terraforms.graphql (about) 1 fragment Terraform on Terraform { 2 id 3 name 4 readme 5 package 6 description 7 latestVersion 8 dependencies { ...Dependencies } 9 valuesTemplate 10 insertedAt 11 } 12 13 fragment TerraformInstallation on TerraformInstallation { 14 id 15 terraform { ...Terraform } 16 version { ...Version } 17 } 18 19 query GetTerraform($id: ID!) { 20 terraform(repositoryId: $id, first: 100) { 21 edges { 22 node { 23 ...Terraform 24 } 25 } 26 } 27 } 28 29 query GetTerraformInstallations($id: ID!) { 30 terraformInstallations(repositoryId: $id, first: 100) { 31 edges { 32 node { 33 ...TerraformInstallation 34 } 35 } 36 } 37 } 38 39 mutation UploadTerraform($repoName: String!, $name: String!, $uploadOrUrl: UploadOrUrl!) { 40 uploadTerraform(repositoryName: $repoName, name: $name, attributes: {name: $name, package: $uploadOrUrl}) { 41 ...Terraform 42 } 43 } 44 45 mutation UninstallTerraform($id: ID!) { 46 uninstallTerraform(id: $id) { id } 47 }