setRemoteReference
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).
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 }
}
}
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.