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. Deployment is a separate action — call createDeployment on the destination when you're ready to apply.

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. 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.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