Skip to main content
For Bring Your Own Infrastructure, each organization has one or more deployment targets — AWS accounts it deploys apps into. synthetiq infra provision registers a target here after provisioning the account; deploys resolve an app’s target to know which account, role, and domain to use. An organization can hold multiple targets (e.g. a shared target plus a dedicated BYOI one); one is the default. Each production app pins to a target. Node SDK: sdk.awsConfig.*. See Node SDK.

List deployment targets

Returns the organization’s deployment targets:
Authentication: Organization member.

Register / update a deployment target

Upserts a target keyed on (organization, aws_account_id). Called by synthetiq infra provision once the AWS account is provisioned. Only the deploy key hash is sent — the raw key never leaves the customer account. A target becomes the org default when it first reaches ready and no default exists. Authentication: Organization member + infra:provision scope (token: platform:infra:write).

See also