summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/terraform/graphql/mutations/remove_state.mutation.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/terraform/graphql/mutations/remove_state.mutation.graphql')
-rw-r--r--app/assets/javascripts/terraform/graphql/mutations/remove_state.mutation.graphql5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/javascripts/terraform/graphql/mutations/remove_state.mutation.graphql b/app/assets/javascripts/terraform/graphql/mutations/remove_state.mutation.graphql
new file mode 100644
index 00000000000..d85ebb9cea2
--- /dev/null
+++ b/app/assets/javascripts/terraform/graphql/mutations/remove_state.mutation.graphql
@@ -0,0 +1,5 @@
+mutation removeState($stateID: TerraformStateID!) {
+ terraformStateDelete(input: { id: $stateID }) {
+ errors
+ }
+}