Skip to main content

setRemoteReference

form schema

Override one of an instance's connection slots with a resource from another project (or an imported resource).

The instance must not be in PROVISIONED or FAILED status โ€” like other configuration changes, overrides cannot be set on a deployed instance.

The override takes priority over any blueprint-level Link wired into the same slot. Removing the override reverts to the Link (or environment default).

graphql
mutation {
setRemoteReference(
organizationId: "my-org"
instanceId: "my-app"
resourceId: "shared-creds-abc123"
input: { field: "aws_authentication" }
) {
result { id field resource { id name } }
successful
messages { field message }
}
}
graphql
setRemoteReference(
organizationId: ID!
instanceId: ID!
resourceId: ID!
input: SetRemoteReferenceInput!
): RemoteReferencePayload

Form Schemaโ€‹

This mutation supports dynamic form generation using JSON Schema.

Loading schema...

Argumentsโ€‹

setRemoteReference.organizationIdย โ—ย ID! non-null scalar {#organization-id}โ€‹

Your organization's unique identifier.

setRemoteReference.instanceIdย โ—ย ID! non-null scalar {#instance-id}โ€‹

The instance to set the remote reference on.

setRemoteReference.resourceIdย โ—ย ID! non-null scalar {#resource-id}โ€‹

The resource to reference โ€” either a UUID for imported resources or 'instance.field' for provisioned resources.

setRemoteReference.inputย โ—ย SetRemoteReferenceInput! non-null input {#input}โ€‹

Link an instance's resource field to a resource from another project or an imported resource. The instance must not be in a provisioned or failed state.

Typeโ€‹

RemoteReferencePayload objectโ€‹