iacValidate

Topics: Admin Aiml Apps Commerce Costing Devices Files IAM Integrations Jobs Logistics Product Templates Reporting Reports Scripting Surfaces Workflows

Validate an infrastructure artifact. Pure and side-effect free; safe to alias many times in one document.

Returns

IaCValidationResult!

Arguments

Name of the validator to run, as declared by @iac_validator

source

String!Required

Artifact source to validate

role

StringOptional

Script role whose API surface a lua-typecheck source is checked against: NORMAL, INTEGRATION, PURE or EDGE_APP. Defaults to NORMAL.

Exact field SDL
"""
Validate an infrastructure artifact. Pure and side-effect free; safe to alias many times in one document.
"""
iacValidate(
  """Name of the validator to run, as declared by @iac_validator"""
  validator: String!
  """Artifact source to validate"""
  source: String!
  """
  Script role whose API surface a lua-typecheck source is checked against: NORMAL, INTEGRATION, PURE or EDGE_APP. Defaults to NORMAL.
  """
  role: String
): IaCValidationResult! @topic(names: [
  "jobs"
  "commerce"
  "logistics"
  "costing"
  "productTemplates"
  "files"
  "devices"
  "aiml"
  "apps"
  "workflows"
  "admin"
  "integrations"
  "surfaces"
  "scripting"
  "reporting"
  "reports"
  "iam"
])

Declared on Query. Access is checked by the platform for each operation.