blob: 01f69934ea33f27952c842850615fb75cef8fad7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# frozen_string_literal: true
module Mutations
module Terraform
module State
class Base < BaseMutation
authorize :admin_terraform_state
argument :id,
Types::GlobalIDType[::Terraform::State],
required: true,
description: 'Global ID of the Terraform state.'
private
def find_object(id:)
GitlabSchema.find_by_gid(id)
end
end
end
end
end
|