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.

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

Fields​

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

When true, copies remote resource references from the source instance to the destination. Each referenced resource requires resource:view and a resource grant that covers the destination environment. Defaults to false.

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

When true, copies secret values from the source instance to the destination. Requires instance:configure on the source instance when it has secrets. Defaults to false.

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