Skip to content

Redshift ​

Parity grade: A · SDK aws-sdk-go-v2/service/redshift@v1.71.3 · last audited 2026-10-12 (68761ba3a)

Category: Database · View PARITY.md on GitHub · All Services

In-memory Redshift control plane for provisioned clusters and Redshift Serverless. No SQL engine unless you enable the Docker engine.

Quick start ​

bash
export AWS_ENDPOINT_URL=http://localhost:8000

aws redshift create-cluster --cluster-identifier my-cluster \
    --node-type dc2.large --master-username admin \
    --master-user-password Password1 --number-of-nodes 2
aws redshift describe-clusters --cluster-identifier my-cluster
aws redshift create-tags \
    --resource-name arn:aws:redshift:us-east-1:000000000000:cluster:my-cluster \
    --tags Key=env,Value=dev
aws redshift delete-cluster --cluster-identifier my-cluster --skip-final-cluster-snapshot

Supported operations ​

AreaOperations
Clusterscreate, describe, modify, delete, reboot, resize, pause, resume, restore from snapshot, rotate encryption key, maintenance, logging, DB revisions, tracks and versions
Snapshotscluster snapshots (create, copy, delete, modify, authorize and revoke access), snapshot schedules, snapshot copy and copy grants, table restore
Parameter and subnet groupscluster parameter groups, cluster subnet groups, cluster security groups
SecurityIAM roles on clusters, HSM client certificates and configurations, authentication profiles, GetClusterCredentials, GetClusterCredentialsWithIAM, IAM Identity Center applications
Networkingendpoint access and authorization, custom domain associations
Data sharingdata shares, producer and consumer operations
Eventsevent categories, events, event subscriptions
Scheduling and limitsscheduled actions, usage limits
Reserved nodesofferings, purchase, exchange
Integrationszero-ETL integrations, partners
TagsCreateTags, DeleteTags, DescribeTags
Redshift Serverlessnamespaces, workgroups, endpoint access, snapshots, recovery points, restore, table restore, usage limits, scheduled actions, custom domains, resource policies, tagging

Configuration ​

FlagEnvDefaultPurpose
--redshift-engineREDSHIFT_ENGINEstubstub or docker

With the DNS server enabled (--dns-addr :10053), cluster endpoints are registered automatically. See DNS setup.

Differences from AWS ​

WARNING

With --redshift-engine=docker each provisioned cluster and each Serverless workgroup starts one plaintext postgres:17 container. It is PostgreSQL, not Redshift, so Redshift-only SQL does not work. A workgroup stays CREATING until its engine answers, and is dropped if it never starts.

  • Without the engine there is no SQL. RestoreTableFromClusterSnapshot EnableCaseSensitiveIdentifier, GetClusterCredentials DbGroups, CreateCluster LoadSampleData and the Terraform data-share resources (CREATE DATASHARE) have no effect.
  • Serverless Workgroup.CrossAccountVpcs, PatchVersion, PendingTrackName, WorkgroupVersion and Endpoint.VpcEndpoints are not modelled.
  • ModifyCluster MaintenanceTrackName stays in PendingModifiedValues: no maintenance window runs.
  • ElasticIp is syntax-checked only. MasterPasswordSecretArn is generated without creating a Secrets Manager secret.

Parity & Coverage ​

MetricValue
PARITY entries audited9 (9 ok)
Feature families34 (33 ok, 1 partial)
Known gapsnone
Structural gaps (can't be emulated)5
Deferred items0
Resource leaksclean

Structural Gaps ​

These do not block an A grade — no implementation could produce real data here because the underlying data source cannot exist in an emulator.

  • Docker engine (--redshift-engine=docker): one plaintext postgres:17 container per provisioned cluster and per Serverless workgroup (admin login from the namespace; a workgroup stays CREATING until its engine answers and is dropped if it never starts; not Redshift, so Redshift-only SQL such as DISTKEY/CREATE DATASHARE fails; no TLS), not per node. Cluster and workgroup data does not survive a restart or snapshot restore (snapshots are metadata); passwords are not persisted so a relaunched engine gets a random one until ModifyCluster/UpdateNamespace sets a new one.
  • Without the engine there is no SQL: RestoreTableFromClusterSnapshot.EnableCaseSensitiveIdentifier and GetClusterCredentials.DbGroups have no observable effect to gate; the two terraform datashare resources (aws_redshift_data_share_authorization/_consumer_association) need CREATE DATASHARE SQL.
  • Serverless Workgroup.CrossAccountVpcs/PatchVersion/PendingTrackName/WorkgroupVersion and Endpoint.VpcEndpoints are unmodeled: they need a patch catalog, track-upgrade scheduler and real ENI allocation.
  • CreateCluster.LoadSampleData has no SQL engine to load into; CreateCluster.AdditionalInfo and RestoreFromClusterSnapshot.AdditionalInfo are documented as Reserved.
  • ModifyCluster.MaintenanceTrackName stays in PendingModifiedValues (as the SDK docs say): no maintenance window runs. ElasticIp is syntax-checked only (no EC2 elastic IP lookup) and MasterPasswordSecretArn is minted without a Secrets Manager secret.

Audited Operations ​

9 audited operations
OperationWireErrorsStatePersist
RestoreFromClusterSnapshotokokokok
ModifyClusterokokokok
GetClusterCredentialsokokokn/a
GetClusterCredentialsWithIAMokokokn/a
ResizeClusterokokokok
RegisterNamespaceokokokok
DeregisterNamespaceokokokok
ModifyAquaConfigurationokokokn/a
ModifyLakehouseConfigurationokokokok

Audited Feature Families ​

Feature FamilyStatus
Clusterok
ServerlessLifecycleok
Tagsok
ClusterParameterGroupok
ClusterSubnetGroupok
ClusterSecurityGroupok
Snapshot/ClusterSnapshotok
ClusterCredentialsok
Resizeok
DataShareok
EventSubscription/Eventsok
Loggingok
ScheduledActionok
UsageLimitok
SnapshotCopyGrantok
SnapshotSchedulepartial
SnapshotCopyok
AuthenticationProfileok
ResourcePolicyok
HsmClientCertificate/HsmConfigurationok
CustomDomainAssociationok
EndpointAccessok
EndpointAuthorizationok
Integrationok
IdcApplicationok
Qev2IdcApplicationok
ReservedNodeok
TableRestoreStatus/RestoreTableFromClusterSnapshotfixed
Partnerok
Descriptive/static opsok
NamespaceRegistrationok
AquaConfigurationok
LakehouseConfigurationok
Redshift Serverlessok

Released under the MIT License.