Skip to main content

CopyInstanceInput

Copy configuration from one instance to another. The source and destination must be instances of the same component. Source params (minus any fields marked non-copyable in the bundle) are written to the destination, then a plan deployment is created on the destination so the changes can be reviewed before applying.

input CopyInstanceInput {
copyRemoteReferences: Boolean
copySecrets: Boolean
message: String
overrides: Map
}

Fields

CopyInstanceInput.copyRemoteReferences ● Boolean scalar {#copy-remote-references}

When true, copies remote resource references from the source instance to the destination. Defaults to false.

CopyInstanceInput.copySecrets ● Boolean scalar {#copy-secrets}

When true, copies secret values from the source instance to the destination. Defaults to false.

CopyInstanceInput.message ● String scalar {#message}

An optional message attached to the plan deployment created on the destination, similar to a commit message.

CopyInstanceInput.overrides ● Map scalar {#overrides}

Optional overrides that are deep-merged onto the source params before writing to the destination. Useful for tweaking environment-specific values (e.g., instance sizes).

Member Of

copyInstance mutation