summaryrefslogtreecommitdiff
path: root/app/graphql/mutations/terraform/state/base.rb
blob: 9a264836ef57790e61d5e98bb683c62349ed52d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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.'
      end
    end
  end
end