Platform & adminMu Mutation

iacApplyChange

Topics: Admin

Atomically Apply the reviewed plan as the actual user, publishing main only on success. The stack's rules must be met (REVIEW_REQUIRED, CHANGES_REQUESTED) unless a stack admin bypasses them.

Returns

IaCHostedValue!

Arguments

Owning stack.

Server-produced plan reviewed by this user.

digest

String!Required

Exact digest approved by this user; stale plans fail closed.

Apply without meeting the stack's rules, recording this reason (at most 2 KiB). Only stack admins, and only when the rules allow bypass (otherwise BYPASS_NOT_ALLOWED). A blank reason is no bypass.

Exact field SDL
"""
Atomically Apply the reviewed plan as the actual user, publishing main only on success. The stack's rules must be met (REVIEW_REQUIRED, CHANGES_REQUESTED) unless a stack admin bypasses them.
"""
iacApplyChange(
  """Owning stack."""
  stackId: IaCStackID!
  """Server-produced plan reviewed by this user."""
  planId: IaCPlanID!
  """Exact digest approved by this user; stale plans fail closed."""
  digest: String!
  """
  Apply without meeting the stack's rules, recording this reason (at most 2 KiB). Only stack admins, and only when the rules allow bypass (otherwise BYPASS_NOT_ALLOWED). A blank reason is no bypass.
  """
  bypassReason: String
): IaCHostedValue! @topic(names: ["admin"])

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