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
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-snapshotSupported operations
| Area | Operations |
|---|---|
| Clusters | create, describe, modify, delete, reboot, resize, pause, resume, restore from snapshot, rotate encryption key, maintenance, logging, DB revisions, tracks and versions |
| Snapshots | cluster snapshots (create, copy, delete, modify, authorize and revoke access), snapshot schedules, snapshot copy and copy grants, table restore |
| Parameter and subnet groups | cluster parameter groups, cluster subnet groups, cluster security groups |
| Security | IAM roles on clusters, HSM client certificates and configurations, authentication profiles, GetClusterCredentials, GetClusterCredentialsWithIAM, IAM Identity Center applications |
| Networking | endpoint access and authorization, custom domain associations |
| Data sharing | data shares, producer and consumer operations |
| Events | event categories, events, event subscriptions |
| Scheduling and limits | scheduled actions, usage limits |
| Reserved nodes | offerings, purchase, exchange |
| Integrations | zero-ETL integrations, partners |
| Tags | CreateTags, DeleteTags, DescribeTags |
| Redshift Serverless | namespaces, workgroups, endpoint access, snapshots, recovery points, restore, table restore, usage limits, scheduled actions, custom domains, resource policies, tagging |
Configuration
| Flag | Env | Default | Purpose |
|---|---|---|---|
--redshift-engine | REDSHIFT_ENGINE | stub | stub 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.
RestoreTableFromClusterSnapshotEnableCaseSensitiveIdentifier,GetClusterCredentialsDbGroups,CreateClusterLoadSampleDataand the Terraform data-share resources (CREATE DATASHARE) have no effect. - Serverless
Workgroup.CrossAccountVpcs,PatchVersion,PendingTrackName,WorkgroupVersionandEndpoint.VpcEndpointsare not modelled. ModifyClusterMaintenanceTrackNamestays inPendingModifiedValues: no maintenance window runs.ElasticIpis syntax-checked only.MasterPasswordSecretArnis generated without creating a Secrets Manager secret.
Parity & Coverage
| Metric | Value |
|---|---|
| PARITY entries audited | 9 (9 ok) |
| Feature families | 34 (33 ok, 1 partial) |
| Known gaps | none |
| Structural gaps (can't be emulated) | 5 |
| Deferred items | 0 |
| Resource leaks | clean |
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
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
RestoreFromClusterSnapshot | ok | ok | ok | ok |
ModifyCluster | ok | ok | ok | ok |
GetClusterCredentials | ok | ok | ok | n/a |
GetClusterCredentialsWithIAM | ok | ok | ok | n/a |
ResizeCluster | ok | ok | ok | ok |
RegisterNamespace | ok | ok | ok | ok |
DeregisterNamespace | ok | ok | ok | ok |
ModifyAquaConfiguration | ok | ok | ok | n/a |
ModifyLakehouseConfiguration | ok | ok | ok | ok |
Audited Feature Families
| Feature Family | Status |
|---|---|
Cluster | ok |
ServerlessLifecycle | ok |
Tags | ok |
ClusterParameterGroup | ok |
ClusterSubnetGroup | ok |
ClusterSecurityGroup | ok |
Snapshot/ClusterSnapshot | ok |
ClusterCredentials | ok |
Resize | ok |
DataShare | ok |
EventSubscription/Events | ok |
Logging | ok |
ScheduledAction | ok |
UsageLimit | ok |
SnapshotCopyGrant | ok |
SnapshotSchedule | partial |
SnapshotCopy | ok |
AuthenticationProfile | ok |
ResourcePolicy | ok |
HsmClientCertificate/HsmConfiguration | ok |
CustomDomainAssociation | ok |
EndpointAccess | ok |
EndpointAuthorization | ok |
Integration | ok |
IdcApplication | ok |
Qev2IdcApplication | ok |
ReservedNode | ok |
TableRestoreStatus/RestoreTableFromClusterSnapshot | fixed |
Partner | ok |
Descriptive/static ops | ok |
NamespaceRegistration | ok |
AquaConfiguration | ok |
LakehouseConfiguration | ok |
Redshift Serverless | ok |
