Platform & adminMu Mutation

iacGitCreateChange

Topics: Admin

Capture an immutable draft Change Request; no client-supplied plan is trusted or applied.

Returns

IaCGitChangeValue!

Arguments

Owning stack.

title

String!Required

Short title of the proposed change; required.

Optional explanation of why the change is needed, at most 64 KiB.

Working branch to capture.

Expected source commit, preventing accidental capture of newer edits.

Require main to match expectedMain atomically; true with null expectedMain requires an empty repository.

Expected main commit when checkExpectedMain is true.

Exact field SDL
"""
Capture an immutable draft Change Request; no client-supplied plan is trusted or applied.
"""
iacGitCreateChange(
  """Owning stack."""
  stackId: IaCStackID!
  """Short title of the proposed change; required."""
  title: String!
  """Optional explanation of why the change is needed, at most 64 KiB."""
  description: String
  """Working branch to capture."""
  sourceRef: String!
  """Expected source commit, preventing accidental capture of newer edits."""
  expected: String!
  """
  Require main to match expectedMain atomically; true with null expectedMain requires an empty repository.
  """
  checkExpectedMain: Boolean
  """Expected main commit when checkExpectedMain is true."""
  expectedMain: String
): IaCGitChangeValue! @topic(names: ["admin"])

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