Skip to content

Configuration ​

Every gopherstack serve flag has an environment variable; a flag wins over its env var. With --persist, the persisted config sits between: defaults, then persisted config, then env vars and flags.

NOTE

gopherstack --help and gopherstack serve --help are authoritative. This page is checked against them.

Server ​

Listener, identity, startup and housekeeping.

WARNING

A non-loopback --host exposes an unauthenticated emulator; the server logs a warning unless --allow-remote is set.

FlagEnv varDefaultDescription
--portPORT8000HTTP server port
--hostGOPHERSTACK_HOST—Listen host for the HTTP listener. Empty = all interfaces (unchanged default)
--allow-remoteGOPHERSTACK_ALLOW_REMOTEfalseAcknowledge a non-loopback listen address (silences the startup warning)
--extra-listenGOPHERSTACK_EXTRA_LISTEN—Additional ports to serve the same endpoint on (comma-separated)
--regionREGIONus-east-1AWS region (also read from AWS_DEFAULT_REGION and AWS_REGION)
--account-idACCOUNT_ID000000000000Mock AWS account ID used in ARNs
--log-levelLOG_LEVELinfoLog level (debug|info|warn|error)
--servicesGOPHERSTACK_SERVICES—Only enable these services (comma-separated, case-insensitive; LocalStack names accepted). Empty = all
--disable-servicesGOPHERSTACK_DISABLE_SERVICES—Disable these services (comma-separated, case-insensitive). Applied after --services
--demoDEMOfalseLoad demo data on startup
--compressionCOMPRESSIONonRuntime response compression: zstd/br/gzip for the dashboard, gzip for DynamoDB clients that opt in
--data-dirGOPHERSTACK_DATA_DIR—Directory for persistence data files (default: ~/.gopherstack/data, or /data in containers)
--auto-purge-ttlAUTO_PURGE_TTL—If set, automatically reset all services on a timer based on the TTL (e.g., 10m)
--extensionGOPHERSTACK_EXTENSIONS—Extension as name=command args, or name=image:REF (repeatable)
--extensions-configGOPHERSTACK_EXTENSIONS_CONFIG—YAML/JSON file declaring extensions (executables or container images)
--init-dirINIT_DIR—Extra init-hook root holding boot.d/start.d/ready.d/shutdown.d (repeatable; /etc/localstack/init and /etc/gopherstack/init are always checked)
--init-scriptINIT_SCRIPTS—Shell scripts to run on startup (may be specified multiple times)
--init-timeoutINIT_TIMEOUT30sPer-script timeout for init hooks
--janitor-timeoutJANITOR_TIMEOUT30sPer-task timeout for janitor operations (TTL sweeps, table cleaners, etc.). Zero disables per-task timeouts. Higher values prevent deadlocks; lower values keep the janitor loop responsive
--latency-msLATENCY_MS0Inject random latency [0,N) ms per request (0 = disabled). Values near the 30 s write timeout may cause connection errors
--port-range-endPORT_RANGE_END10100End (exclusive) of the port range for resource endpoints
--port-range-startPORT_RANGE_START10000Start of the port range for resource endpoints
--s3-bucketS3_BUCKETS—S3 bucket names to create on startup (may be specified multiple times or as a comma-separated list)

TLS and CORS ​

FlagEnv varDefaultDescription
--cors-allow-credentialsGOPHERSTACK_CORS_ALLOW_CREDENTIALSfalseSend Access-Control-Allow-Credentials: true
--cors-allow-headersGOPHERSTACK_CORS_ALLOW_HEADERS, EXTRA_CORS_ALLOWED_HEADERS—Extra headers allowed in CORS requests (comma-separated)
--cors-allow-originsGOPHERSTACK_CORS_ALLOW_ORIGINS, EXTRA_CORS_ALLOWED_ORIGINS—Origins allowed by CORS (comma-separated, or *). Empty = no global CORS handling
--cors-disable-checksGOPHERSTACK_DISABLE_CORS_CHECKS, DISABLE_CORS_CHECKSfalseAllow any origin (LocalStack DISABLE_CORS_CHECKS)
--cors-disable-custom-apigatewayGOPHERSTACK_CORS_DISABLE_CUSTOM_APIGATEWAY, DISABLE_CUSTOM_CORS_APIGATEWAYfalseIgnore API Gateway CORS configuration so only the global CORS settings apply (LocalStack DISABLE_CUSTOM_CORS_APIGATEWAY)
--cors-expose-headersGOPHERSTACK_CORS_EXPOSE_HEADERS, EXTRA_CORS_EXPOSE_HEADERS—Response headers exposed to browsers (comma-separated)
--tlsTLSfalseServe over HTTPS. With --tls-cert/--tls-key uses those files; otherwise a self-signed certificate is generated on demand
--tls-certTLS_CERT—Path to a TLS certificate (PEM). Enables an HTTPS listener; requires --tls-key. Empty = HTTP only
--tls-keyTLS_KEY—Path to a TLS private key (PEM). Required with --tls-cert

Persistence ​

WARNING

Persistence is off by default; without --persist, all state is lost on exit.

FlagEnv varDefaultDescription
--persistPERSISTfalseEnable snapshot-based persistence across restarts
--persist-excludeGOPHERSTACK_PERSIST_EXCLUDE—Do not persist these services (comma-separated, case-insensitive). Applied after --persist-services
--persist-flush-intervalGOPHERSTACK_PERSIST_FLUSH_INTERVAL5sHybrid mode flush interval; worst-case data loss on a crash
--persist-loadGOPHERSTACK_PERSIST_LOADstartupWhen persisted state loads: startup (default), request (lazily per service on its first request) or manual (only via POST /_gopherstack/persist/load)
--persist-modeGOPHERSTACK_PERSIST_MODEsnapshotPersistence mode: snapshot (debounced per-request), hybrid (periodic flush of changed services), shutdown (save only at graceful shutdown) or manual (save only via POST /_gopherstack/persist/save)
--persist-service-modeGOPHERSTACK_PERSIST_SERVICE_MODE—Per-service mode override as service=mode (comma-separated), e.g. s3=hybrid,sqs=snapshot
--persist-servicesGOPHERSTACK_PERSIST_SERVICES—Only persist these services (comma-separated, case-insensitive). Empty = all

Pods ​

FlagEnv varDefaultDescription
--pod-autoloadGOPHERSTACK_POD_AUTOLOAD, AUTO_LOAD_POD—Load pods NAME[:VERSION] (comma-separated, in order) at startup
--pod-dirGOPHERSTACK_POD_DIR—Local pod directory (default: <data-dir>/pods)
--pod-merge-strategyGOPHERSTACK_POD_MERGE_STRATEGY, MERGE_STRATEGY—How autoloaded pods combine with current state: overwrite, service-merge or account-region-merge
--pod-s3-access-keyGOPHERSTACK_POD_S3_ACCESS_KEY—Access key for the pod S3 bucket (default credential chain if empty)
--pod-s3-bucketGOPHERSTACK_POD_S3_BUCKET—Store pods in this S3 bucket instead of the local directory
--pod-s3-endpointGOPHERSTACK_POD_S3_ENDPOINT—S3-compatible endpoint URL (empty means real AWS S3)
--pod-s3-path-styleGOPHERSTACK_POD_S3_PATH_STYLEfalseUse path-style S3 addressing
--pod-s3-prefixGOPHERSTACK_POD_S3_PREFIX—Key prefix for pods in the S3 bucket
--pod-s3-regionGOPHERSTACK_POD_S3_REGIONus-east-1Region of the pod S3 bucket
--pod-s3-secret-keyGOPHERSTACK_POD_S3_SECRET_KEY—Secret key for the pod S3 bucket

IAM and request security ​

WARNING

IAM enforcement and SigV4 validation are off by default: every request is accepted and signatures are never checked. Do not expose an instance beyond loopback.

FlagEnv varDefaultDescription
--enforce-iamGOPHERSTACK_ENFORCE_IAM, ENFORCE_IAMfalseEnable IAM policy enforcement. When true, every AWS API request is evaluated against attached IAM policies
--enforce-security-groupsGOPHERSTACK_ENFORCE_SECURITY_GROUPSfalseEnforce EC2 security-group ingress on container-backed endpoints (RDS, EC2, DocDB, MSK, caches, MQ, Neptune, ECS); ingress only. Default off
--enforce-service-quotasGOPHERSTACK_ENFORCE_SERVICE_QUOTASfalseMake S3, EC2, IAM, EKS and DynamoDB reject creates beyond the Service Quotas applied limit. Default off
--iam-auditGOPHERSTACK_IAM_AUDIT, IAM_SOFT_MODEfalseIAM audit (soft) mode: evaluate and record every request in the IAM Policy Stream but never deny
--iam-enforce-scpsGOPHERSTACK_IAM_ENFORCE_SCPStrueWith IAM enforcement on, also evaluate Organizations service control policies for member-account principals. Set false to skip SCPs
--sigv4-secretSIGV4_SECRETtestSecret access key SigV4 validation signs against (used only when --validate-sigv4 is set)
--validate-sigv4VALIDATE_SIGV4falseCryptographically validate AWS SigV4 request signatures (opt-in). Signed requests whose signature does not match --sigv4-secret are rejected

LocalStack compatibility ​

FlagEnv varDefaultDescription
--localstack-compatGOPHERSTACK_LOCALSTACK_COMPATfalseLocalStack drop-in mode: also listen on 4566 (auto-enabled when LOCALSTACK_*, GATEWAY_LISTEN, LS_LOG or PERSISTENCE is set)
--localstack-health-killGOPHERSTACK_LOCALSTACK_HEALTH_KILLfalseAllow POST /_localstack/health with action=kill (loopback peers only) to gracefully stop the process
--localstack-response-headerGOPHERSTACK_LOCALSTACK_RESPONSE_HEADER, LOCALSTACK_RESPONSE_HEADER_ENABLEDfalseAdd the X-Localstack: true response header

DNS and transparent mode ​

FlagEnv varDefaultDescription
--dns-addrDNS_ADDR—Address for embedded DNS server (e.g. :10053). Empty = disabled
--dns-resolve-ipDNS_RESOLVE_IP127.0.0.1IP address synthetic hostnames resolve to
--transparent-ca-dirTRANSPARENT_CA_DIR—Directory persisting the CA (default: ephemeral)
--transparent-container-ca-pathTRANSPARENT_CONTAINER_CA_PATH—CA PEM path visible to the Docker daemon (required when gopherstack runs in Docker)
--transparent-container-dnsTRANSPARENT_CONTAINER_DNS—DNS IP for spawned containers
--transparent-disable-injectionTRANSPARENT_DISABLE_ENDPOINT_INJECTIONfalseForce transparent endpoint injection off even when --transparent-dns is set
--transparent-dnsTRANSPARENT_DNSfalseResolve AWS endpoint names here and serve HTTPS
--transparent-dns-skipTRANSPARENT_DNS_SKIP—Names/zones that keep resolving upstream
--transparent-dns-skip-patternsTRANSPARENT_DNS_SKIP_PATTERNS—Regexes (whole name) that keep resolving upstream
--transparent-dns-upstreamTRANSPARENT_DNS_UPSTREAM—Upstream resolvers host:port
--transparent-http-addrTRANSPARENT_HTTP_ADDR—Optional plain-HTTP listen addr (e.g. :80) for http:// AWS endpoint URLs; empty disables
--transparent-https-addrTRANSPARENT_HTTPS_ADDR:443HTTPS listen addr

MCP server ​

FlagEnv varDefaultDescription
--mcp-enabledGOPHERSTACK_MCPfalseServe MCP (streamable HTTP) at /_gopherstack/mcp
--mcp-read-onlyGOPHERSTACK_MCP_READ_ONLYfalseExpose only read-only MCP tools (no snapshots, resets, chaos or init hook runs)
--mcp-tokenGOPHERSTACK_MCP_TOKEN—Bearer token required by the MCP endpoint. Without it only loopback clients are accepted

Container runtime and engines ​

auto probes the Docker then Podman socket at startup; per-service flags override --engines.

Also documented in Engines, elasticache, opensearch, rds, redshift, transcribe.

FlagEnv varDefaultDescription
--agentcore-engineAGENTCORE_ENGINEautoContainer engine for agent runtimes and the code interpreter: auto (container runtime if reachable) or none
--codebuild-engine-imageCODEBUILD_ENGINE_IMAGEubuntu:22.04Image standing in for aws/codebuild/* curated images in docker engine mode
--docker-registry-authGOPHERSTACK_DOCKER_REGISTRY_AUTH—Registry credentials host=user:pass (repeatable)
--docker-registry-mirrorGOPHERSTACK_DOCKER_REGISTRY_MIRROR—Pull mirrors as registry=mirror-host, e.g. docker.io=mirror.example.com (comma-separated or repeated)
--dsql-engine-imageDSQL_ENGINE_IMAGEpostgres:17PostgreSQL image
--ecs-runtimeGOPHERSTACK_ECS_RUNTIME—ECS task runtime: none or docker. Unset follows --engines
--enginesGOPHERSTACK_ENGINESstubEngine default: stub, auto (docker/podman if reachable, else stub), or docker. Per-service flags override
--glue-engine-imageGLUE_ENGINE_IMAGE—Image for docker-engine sessions; empty picks the AWS Glue libs image matching the session GlueVersion

Janitors and TTLs ​

Sweep intervals and retention per service.

Also documented in stepfunctions.

FlagEnv varDefaultDescription
--athena-execution-ttlATHENA_EXECUTION_TTL24hTTL for completed query executions before they are evicted
--athena-janitor-intervalATHENA_JANITOR_INTERVAL1mJanitor tick interval
--backup-janitor-intervalBACKUP_JANITOR_INTERVAL1mJanitor tick interval
--backup-job-ttlBACKUP_JOB_TTL24hTTL for completed backup jobs before they are evicted
--batch-completed-job-ttlBATCH_COMPLETED_JOB_TTL24hTTL for completed or failed jobs before they are evicted
--batch-inactive-job-def-ttlBATCH_INACTIVE_JOB_DEF_TTL24hTTL for inactive job definitions before they are evicted
--batch-janitor-intervalBATCH_JANITOR_INTERVAL1mJanitor tick interval
--cloudwatchlogs-janitor-intervalCLOUDWATCHLOGS_JANITOR_INTERVAL1mJanitor tick interval
--codebuild-build-ttlCODEBUILD_BUILD_TTL24hTTL for completed builds before they are evicted
--codebuild-janitor-intervalCODEBUILD_JANITOR_INTERVAL1mJanitor tick interval
--dynamodb-janitor-intervalDYNAMODB_JANITOR_INTERVAL500msJanitor interval
--ec2-cancelled-spot-ttlEC2_CANCELLED_SPOT_TTL6hTTL for cancelled spot requests before they are evicted
--ec2-janitor-intervalEC2_JANITOR_INTERVAL1mJanitor tick interval
--ec2-terminated-ttlEC2_TERMINATED_TTL1hTTL for terminated instances before they are evicted
--emr-janitor-intervalEMR_JANITOR_INTERVAL1mJanitor tick interval
--emr-terminated-ttlEMR_TERMINATED_TTL1hTTL for terminated clusters before they are evicted
--fis-experiment-ttlFIS_EXPERIMENT_TTL24hDone-exp TTL
--fis-janitor-intervalFIS_JANITOR_INTERVAL1mJanitor tick
--kinesis-janitor-intervalKINESIS_JANITOR_INTERVAL1mJanitor tick interval
--kms-janitor-intervalKMS_JANITOR_INTERVAL1mJanitor tick interval
--s3-janitor-intervalS3_JANITOR_INTERVAL500msJanitor tick interval
--ses-email-ttlSES_EMAIL_TTL24hTTL for stored sent emails before they are evicted
--ses-janitor-intervalSES_JANITOR_INTERVAL1mJanitor tick interval
--ssm-command-ttlSSM_COMMAND_TTL1hTTL for SendCommand results before they expire (matches AWS 1h default)
--ssm-janitor-intervalSSM_JANITOR_INTERVAL30sJanitor tick interval
--sts-janitor-intervalSTS_JANITOR_INTERVAL30sJanitor tick interval
--xray-janitor-intervalXRAY_JANITOR_INTERVAL1mJanitor tick interval
--xray-trace-ttlXRAY_TRACE_TTL30mTTL for stored traces before they are evicted

Lifecycle delays ​

Dwell time in transitional states before a resource settles; 0s settles instantly.

FlagEnv varDefaultDescription
--lifecycle-accessanalyzerACCESSANALYZER_LIFECYCLE_DELAY0sIAM Access Analyzer analyzer CREATING window
--lifecycle-accountACCOUNT_LIFECYCLE_DELAY0sAccount region ENABLING/DISABLING window (built-in 100ms)
--lifecycle-acmpcaACMPCA_AUDIT_REPORT_DELAY0sACM PCA audit report CREATING window
--lifecycle-ampAMP_LIFECYCLE_DELAY0sManaged Service for Prometheus transitional window (built-in 500ms)
--lifecycle-apprunnerAPPRUNNER_OPERATION_DELAY0sApp Runner service OPERATION_IN_PROGRESS window after each operation
--lifecycle-appstreamAPPSTREAM_LIFECYCLE_DELAY0sAppStream fleet and image builder STARTING/STOPPING/PENDING window
--lifecycle-arczonalshiftARCZONALSHIFT_PRACTICE_RUN_DURATION0sARC zonal shift practice run ACTIVE window; 0 keeps the built-in 30m; ignores the global delay
--lifecycle-autoscalingAUTOSCALING_LAUNCH_DELAY0sAuto Scaling instance Pending window before InService
--lifecycle-awsconfigAWSCONFIG_LIFECYCLE_DELAY0sAWS Config conformance pack CREATE_IN_PROGRESS window
--lifecycle-backupBACKUP_LIFECYCLE_DELAY0sBackup restore and copy job PENDING/CREATED/RUNNING window before COMPLETED
--lifecycle-bedrockBEDROCK_JOB_COMPLETION_DELAY0sBedrock job InProgress window; 0 keeps the built-in window
--lifecycle-bedrockagentBEDROCKAGENT_LIFECYCLE_DELAY0sBedrock Agents CREATING/PREPARING/UPDATING/ingestion window
--lifecycle-bedrockagentcoreBEDROCKAGENTCORE_LIFECYCLE_DELAY0sBedrock AgentCore control-plane CREATING/UPDATING/DELETING window
--lifecycle-cleanroomsCLEANROOMS_LIFECYCLE_DELAY0sClean Rooms protected query and job SUBMITTED window
--lifecycle-cloudcontrolCLOUDCONTROL_OPERATION_DELAY0sCloud Control Create/Update/DeleteResource IN_PROGRESS window
--lifecycle-cloudfrontCLOUDFRONT_DEPLOY_DELAY0sCloudFront distribution InProgress window; 0 keeps the built-in 100ms
--lifecycle-cloudhsmv2CLOUDHSMV2_LIFECYCLE_DELAY0sCloudHSM v2 cluster, HSM and backup transitional window (built-in 500ms)
--lifecycle-codeconnectionsCODECONNECTIONS_LIFECYCLE_DELAY0sCodeConnections connection handshake and host setup PENDING window
--lifecycle-codegurureviewerCODEGURUREVIEWER_LIFECYCLE_DELAY0sCodeGuru Reviewer repository association and code review transitional window (built-in 500ms)
--lifecycle-codestarconnectionsCODESTARCONNECTIONS_LIFECYCLE_DELAY0sCodeStar Connections connection handshake and host setup PENDING window; hosts stay PENDING when 0
--lifecycle-comprehendCOMPREHEND_LIFECYCLE_DELAY0sComprehend async job and classifier/recognizer training stage window
--lifecycle-connectCONNECT_LIFECYCLE_DELAY0sAmazon Connect instance CREATION_IN_PROGRESS window (built-in 1s)
--lifecycle-databrewDATABREW_LIFECYCLE_DELAY0sDataBrew job run STARTING-to-SUCCEEDED window (built-in 100ms)
--lifecycle-daxDAX_LIFECYCLE_DELAY0sDAX cluster and node creating/modifying/deleting window (built-in 1s)
--lifecycle-delayGOPHERSTACK_LIFECYCLE_DELAY0sDefault dwell in transitional states for every service below; 0 settles instantly
--lifecycle-detectiveDETECTIVE_LIFECYCLE_DELAY0sDetective investigation RUNNING window
--lifecycle-directoryserviceDIRECTORYSERVICE_LIFECYCLE_DELAY0sDirectory Service transitional-state window; 0 keeps the built-in sub-second dwell
--lifecycle-docdbDOCDB_LIFECYCLE_DELAY0sDocumentDB cluster and instance creating dwell
--lifecycle-dsqlDSQL_LIFECYCLE_DELAY0sAurora DSQL cluster and stream transitional window (built-in 750ms/500ms)
--lifecycle-ec2EC2_LIFECYCLE_DELAY0sEBS volume creating window before available
--lifecycle-ecs-startECS_START_DELAY0sECS per-phase task start delay
--lifecycle-ecs-stopECS_STOP_DELAY0sECS per-phase task stop delay
--lifecycle-efsEFS_ACTIVATION_DELAY0sEFS file system creating window
--lifecycle-eksEKS_LIFECYCLE_DELAY0sEKS transitional-state window (built-in 100ms)
--lifecycle-elasticacheELASTICACHE_LIFECYCLE_DELAY0sElastiCache creating dwell
--lifecycle-elasticbeanstalkELASTICBEANSTALK_LIFECYCLE_DELAY0sElastic Beanstalk environment Launching/Updating/Terminating window
--lifecycle-fisFIS_LIFECYCLE_DELAY0sFIS experiment state step delay (built-in 10ms)
--lifecycle-forecastFORECAST_LIFECYCLE_DELAY0sForecast resource CREATE_PENDING/CREATE_IN_PROGRESS window
--lifecycle-fsxFSX_LIFECYCLE_DELAY0sFSx resource CREATING window
--lifecycle-globalacceleratorGLOBALACCELERATOR_LIFECYCLE_DELAY0sGlobal Accelerator transitional window (built-in 500ms)
--lifecycle-grafanaGRAFANA_LIFECYCLE_DELAY0sGrafana workspace CREATING/UPDATING transitional window (built-in 100ms)
--lifecycle-inspector2INSPECTOR2_LIFECYCLE_DELAY0sInspector2 ENABLING/DISABLING window
--lifecycle-iotanalyticsIOTANALYTICS_LIFECYCLE_DELAY0sIoT Analytics channel/datastore/dataset CREATING and dataset content CREATING window
--lifecycle-iotwirelessIOTWIRELESS_LIFECYCLE_DELAY0sIoT Wireless FUOTA task FuotaSession_Waiting/In_FuotaSession stage window
--lifecycle-kafkaKAFKA_LIFECYCLE_DELAY0sMSK cluster creating and update window
--lifecycle-kafkaconnectKAFKACONNECT_LIFECYCLE_DELAY0sMSK Connect connector/plugin transitional window (built-in 500ms create, 300ms delete)
--lifecycle-kinesisanalyticsv2KINESISANALYTICSV2_LIFECYCLE_DELAY0sManaged Flink application STARTING/STOPPING/UPDATING window
--lifecycle-lambda-activationLAMBDA_ACTIVATION_DELAY0sLambda function Pending window
--lifecycle-lambda-provisioned-concurrencyLAMBDA_PROVISIONED_CONCURRENCY_DELAY0sLambda provisioned concurrency IN_PROGRESS window
--lifecycle-lambdawebLAMBDAWEB_LIFECYCLE_DELAY0sLambda Web Functions function, revision and endpoint transitional window (built-in 500ms-1s)
--lifecycle-macie2MACIE2_LIFECYCLE_DELAY0sMacie one-time classification job RUNNING window (built-in 5s)
--lifecycle-managedblockchainMANAGEDBLOCKCHAIN_LIFECYCLE_DELAY0sManaged Blockchain network/member/node CREATING window
--lifecycle-medialiveMEDIALIVE_LIFECYCLE_DELAY0sMediaLive channel/multiplex CREATING/STARTING/STOPPING/DELETING window
--lifecycle-mediapackageMEDIAPACKAGE_HARVEST_JOB_DELAY0sMediaPackage harvest job IN_PROGRESS window; 0 keeps the built-in 1s
--lifecycle-mediastoreMEDIASTORE_ACTIVATION_DELAY0sMediaStore container CREATING/DELETING window
--lifecycle-memorydbMEMORYDB_LIFECYCLE_DELAY0sMemoryDB cluster creating dwell
--lifecycle-mgnMGN_LIFECYCLE_DELAY0sApplication Migration Service replication/job/import per-hop window (built-in 100ms)
--lifecycle-mwaaMWAA_LIFECYCLE_DELAY0sMWAA environment CREATING/UPDATING/DELETING window
--lifecycle-neptuneNEPTUNE_LIFECYCLE_DELAY0sNeptune cluster and instance creating dwell
--lifecycle-networkfirewallNETWORKFIREWALL_LIFECYCLE_DELAY0sNetwork Firewall PROVISIONING/DELETING and sync window (built-in 500ms)
--lifecycle-networkmanagerNETWORKMANAGER_LIFECYCLE_DELAY0sNetwork Manager PENDING/DELETING window (built-in 100ms)
--lifecycle-networkmonitorNETWORKMONITOR_LIFECYCLE_DELAY0sNetwork Monitor monitor and probe PENDING window
--lifecycle-omicsOMICS_LIFECYCLE_DELAY0sHealthOmics workflow/store/share/run and import/export/activation job per-hop window
--lifecycle-opensearch-processingOPENSEARCH_PROCESSING_DELAY0sOpenSearch domain Processing window
--lifecycle-opsworksOPSWORKS_LIFECYCLE_DELAY0sOpsWorks instance transitional window
--lifecycle-organizationsORGANIZATIONS_LIFECYCLE_DELAY0sOrganizations CreateAccount/CreateGovCloudAccount IN_PROGRESS window
--lifecycle-outpostsOUTPOSTS_TRANSITION_DELAY0sOutposts transitional window (built-in 100ms)
--lifecycle-personalizePERSONALIZE_LIFECYCLE_DELAY0sPersonalize resource CREATE PENDING/IN PROGRESS window
--lifecycle-pinpointPINPOINT_LIFECYCLE_DELAY0sPinpoint export/import job CREATED/PROCESSING window before COMPLETED
--lifecycle-pollyPOLLY_LIFECYCLE_DELAY0sPolly speech synthesis task stage window
--lifecycle-quicksightQUICKSIGHT_CREATION_DELAY0sQuickSight dashboard, analysis and data source CREATION_IN_PROGRESS window
--lifecycle-quicksight-ingestionQUICKSIGHT_INGESTION_DELAY0sQuickSight manual ingestion RUNNING window; 0 keeps the built-in 1s; ignores the global delay
--lifecycle-redshiftREDSHIFT_ACTIVATION_DELAY0sRedshift cluster creating window
--lifecycle-redshiftdataREDSHIFTDATA_LIFECYCLE_DELAY0sRedshift Data statement SUBMITTED/STARTED window before FINISHED
--lifecycle-redshiftserverlessREDSHIFTSERVERLESS_LIFECYCLE_DELAY0sRedshift Serverless workgroup CREATING/MODIFYING/DELETING and namespace MODIFYING/DELETING window
--lifecycle-rekognitionREKOGNITION_LIFECYCLE_DELAY0sRekognition stream processor, project version and dataset transitional window
--lifecycle-resiliencehubRESILIENCEHUB_LIFECYCLE_DELAY0sResilience Hub assessment/import/resolution per-hop window (built-in 100ms)
--lifecycle-resourcegroupsRESOURCEGROUPS_LIFECYCLE_DELAY0sResource Groups transitional window
--lifecycle-route53-recoveryROUTE53_RECOVERY_LIFECYCLE_DELAY0sRoute 53 ARC control plane PENDING/PENDING_DELETION window
--lifecycle-route53resolverROUTE53RESOLVER_LIFECYCLE_DELAY0sRoute 53 Resolver endpoint CREATING/UPDATING and rule association CREATING window
--lifecycle-sagemakerSAGEMAKER_LIFECYCLE_DELAY0sSageMaker transitional-state dwell; 0 keeps the built-in dwell
--lifecycle-serverlessrepoSERVERLESSREPO_LIFECYCLE_DELAY0sServerless Application Repository template PREPARING window
--lifecycle-servicequotasSERVICEQUOTAS_LIFECYCLE_DELAY0sService Quotas increase request and utilization report stage window (built-in 500ms)
--lifecycle-ssm-automationSSM_AUTOMATION_EXEC_DELAY0sSSM automation execution InProgress window
--lifecycle-ssm-commandSSM_COMMAND_EXEC_DELAY0sSSM SendCommand InProgress window
--lifecycle-supportSUPPORT_CASE_PROGRESS_DELAY0sSupport case progress window
--lifecycle-textractTEXTRACT_ASYNC_JOB_DELAY0sTextract async job IN_PROGRESS window; 0 keeps the built-in 200ms; ignores the global delay
--lifecycle-timestreaminfluxdbTIMESTREAMINFLUXDB_LIFECYCLE_DELAY0sTimestream for InfluxDB transitional window (built-in 500ms)
--lifecycle-transcribeTRANSCRIBE_LIFECYCLE_DELAY0sTranscribe job, vocabulary and language model IN_PROGRESS/PENDING window
--lifecycle-translateTRANSLATE_LIFECYCLE_DELAY0sTranslate batch job and parallel data stage window
--lifecycle-vpclatticeVPCLATTICE_LIFECYCLE_DELAY0sVPC Lattice service/target group/association CREATE_IN_PROGRESS and target INITIAL window
--lifecycle-workmailWORKMAIL_LIFECYCLE_DELAY0sWorkMail transitional window
--lifecycle-workspacesWORKSPACES_LIFECYCLE_DELAY0sWorkSpaces PENDING and directory REGISTERING window

Azure ​

Also documented in azureblob, azurequeue, azureservicebus, azuretable.

FlagEnv varDefaultDescription
--azure-acr-portAZURE_ACR_PORT10011Fixed TCP port for the Container Registry data plane (Docker Registry v2, token and /acr/v1 APIs); startup fails if it is unavailable
--azure-acr-remote-importsAZURE_ACR_REMOTE_IMPORTSfalseLet importImage copy from external registries (such as mcr.microsoft.com) over the network. Off by default: only registries emulated by this process can be imported from
--azure-acr-tls-certAZURE_ACR_TLS_CERT—Path to a PEM certificate; with --azure-acr-tls-key the registry listener serves HTTPS. Empty: plain HTTP (docker treats localhost registries as insecure)
--azure-acr-tls-keyAZURE_ACR_TLS_KEY—Path to the PEM key matching --azure-acr-tls-cert
--azure-appconfig-auto-createAZURE_APPCONFIG_AUTO_CREATEtrueCreate a store on first data-plane use when it was not created through ARM
--azure-appconfig-portAZURE_APPCONFIG_PORT10008Fixed TCP port for the App Configuration HTTPS listener; startup fails if it is unavailable
--azure-appconfig-tls-certAZURE_APPCONFIG_TLS_CERT—Path to a PEM certificate for the App Configuration HTTPS listener. Empty: generate a self-signed certificate on every start. Requires --azure-appconfig-tls-key
--azure-appconfig-tls-keyAZURE_APPCONFIG_TLS_KEY—Path to the PEM key matching --azure-appconfig-tls-cert
--azure-appconfig-validate-hmacAZURE_APPCONFIG_VALIDATE_HMACfalseCryptographically validate HMAC-SHA256 request signatures against the store's access keys (opt-in); by default any credential is accepted
--azure-arm-aci-engineAZURE_ARM_ACI_ENGINEautoContainer Instances engine: auto (use the container runtime) or none (groups fail to provision)
--azure-arm-acr-portAZURE_ARM_ACR_PORT10011The services/azurecontainerregistry listener's port, used to build loginServer when --azure-arm-advertise-acr isn't set. Must match --azure-acr-port
--azure-arm-advertise-acrAZURE_ARM_ADVERTISE_ACR_ENDPOINT—Override the host:port advertised in container registry loginServer (after the {registry}.azurecr. prefix). Default: derived from the request's Host and --azure-arm-acr-port
--azure-arm-advertise-appconfigAZURE_ARM_ADVERTISE_APPCONFIG_ENDPOINT—Override the host:port advertised in configuration store endpoints (after the {store}. prefix). Default: derived from the request's Host and --azure-arm-appconfig-port
--azure-arm-advertise-cosmosdbAZURE_ARM_ADVERTISE_COSMOSDB_ENDPOINT—Override the host:port advertised in documentEndpoint. Default: derived from the request's Host and the Cosmos DB listener's port
--azure-arm-advertise-eventgridAZURE_ARM_ADVERTISE_EVENTGRID_ENDPOINT—Override the host:port advertised in Event Grid topic endpoints and namespace hostnames. Default: derived from the request's Host and --azure-arm-eventgrid-port
--azure-arm-advertise-eventhubAZURE_ARM_ADVERTISE_EVENTHUB_ENDPOINT—Override the host:port advertised as the AMQP endpoint in Event Hubs connection strings. Default: derived from the request's Host and --azure-arm-eventhub-amqp-port
--azure-arm-advertise-graphAZURE_ARM_ADVERTISE_GRAPH_ENDPOINT—Override the host:port advertised as the Microsoft Graph endpoint and resource ID. Default: derived from the request's Host and --azure-arm-graph-port
--azure-arm-advertise-keyvaultAZURE_ARM_ADVERTISE_KEYVAULT_ENDPOINT—Override the host:port advertised in vaultUri (after the {vault}. prefix). Default: derived from the request's Host and --azure-arm-keyvault-port
--azure-arm-advertise-searchAZURE_ARM_ADVERTISE_SEARCH_ENDPOINT—Override the host:port advertised in search service endpoints (after the {service}. prefix). Default: derived from the request's Host
--azure-arm-advertise-servicebusAZURE_ARM_ADVERTISE_SERVICEBUS_ENDPOINT—Override the host:port advertised as serviceBusEndpoint. Default: derived from the request's Host and --azure-arm-servicebus-port
--azure-arm-advertise-storage-vhostAZURE_ARM_ADVERTISE_STORAGE_VHOST—Override the host:port advertised in storage account primaryEndpoints (before the {account}.{blob,queue,table}. prefix). Default: derived from the request's Host and --azure-arm-storage-vhost-port
--azure-arm-aks-engineAKS_ENGINEstubKubernetes Service engine: stub (ARM state only) or docker (a real single-node k3s cluster per managed cluster)
--azure-arm-apim-allow-externalAZURE_ARM_APIM_ALLOW_EXTERNALfalseLet API Management gateway backends reach hosts outside loopback (opt-in; refused by default so the gateway cannot be used as an open proxy)
--azure-arm-appconfig-portAZURE_ARM_APPCONFIG_PORT10008The services/azureappconfig HTTPS listener's port, used to build store endpoints when --azure-arm-advertise-appconfig isn't set. Must match --azure-appconfig-port
--azure-arm-client-idAZURE_ARM_CLIENT_ID00000000-0000-0000-0000-000000000000Fixed dev AAD application (client) ID
--azure-arm-client-secretAZURE_ARM_CLIENT_SECRETgopherstackFixed dev client secret; any value is accepted unless --azure-arm-validate-tokens is set
--azure-arm-db-engineAZURE_ARM_DB_ENGINEstubPostgreSQL and MySQL flexible server engine: stub (ARM state only) or docker (a real container per server)
--azure-arm-enforce-rbacAZURE_ARM_ENFORCE_RBACfalseEvaluate role assignments on ARM requests (opt-in): a request whose bearer token principal holds no role granting the derived action at or above the target scope answers 403 AuthorizationFailed. Implies bearer token validation
--azure-arm-environmentAZURE_ARM_ENVIRONMENTgopherstackEnvironment name advertised by the metadata document; must match the Terraform provider's environment setting
--azure-arm-eventgrid-portAZURE_ARM_EVENTGRID_PORT10007The services/azureeventgrid HTTPS listener's port, used to build topic endpoints when --azure-arm-advertise-eventgrid isn't set. Must match --azure-eventgrid-port
--azure-arm-eventhub-amqp-portAZURE_ARM_EVENTHUB_AMQP_PORT5673The services/azureeventhubs plain AMQP port, used to build connection strings when --azure-arm-advertise-eventhub isn't set. Must match --azure-eventhubs-amqp-port
--azure-arm-eventhub-portAZURE_ARM_EVENTHUB_PORT10005The services/azureeventhubs HTTP listener's port, used for serviceBusEndpoint. Must match --azure-eventhubs-port
--azure-arm-flex-dump-dirAZURE_ARM_FLEX_DUMP_DIR—Directory holding flexible server backup and replica seed dumps in the docker engine; empty uses a temporary directory removed on shutdown, or <data-dir>/azure-flex-dumps with --persist
--azure-arm-graph-portAZURE_ARM_GRAPH_PORT10014The services/azuregraph listener's port, advertised as the environment's Microsoft Graph endpoint when --azure-arm-advertise-graph isn't set. Must match --azure-graph-port
--azure-arm-keyvault-portAZURE_ARM_KEYVAULT_PORT10004The services/azurekeyvault listener's port, used to build vaultUri when --azure-arm-advertise-keyvault isn't set. Must match --azure-keyvault-port
--azure-arm-locationAZURE_ARM_LOCATIONlocalDefault Azure location value used when a request doesn't specify one
--azure-arm-logic-allow-externalAZURE_ARM_LOGIC_ALLOW_EXTERNALfalseLet Logic Apps HTTP actions reach hosts outside loopback (opt-in; refused by default so workflows cannot be used as an open proxy)
--azure-arm-portAZURE_ARM_PORT10006Fixed TCP port for the dedicated ARM listener; startup fails if it's unavailable (no fallback pool)
--azure-arm-rbac-superusersAZURE_ARM_RBAC_SUPERUSERS—Comma-separated principal object IDs exempt from --azure-arm-enforce-rbac, so a first role assignment can be made
--azure-arm-servicebus-portAZURE_ARM_SERVICEBUS_PORT10003The services/azureservicebus listener's port, used to build serviceBusEndpoint when --azure-arm-advertise-servicebus isn't set. Must match --azure-servicebus-port
--azure-arm-storage-vhost-portAZURE_ARM_STORAGE_VHOST_PORT10010The shared services/azurestoragevhost listener's port, used to build primaryEndpoints when --azure-arm-advertise-storage-vhost isn't set. Must match --azure-storage-vhost-port
--azure-arm-subscription-idAZURE_ARM_SUBSCRIPTION_ID00000000-0000-0000-0000-000000000000Fixed dev Azure subscription ID
--azure-arm-tenant-idAZURE_ARM_TENANT_ID00000000-0000-0000-0000-000000000000Fixed dev AAD tenant ID advertised by the metadata/token endpoints
--azure-arm-tls-certAZURE_ARM_TLS_CERT—Path to a PEM certificate for the ARM HTTPS listener. Empty (default): generate a self-signed certificate on every start. Requires --azure-arm-tls-key
--azure-arm-tls-keyAZURE_ARM_TLS_KEY—Path to the PEM key matching --azure-arm-tls-cert. Required when --azure-arm-tls-cert is set
--azure-arm-validate-principalsAZURE_ARM_VALIDATE_PRINCIPALSfalseReject role assignments whose principalId is neither a Microsoft Graph directory object nor a user-assigned managed identity (PrincipalNotFound). Needs the Graph service; system-assigned resource identities are not recognised
--azure-arm-validate-tokensAZURE_ARM_VALIDATE_TOKENSfalseCryptographically validate ARM bearer tokens (opt-in); by default any token, or none, is accepted
--azure-eventgrid-advertiseAZURE_EVENTGRID_ADVERTISE_URL—Base URL (scheme://host:port) used in webhook validationUrl values. Default: https://localhost:<port>
--azure-eventgrid-portAZURE_EVENTGRID_PORT10007Fixed TCP port for the Event Grid HTTPS listener; startup fails if it is unavailable
--azure-eventgrid-tls-certAZURE_EVENTGRID_TLS_CERT—Path to a PEM certificate for the Event Grid HTTPS listener. Empty: generate a self-signed certificate on every start. Requires --azure-eventgrid-tls-key
--azure-eventgrid-tls-keyAZURE_EVENTGRID_TLS_KEY—Path to the PEM key matching --azure-eventgrid-tls-cert
--azure-eventgrid-validate-sasAZURE_EVENTGRID_VALIDATE_SASfalseCryptographically validate aeg-sas-key / SAS tokens against topic and namespace keys (opt-in); by default any credential is accepted
--azure-eventhubs-amqp-portAZURE_EVENTHUBS_AMQP_PORT5673Plain-text AMQP 1.0 listener port for Event Hubs SDKs (0 disables)
--azure-eventhubs-amqp-tls-portAZURE_EVENTHUBS_AMQP_TLS_PORT5674AMQP 1.0 over TLS listener port, self-signed dev certificate (0 disables)
--azure-eventhubs-kafka-portAZURE_EVENTHUBS_KAFKA_PORT9093Kafka protocol listener port (SASL PLAIN over TLS, self-signed dev certificate; 0 disables)
--azure-eventhubs-portAZURE_EVENTHUBS_PORT10005Fixed TCP port for the Event Hubs HTTP (REST/Atom) listener; startup fails if it's unavailable
--azure-eventhubs-validate-sasAZURE_EVENTHUBS_VALIDATE_SASfalseCryptographically validate Event Hubs SAS tokens against authorization-rule keys (opt-in)
--azure-file-portAZURE_FILE_PORT10009Fixed TCP port for the dedicated Azure Files listener; startup fails if it's unavailable (no fallback pool)
--azure-file-verify-authAZURE_FILE_VERIFY_AUTHfalseReject Shared Key and SAS requests for the development account whose signature is wrong or expired
--azure-functions-container-hostAZURE_FUNCTIONS_CONTAINER_HOST—Address function host containers use to reach the emulator's Storage, Service Bus and Event Hubs listeners; empty uses LAMBDA_DOCKER_HOST or the container runtime's default gateway
--azure-functions-domainAZURE_FUNCTIONS_DOMAINazurewebsites.localhostHostname suffix: <app>.<domain> reaches the app's functions and <app>.scm.<domain> its Kudu API; an unknown host reaches the only app, if there is exactly one
--azure-functions-engineAZURE_FUNCTIONS_ENGINEautoFunction engine: auto (container runtime if reachable) or none (never start containers)
--azure-functions-portAZURE_FUNCTIONS_PORT10012Fixed TCP port for the Azure Functions listener (function invocation and Kudu); startup fails if it is unavailable
--azure-functions-startup-timeoutAZURE_FUNCTIONS_STARTUP_TIMEOUT5mHow long a function host container may take to pull its image and accept connections
--azure-graph-default-domainAZURE_GRAPH_DEFAULT_DOMAINgopherstack.onmicrosoft.comThe tenant's default verified domain; user principal names must use a verified domain
--azure-graph-dev-client-idAZURE_GRAPH_DEV_CLIENT_ID00000000-0000-0000-0000-000000000000Client ID of the built-in dev service principal that accepts any secret at the token endpoint; must match --azure-arm-client-id
--azure-graph-extra-domainsAZURE_GRAPH_EXTRA_DOMAINS—Comma-separated additional verified domains
--azure-graph-portAZURE_GRAPH_PORT10014Fixed TCP port for the Microsoft Graph HTTPS listener; startup fails if it is unavailable
--azure-graph-tenant-idAZURE_GRAPH_TENANT_ID00000000-0000-0000-0000-000000000000Tenant ID of the directory; must match --azure-arm-tenant-id
--azure-graph-tls-certAZURE_GRAPH_TLS_CERT—Path to a PEM certificate for the Microsoft Graph HTTPS listener. Empty: generate a self-signed certificate on every start. Requires --azure-graph-tls-key
--azure-graph-tls-keyAZURE_GRAPH_TLS_KEY—Path to the PEM key matching --azure-graph-tls-cert
--azure-graph-validate-tokensAZURE_GRAPH_VALIDATE_TOKENSfalseVerify bearer token signature, expiry and audience against the emulator's Entra issuer (opt-in); by default any well-formed bearer token is accepted
--azure-keyvault-auto-create-vaultsAZURE_KEYVAULT_AUTO_CREATE_VAULTStrueCreate a vault on first data-plane use when it was not created through ARM
--azure-keyvault-portAZURE_KEYVAULT_PORT10004Fixed TCP port for the Key Vault HTTPS listener; startup fails if it is unavailable
--azure-keyvault-tls-certAZURE_KEYVAULT_TLS_CERT—Path to a PEM certificate for the Key Vault HTTPS listener. Empty: generate a self-signed certificate on every start. Requires --azure-keyvault-tls-key
--azure-keyvault-tls-keyAZURE_KEYVAULT_TLS_KEY—Path to the PEM key matching --azure-keyvault-tls-cert
--azure-keyvault-validate-tokensAZURE_KEYVAULT_VALIDATE_TOKENSfalseRequire a well-formed, unexpired JWT bearer token (opt-in); by default any bearer token is accepted after the challenge
--azure-monitor-advertiseAZURE_MONITOR_ADVERTISE_URL—Base URL (scheme://host:port) advertised as the logs ingestion endpoint of data collection endpoints. Default: https://<ARM request host>:<port>
--azure-monitor-portAZURE_MONITOR_PORT10013Fixed TCP port for the Azure Monitor Logs HTTPS listener; startup fails if it is unavailable
--azure-monitor-strict-ingestAZURE_MONITOR_STRICT_INGESTfalseReject an upload with 400 when a record mismatches the stream schema. Default: accept the upload and drop bad records silently, as Azure does asynchronously
--azure-monitor-tls-certAZURE_MONITOR_TLS_CERT—Path to a PEM certificate for the Azure Monitor Logs HTTPS listener. Empty: generate a self-signed certificate on every start. Requires --azure-monitor-tls-key
--azure-monitor-tls-keyAZURE_MONITOR_TLS_KEY—Path to the PEM key matching --azure-monitor-tls-cert
--azure-monitor-validate-tokensAZURE_MONITOR_VALIDATE_TOKENSfalseRequire a well-formed, unexpired JWT bearer token (opt-in); by default any bearer token is accepted
--azure-redis-tls-certAZURE_REDIS_TLS_CERT—Path to a PEM certificate for the caches' TLS endpoints. Empty: generate a self-signed certificate on every start. Requires --azure-redis-tls-key
--azure-redis-tls-keyAZURE_REDIS_TLS_KEY—Path to the PEM key matching --azure-redis-tls-cert
--azure-search-portAZURE_SEARCH_PORT10015Fixed TCP port for the Azure AI Search HTTPS listener; startup fails if it is unavailable
--azure-search-validate-tokensAZURE_SEARCH_VALIDATE_TOKENSfalseValidate Microsoft Entra bearer tokens and enforce Search role assignments on the data plane (opt-in); by default any bearer token is an administrator
--azure-sql-engineAZURE_SQL_ENGINEautoDatabase engine: auto (SQL Server containers if a container runtime is reachable, else state-only) or none
--azure-sql-imageAZURE_SQL_IMAGEmcr.microsoft.com/mssql/server:2022-CU26-ubuntu-22.04SQL Server container image (linux/amd64 or arm64 per host)
--azure-sql-startup-timeoutAZURE_SQL_STARTUP_TIMEOUT5mHow long a server container may take to pull its image and accept connections
--azure-storage-vhost-portAZURE_STORAGE_VHOST_PORT10010Fixed TCP port for the shared Azure Storage virtual-hosted-style listener (Blob/Queue/Table, dispatched by Host header); startup fails if it's unavailable (no fallback pool)

GCP ​

Also documented in Engines.

FlagEnv varDefaultDescription
--gcp-apigateway-allow-external-backendsGCP_APIGATEWAY_ALLOW_EXTERNAL_BACKENDSfalseLet gateway backends and remote JWKS URIs reach hosts outside loopback; by default the data plane only dials 127.0.0.0/8 and ::1 (Cloud Run and Functions *.localhost URLs included)
--gcp-apigateway-portGCP_APIGATEWAY_PORT8146Fixed TCP port for the dedicated API Gateway listener (control plane and gateway data plane); startup fails if it is unavailable
--gcp-artifacts-operation-delayGCP_ARTIFACTREGISTRY_OPERATION_DELAY0sHow long long-running operations stay pending before they finish; 0 finishes them before the call returns
--gcp-artifacts-portGCP_ARTIFACTREGISTRY_PORT8134Fixed TCP port for the dedicated Artifact Registry gRPC, REST and Docker Registry listener; startup fails if it is unavailable
--gcp-artifacts-registry-hostGCP_ARTIFACTREGISTRY_REGISTRY_HOSTlocalhostHost (without the port) advertised in a repository's registry_uri and docker image URIs
--gcp-artifacts-remote-upstreamsGCP_ARTIFACTREGISTRY_REMOTE_UPSTREAMSfalseLet remote repositories fetch from their upstream (Docker Hub, Maven Central, npmjs, PyPI, custom URIs) over the network and cache the result. Off by default: an uncached remote read answers 502
--gcp-batch-engineGCP_BATCH_ENGINEnoneTask execution: none (jobs progress QUEUED, SCHEDULED, RUNNING, SUCCEEDED on the clock without running anything) or docker (run each task's runnables as containers)
--gcp-batch-portGCP_BATCH_PORT8147Fixed TCP port for the dedicated Batch gRPC and REST listener; startup fails if it is unavailable
--gcp-batch-script-imageGCP_BATCH_SCRIPT_IMAGEdebian:bookworm-slimContainer image that executes script runnables when the docker engine is on (Batch runs them on the VM host)
--gcp-bigquery-portGCP_BIGQUERY_PORT9050Fixed TCP port for the dedicated Google BigQuery listener; startup fails if it is unavailable
--gcp-bigtable-portGCP_BIGTABLE_PORT8137Fixed TCP port for the dedicated Google Cloud Bigtable gRPC and REST listener (BIGTABLE_EMULATOR_HOST); startup fails if it is unavailable
--gcp-cloudbuild-engineGCP_CLOUDBUILD_ENGINEautoBuild execution: auto (run each build step as a container when a runtime is reachable) or none (builds fail with a status detail)
--gcp-cloudbuild-portGCP_CLOUDBUILD_PORT8136Fixed TCP port for the dedicated Cloud Build gRPC and REST listener; startup fails if it is unavailable
--gcp-cloudtasks-appengine-urlGCP_CLOUDTASKS_APPENGINE_URL—Base URL that AppEngineHttpRequest tasks are dispatched to; when empty they fail with FAILED_PRECONDITION
--gcp-cloudtasks-portGCP_CLOUDTASKS_PORT8123Fixed TCP port for the dedicated Google Cloud Tasks gRPC listener; startup fails if it is unavailable
--gcp-compute-portGCP_COMPUTE_PORT8142Fixed TCP port for the dedicated Compute Engine REST listener; startup fails if it is unavailable
--gcp-container-portGCP_CONTAINER_PORT8144Fixed TCP port for the dedicated Kubernetes Engine gRPC and REST listener; startup fails if it is unavailable
--gcp-datastore-enforce-indexesGCP_DATASTORE_ENFORCE_INDEXEStrueFail queries that need a composite index with FAILED_PRECONDITION unless a matching index was created through the admin API; false accepts every query
--gcp-datastore-portGCP_DATASTORE_PORT8143Fixed TCP port for the dedicated Google Cloud Datastore gRPC and REST listener (DATASTORE_EMULATOR_HOST); startup fails if it is unavailable
--gcp-dns-dns-portGCP_DNS_SERVER_PORT8141Fixed UDP and TCP port of the authoritative DNS server that answers for public zones; startup fails if it is unavailable
--gcp-dns-portGCP_DNS_PORT8140Fixed TCP port for the dedicated Cloud DNS REST listener; startup fails if it is unavailable
--gcp-enforce-projectsGCP_ENFORCE_PROJECTSfalseReject GCP requests whose project does not exist or is DELETE_REQUESTED (needs the gcpresourcemanager service). Default off: any project id is accepted
--gcp-enforce-service-enablementGCP_ENFORCE_SERVICE_ENABLEMENTfalseReject GCP requests to a service whose API is not enabled for the project (SERVICE_DISABLED); implies the project check (needs the gcpresourcemanager service). Default off
--gcp-eventarc-portGCP_EVENTARC_PORT8138Fixed TCP port for the dedicated Google Cloud Eventarc gRPC and REST listener; startup fails if it is unavailable
--gcp-firestore-portGCP_FIRESTORE_PORT8080Fixed TCP port for the dedicated Google Cloud Firestore gRPC listener (FIRESTORE_EMULATOR_HOST); startup fails if it is unavailable
--gcp-functions-engineGCP_FUNCTIONS_ENGINEautoFunction engine: auto (container runtime if reachable) or none (never start containers)
--gcp-functions-ingress-portGCP_FUNCTIONS_INGRESS_PORT8129Fixed TCP port of the HTTP ingress that routes <function>-<hash>-<region>.localhost hosts to functions and serves source upload/download URLs; startup fails if taken
--gcp-functions-portGCP_FUNCTIONS_PORT8128Fixed TCP port for the dedicated Google Cloud Functions gRPC listener; startup fails if it is unavailable
--gcp-functions-startup-timeoutGCP_FUNCTIONS_STARTUP_TIMEOUT5mHow long a function container may take to install dependencies and accept connections
--gcp-iam-portGCP_IAM_PORT8125Fixed TCP port for the dedicated Google Cloud IAM admin gRPC listener; startup fails if it is unavailable
--gcp-identitytoolkit-allow-external-blocking-functionsGCP_IDENTITYTOOLKIT_ALLOW_EXTERNAL_BLOCKING_FUNCTIONSfalseLet blocking functions reach hosts outside loopback (opt-in; refused by default so a project config cannot be used as an open proxy)
--gcp-identitytoolkit-portGCP_IDENTITYTOOLKIT_PORT8145Fixed TCP port for the dedicated Identity Platform / Firebase Auth listener (FIREBASE_AUTH_EMULATOR_HOST); startup fails if it is unavailable
--gcp-identitytoolkit-projectGCP_IDENTITYTOOLKIT_PROJECTgopherstack-localProject that client calls (API-key requests without a /projects/ path) resolve to
--gcp-kms-portGCP_KMS_PORT8087Fixed TCP port for the dedicated Google Cloud KMS gRPC listener; startup fails if it is unavailable
--gcp-logging-portGCP_LOGGING_PORT8131Fixed TCP port for the dedicated Google Cloud Logging gRPC and REST listener; startup fails if it is unavailable
--gcp-monitoring-portGCP_MONITORING_PORT8132Fixed TCP port for the dedicated Google Cloud Monitoring gRPC and REST listener; startup fails if it is unavailable
--gcp-pubsub-portGCP_PUBSUB_PORT8085Fixed TCP port for the dedicated Google Cloud Pub/Sub gRPC listener; startup fails if it is unavailable
--gcp-redis-portGCP_REDIS_PORT8133Fixed TCP port for the dedicated Google Memorystore for Redis gRPC listener; startup fails if it is unavailable
--gcp-resourcemanager-delete-retentionGCP_RESOURCEMANAGER_DELETE_RETENTION720hHow long a DELETE_REQUESTED project or folder can be undeleted before it is purged (GCP: about 30 days). 0 purges at once and frees the id
--gcp-resourcemanager-domainGCP_RESOURCEMANAGER_DOMAINgopherstack.localDisplay name (domain) of the emulated organization
--gcp-resourcemanager-organization-idGCP_RESOURCEMANAGER_ORGANIZATION_ID123456789012Numeric id of the one emulated organization (organizations/ID)
--gcp-resourcemanager-portGCP_RESOURCEMANAGER_PORT8148Fixed TCP port for the dedicated Resource Manager and Service Usage gRPC and REST listener; startup fails if it is unavailable
--gcp-resourcemanager-seed-projectsGCP_RESOURCEMANAGER_SEED_PROJECTSgopherstack-testComma-separated project ids created at startup, with no parent, so they can be read and used for IAM and Service Usage
--gcp-run-engineGCP_RUN_ENGINEautoWorkload engine: auto (container runtime if reachable) or none (never start containers)
--gcp-run-ingress-portGCP_RUN_INGRESS_PORT8127Fixed TCP port of the HTTP ingress that routes <service>-<hash>-<region>.localhost hosts to deployed services; startup fails if taken
--gcp-run-portGCP_RUN_PORT8126Fixed TCP port for the dedicated Google Cloud Run gRPC listener; startup fails if it is unavailable
--gcp-run-startup-timeoutGCP_RUN_STARTUP_TIMEOUT4mHow long a new revision may take to accept connections before it is marked failed
--gcp-scheduler-appengine-urlGCP_SCHEDULER_APPENGINE_URL—Base URL that AppEngineHttpTarget jobs are dispatched to; when empty they fail with FAILED_PRECONDITION
--gcp-scheduler-portGCP_SCHEDULER_PORT8124Fixed TCP port for the dedicated Google Cloud Scheduler gRPC listener; startup fails if it is unavailable
--gcp-secretmanager-portGCP_SECRETMANAGER_PORT8086Fixed TCP port for the dedicated Google Secret Manager gRPC listener; startup fails if it is unavailable
--gcp-spanner-engineGCP_SPANNER_ENGINEautoData plane: auto (run the Spanner emulator container if a runtime is reachable, else metadata only) or none
--gcp-spanner-imageGCP_SPANNER_IMAGEgcr.io/cloud-spanner-emulator/emulator:1.5.40Cloud Spanner emulator image serving databases, sessions and queries
--gcp-spanner-portGCP_SPANNER_PORT8135Fixed TCP port for the dedicated Cloud Spanner gRPC and REST listener; startup fails if it is unavailable
--gcp-spanner-startup-timeoutGCP_SPANNER_STARTUP_TIMEOUT5mHow long the emulator container may take to pull its image and accept calls
--gcp-sql-engineGCP_SQL_ENGINEautoDatabase engine: auto (container runtime if reachable, else state-only) or none (never start containers)
--gcp-sql-portGCP_SQL_PORT8130Fixed TCP port for the dedicated Cloud SQL Admin listener; startup fails if it is unavailable
--gcp-sql-startup-timeoutGCP_SQL_STARTUP_TIMEOUT5mHow long a database container may take to pull its image and accept connections
--gcp-storage-portGCP_STORAGE_PORT4443Fixed TCP port for the dedicated Google Cloud Storage listener; startup fails if it is unavailable
--gcp-storage-require-authGCP_STORAGE_REQUIRE_AUTHfalseReject Cloud Storage requests that are neither signed (V2/V4 signed URL) nor carry an Authorization header. Signed requests are always verified
--gcp-workflows-portGCP_WORKFLOWS_PORT8139Fixed TCP port for the dedicated Google Cloud Workflows gRPC and REST listener; startup fails if it is unavailable

OCI ​

Also documented in Engines.

FlagEnv varDefaultDescription
--oci-apigateway-allow-external-backendsOCI_APIGATEWAY_ALLOW_EXTERNAL_BACKENDSfalseLet HTTP backends and remote JWKS URIs reach hosts outside loopback; by default the data plane only dials 127.0.0.0/8 and ::1
--oci-apigateway-enforce-authOCI_APIGATEWAY_ENFORCE_AUTHfalseReject unsigned control-plane requests and signatures from API keys not registered with the emulator; off by default so any signing config works
--oci-apigateway-portOCI_APIGATEWAY_PORT8163Fixed TCP port for the dedicated OCI API Gateway listener (control plane and data plane); startup fails if it is unavailable
--oci-apigateway-tls-portOCI_APIGATEWAY_TLS_PORT0Extra TCP port that serves only the TLS data plane (set 443 to reach gateways through the real https://<hostname> form); 0 disables it
--oci-artifacts-enforce-authOCI_ARTIFACTS_ENFORCE_AUTHfalseReject unsigned control-plane requests and signatures from API keys not registered with the emulator; off by default so any signing config works. Registry logins always need a namespace/user name and a non-empty auth token
--oci-artifacts-portOCI_ARTIFACTS_PORT8166Fixed TCP port for the dedicated OCI Artifacts and Container Registry listener (control plane, generic artifact content and Docker Registry v2); startup fails if it is unavailable
--oci-container-instances-enforce-authOCI_CONTAINER_INSTANCES_ENFORCE_AUTHfalseReject unsigned control-plane requests and signatures from API keys not registered with the emulator; off by default so any signing config works
--oci-container-instances-engineOCI_CONTAINER_INSTANCES_ENGINEstateContainer Instances engine: state (lifecycle only, no containers run) or docker (run the containers in the container runtime)
--oci-container-instances-portOCI_CONTAINER_INSTANCES_PORT8167Fixed TCP port for the dedicated OCI Container Instances listener; startup fails if it is unavailable
--oci-core-enforce-authOCI_CORE_ENFORCE_AUTHfalseReject unsigned requests and signatures from API keys not registered with the emulator; off by default so any signing config works
--oci-core-portOCI_CORE_PORT8155Fixed TCP port for the dedicated OCI Core Services (networking) listener; startup fails if it is unavailable
--oci-database-enforce-authOCI_DATABASE_ENFORCE_AUTHfalseReject unsigned control-plane requests and signatures from API keys not registered with the emulator; off by default so any signing config works
--oci-database-portOCI_DATABASE_PORT8170Fixed TCP port for the dedicated OCI Database listener; startup fails if it is unavailable
--oci-dns-enforce-authOCI_DNS_ENFORCE_AUTHfalseReject unsigned control-plane requests and signatures from API keys not registered with the emulator; off by default so any signing config works
--oci-dns-portOCI_DNS_PORT8168Fixed TCP port for the dedicated OCI DNS control-plane listener; startup fails if it is unavailable
--oci-dns-port-dnsOCI_DNS_PORT_DNS8169Fixed UDP and TCP port of the authoritative DNS server that answers for GLOBAL zones; 0 disables the data plane; startup fails if the port is unavailable
--oci-events-enforce-authOCI_EVENTS_ENFORCE_AUTHfalseReject unsigned control-plane requests and signatures from API keys not registered with the emulator; off by default so any signing config works
--oci-events-portOCI_EVENTS_PORT8164Fixed TCP port for the dedicated OCI Events listener; startup fails if it is unavailable
--oci-filestorage-data-dirOCI_FILESTORAGE_DATA_DIR—Directory holding file system data in nfs mode; empty uses a temporary directory removed on shutdown
--oci-filestorage-enforce-authOCI_FILESTORAGE_ENFORCE_AUTHfalseReject unsigned control-plane requests and signatures from API keys not registered with the emulator; off by default so any signing config works
--oci-filestorage-engineOCI_FILESTORAGE_ENGINEstubOCI File Storage engine: stub (control plane only) or nfs (each mount target serves its exports over NFSv3 on a loopback port, backed by a directory per file system)
--oci-filestorage-portOCI_FILESTORAGE_PORT8171Fixed TCP port for the dedicated OCI File Storage control-plane listener; startup fails if it is unavailable
--oci-functions-concurrency-mbOCI_FUNCTIONS_CONCURRENCY_MB61440Service limit total-concurrency-mb: memory of all concurrently running invocations; beyond it calls answer 429
--oci-functions-disable-engineOCI_FUNCTIONS_DISABLE_ENGINEfalseNever start containers: invocations fail with 503 (management APIs keep working)
--oci-functions-enforce-authOCI_FUNCTIONS_ENFORCE_AUTHfalseReject unsigned requests and signatures from API keys not registered with the emulator; off by default so any signing config works
--oci-functions-idle-timeoutOCI_FUNCTIONS_IDLE_TIMEOUT10mHow long an idle warm function container is kept before it is removed
--oci-functions-max-applicationsOCI_FUNCTIONS_MAX_APPLICATIONS20Service limit application-count: applications that may exist at once
--oci-functions-max-containersOCI_FUNCTIONS_MAX_CONTAINERS32Maximum number of live function containers (busy plus warm); further concurrent invocations are throttled with 429
--oci-functions-max-functionsOCI_FUNCTIONS_MAX_FUNCTIONS500Service limit function-count: functions that may exist at once
--oci-functions-portOCI_FUNCTIONS_PORT8154Fixed TCP port for the dedicated OCI Functions (management and invoke) listener; startup fails if it is unavailable
--oci-functions-provisioned-mbOCI_FUNCTIONS_PROVISIONED_MB40960Service limit provisioned-concurrency-mb: memory reserved by provisioned concurrency across functions
--oci-functions-startup-timeoutOCI_FUNCTIONS_STARTUP_TIMEOUT5mHow long a function container may take to pull its image and open its FDK socket
--oci-identity-enforce-authOCI_IDENTITY_ENFORCE_AUTHfalseReject unsigned requests and signatures from API keys not registered with the emulator; off by default so any signing config works
--oci-identity-portOCI_IDENTITY_PORT8153Fixed TCP port for the dedicated OCI Identity (IAM) listener; startup fails if it is unavailable
--oci-loadbalancer-allow-external-backendsOCI_LOADBALANCER_ALLOW_EXTERNAL_BACKENDSfalseLet load balancer listeners forward to, and health-check, backends outside loopback; by default the data plane only dials 127.0.0.0/8 and ::1
--oci-loadbalancer-enforce-authOCI_LOADBALANCER_ENFORCE_AUTHfalseReject unsigned control-plane requests and signatures from API keys not registered with the emulator; off by default so any signing config works
--oci-loadbalancer-portOCI_LOADBALANCER_PORT8165Fixed TCP port for the dedicated OCI Load Balancer control-plane listener; startup fails if it is unavailable
--oci-logging-enforce-authOCI_LOGGING_ENFORCE_AUTHfalseReject unsigned requests and signatures from API keys not registered with the emulator; off by default so any signing config works
--oci-logging-portOCI_LOGGING_PORT8160Fixed TCP port for the dedicated OCI Logging (control plane, ingestion and search) listener; startup fails if it is unavailable
--oci-monitoring-enforce-authOCI_MONITORING_ENFORCE_AUTHfalseReject unsigned requests and signatures from API keys not registered with the emulator; off by default so any signing config works
--oci-monitoring-portOCI_MONITORING_PORT8161Fixed TCP port for the dedicated OCI Monitoring (alarms, metric ingestion and metric queries) listener; startup fails if it is unavailable
--oci-mysql-enforce-authOCI_MYSQL_ENFORCE_AUTHfalseReject unsigned requests and signatures from API keys not registered with the emulator; off by default so any signing config works
--oci-mysql-max-manual-backupsOCI_MYSQL_MAX_MANUAL_BACKUPS1200Service limit: manual backups that may exist at once
--oci-mysql-max-parallel-copiesOCI_MYSQL_MAX_PARALLEL_COPIES5Service limit: cross-region backup copies in progress at once
--oci-mysql-max-shape-instancesOCI_MYSQL_MAX_SHAPE_INSTANCES100Service limit: DB systems of one shape per availability domain (a tenth of it for MySQL.256)
--oci-mysql-max-storage-gbOCI_MYSQL_MAX_STORAGE_GB100000Service limit: data storage in GB per availability domain
--oci-mysql-portOCI_MYSQL_PORT8159Fixed TCP port for the dedicated OCI MySQL HeatWave Database Service listener; startup fails if it is unavailable
--oci-nosql-enforce-authOCI_NOSQL_ENFORCE_AUTHfalseReject unsigned requests and signatures from API keys not registered with the emulator; off by default so any signing config works
--oci-nosql-enforce-throughputOCI_NOSQL_ENFORCE_THROUGHPUTfalseReject row and query operations with 429 TooManyRequests once a PROVISIONED table's read or write units for the current second are spent; off by default so bulk loads never fail
--oci-nosql-portOCI_NOSQL_PORT8162Fixed TCP port for the dedicated OCI NoSQL Database listener; startup fails if it is unavailable
--oci-notifications-enforce-authOCI_NOTIFICATIONS_ENFORCE_AUTHfalseReject unsigned requests and signatures from API keys not registered with the emulator; off by default so any signing config works
--oci-notifications-portOCI_NOTIFICATIONS_PORT8157Fixed TCP port for the dedicated OCI Notifications (topics, subscriptions and publish) listener; startup fails if it is unavailable
--oci-objectstorage-enforce-authOCI_OBJECTSTORAGE_ENFORCE_AUTHfalseReject unsigned requests and signatures from API keys not registered with the emulator; off by default so any signing config works
--oci-objectstorage-namespaceOCI_OBJECTSTORAGE_NAMESPACEgopherstackObject Storage namespace the emulator serves; other namespaces return NamespaceNotFound
--oci-objectstorage-portOCI_OBJECTSTORAGE_PORT8150Fixed TCP port for the dedicated OCI Object Storage listener; startup fails if it is unavailable
--oci-oke-enforce-authOCI_CONTAINER_ENGINE_ENFORCE_AUTHfalseReject unsigned requests and signatures from API keys not registered with the emulator; off by default so any signing config works
--oci-oke-portOCI_CONTAINER_ENGINE_PORT8158Fixed TCP port for the dedicated OCI Container Engine for Kubernetes (OKE) listener; startup fails if it is unavailable
--oci-queue-enforce-authOCI_QUEUE_ENFORCE_AUTHfalseReject unsigned requests and signatures from API keys not registered with the emulator; off by default so any signing config works
--oci-queue-enforce-rate-limitsOCI_QUEUE_ENFORCE_RATE_LIMITSfalseAnswer 429 TooManyRequests once a queue spends its documented 1,000 requests per second per API or 10 MB per second of ingress or egress; off by default so bulk loads never fail
--oci-queue-portOCI_QUEUE_PORT8156Fixed TCP port for the dedicated OCI Queue (queue admin and messages) listener; startup fails if it is unavailable
--oci-streaming-enforce-authOCI_STREAMING_ENFORCE_AUTHfalseReject unsigned requests and signatures from API keys not registered with the emulator; off by default so any signing config works
--oci-streaming-kafka-portOCI_STREAMING_KAFKA_PORT0TCP port of the Kafka-compatible listener (SASL PLAIN over TLS with a self-signed dev certificate, user tenancy/domain/user/streamPoolOCID, password an OCI Identity auth token; 0 disables)
--oci-streaming-partition-limitOCI_STREAMING_PARTITION_LIMIT200Partitions allowed across all streams (Oracle default 200 on Monthly Universal Credits, 50 on Pay-as-You-Go); 0 disables the limit
--oci-streaming-portOCI_STREAMING_PORT8152Fixed TCP port for the dedicated OCI Streaming (stream admin and messages) listener; startup fails if it is unavailable
--oci-vault-enforce-authOCI_VAULT_ENFORCE_AUTHfalseReject unsigned requests and signatures from API keys not registered with the emulator; off by default so any signing config works
--oci-vault-portOCI_VAULT_PORT8151Fixed TCP port for the dedicated OCI Vault (KMS, Vault secrets, Secret retrieval) listener; startup fails if it is unavailable

Per-service settings ​

Settings already tabulated on cloudformation, cosmosdb, ec2, kinesis, lambda, opensearch, sqs, stepfunctions, transcribe are not repeated here.

agentcore ​

FlagEnv varDefaultDescription
--agentcore-registry-hostAGENTCORE_REGISTRY_HOST—host:port that replaces the ECR registry host when pulling agent runtime images (for example the emulated ECR registry)
--agentcore-python-imageAGENTCORE_PYTHON_IMAGE—Code interpreter sandbox image; empty uses python:3.12-slim
--agentcore-gateway-extra-ca-fileAGENTCORE_GATEWAY_EXTRA_CA_FILE—PEM file of extra CA certificates trusted when gateway targets, JWKS and OAuth endpoints use TLS (certificates are always verified)
--agentcore-allow-external-gateway-targetsAGENTCORE_ALLOW_EXTERNAL_GATEWAY_TARGETSfalseLet AgentCore gateway targets (OpenAPI, MCP server) and JWT discovery reach hosts outside loopback (opt-in; refused by default so a gateway cannot be used as an open proxy)
--agentcore-idle-timeoutAGENTCORE_IDLE_TIMEOUT15mIdle time after which a warm agent runtime session is stopped when the runtime sets no lifecycle timeout

amp ​

FlagEnv varDefaultDescription
--amp-ingestion-rateAMP_INGESTION_RATE1666666Samples per second one workspace may ingest; also the token bucket refill rate
--amp-ingestion-burstAMP_INGESTION_BURST—Token bucket size in samples; 0 means one second of the ingestion rate
--amp-active-seriesAMP_ACTIVE_SERIES50000000Active series (a sample in the last 2 hours) one workspace may hold
--amp-enforce-ingestion-quotasAMP_ENFORCE_INGESTION_QUOTASfalseReject remote write beyond the ingestion rate (429) and active series (400) quotas; off by default so bulk loads never fail

batch ​

FlagEnv varDefaultDescription
--batch-execute-jobsBATCH_EXECUTE_JOBSfalseRun submitted container jobs in Docker instead of simulating completion

ce ​

FlagEnv varDefaultDescription
--ce-resource-levelGOPHERSTACK_CE_RESOURCE_LEVELfalseKeep resource ids and tags on metered Cost Explorer rows for 14 days (resource-level data). Default off

cloudwatchlogs ​

FlagEnv varDefaultDescription
--cloudwatchlogs-max-retention-daysCLOUDWATCHLOGS_MAX_RETENTION_DAYS14Global maximum log retention in days for groups without explicit policy

dynamodb ​

FlagEnv varDefaultDescription
--dynamodb-default-regionDYNAMODB_REGIONus-east-1Default region for DynamoDB
--dynamodb-ttl-sweep-batch-sizeDYNAMODB_TTL_SWEEP_BATCH_SIZE1000Maximum items checked per TTL sweep lock acquisition
--dynamodb-create-delayDYNAMODB_CREATE_DELAY0sSimulated CREATING→ACTIVE delay. 0 disables lifecycle
--dynamodb-enforce-throughputDYNAMODB_ENFORCE_THROUGHPUTfalseEnforce provisioned throughput limits (token bucket per table)

ecr ​

FlagEnv varDefaultDescription
--ecr-endpoint-strategyECR_ENDPOINT_STRATEGY—ECR repositoryUri host format: domain or off (empty keeps the AWS-style host)

elbv2 ​

FlagEnv varDefaultDescription
--elbv2-listenersELBV2_LISTENERSroutedELBv2 data plane: routed (path/host routing on the emulator port) or real (a local socket per listener, TLS termination for HTTPS/TLS)
--elbv2-listener-hostELBV2_LISTENER_HOST127.0.0.1Bind address for real ELBv2 listeners. Requested ports below 1024 or already taken map to a port from the shared pool; see GET /_gopherstack/elbv2/_listeners

es ​

FlagEnv varDefaultDescription
--es-processing-delayELASTICSEARCH_PROCESSING_DELAY0sElasticsearch domain Processing window; 0 settles instantly

eventbridge ​

FlagEnv varDefaultDescription
--eventbridge-allow-schedule-on-custom-busEVENTBRIDGE_ALLOW_SCHEDULE_ON_CUSTOM_BUSfalseAccept scheduled rules on custom event buses (real AWS allows them only on the default bus)

graphql ​

FlagEnv varDefaultDescription
--graphql-endpoint-strategyGRAPHQL_ENDPOINT_STRATEGY—AppSync GraphQL URL format: legacy, domain or path (empty keeps /v1/apis/ID/graphql)

iot ​

FlagEnv varDefaultDescription
--iot-mqtt-portIOT_MQTT_PORT1883TCP port for the embedded IoT MQTT broker; 0 picks a free port
--iot-mqtt-authIOT_MQTT_AUTHfalseRequire X.509 client certificates on the IoT MQTT broker (TLS) and authorise CONNECT/PUBLISH/SUBSCRIBE/RECEIVE with attached IoT policies (opt-in)

lambdaweb ​

FlagEnv varDefaultDescription
--lambdaweb-runtime-imageLAMBDAWEB_RUNTIME_IMAGEdocker.io/library/node:24-slimContainer image that runs nodejs24.x web function revisions (needs node on PATH)

s3 ​

FlagEnv varDefaultDescription
--s3-default-regionS3_REGIONus-east-1Default region for S3
--s3-skip-kms-key-validationGOPHERSTACK_S3_SKIP_KMS_KEY_VALIDATION, S3_SKIP_KMS_KEY_VALIDATIONfalseAccept SSE-KMS key ids that do not exist in KMS instead of failing with KMS.NotFoundException (LocalStack S3_SKIP_KMS_KEY_VALIDATION)
--s3-validate-signaturesGOPHERSTACK_S3_VALIDATE_SIGNATURES, S3_VALIDATE_SIGNATURESfalseCryptographically verify S3 request and presigned-URL signatures against --sigv4-secret, for S3 only (LocalStack S3_VALIDATE_SIGNATURES; S3_SKIP_SIGNATURE_VALIDATION=0 enables it too)
--s3-disable-custom-corsGOPHERSTACK_S3_DISABLE_CUSTOM_CORS, DISABLE_CUSTOM_CORS_S3falseIgnore per-bucket CORS configuration so only the global CORS settings apply (LocalStack DISABLE_CUSTOM_CORS_S3)
--s3-compression-min-bytesS3_COMPRESSION_MIN_BYTES1024Minimum object size in bytes for zstd compression. Set to 0 to compress all objects regardless of size

ses ​

FlagEnv varDefaultDescription
--ses-inbound-addrSES_INBOUND_ADDR127.0.0.1:2525Listen address of the inbound SMTP server
--ses-inbound-regionsSES_INBOUND_REGIONS—Extra per-region inbound SMTP listeners as region=host:port,region=host:port
--ses-inbound-max-sizeSES_INBOUND_MAX_SIZE41943040Maximum inbound message size in bytes
--ses-inbound-enabledSES_INBOUND_ENABLEDfalseRun an SMTP listener that applies the active receipt rule set to received mail

sqs ​

FlagEnv varDefaultDescription
--sqs-endpoint-strategySQS_ENDPOINT_STRATEGY—Queue URL format: standard, domain, path, off or dynamic (empty keeps http://host/account/name)

transfer ​

FlagEnv varDefaultDescription
--transfer-sftp-hostTRANSFER_SFTP_HOST127.0.0.1Host the Transfer Family SFTP listener binds to
--transfer-sftpTRANSFER_SFTPfalseServe a real SFTP listener per Transfer Family server

verifiedpermissions ​

FlagEnv varDefaultDescription
--verifiedpermissions-oidcca-fileGOPHERSTACK_VERIFIEDPERMISSIONS_OIDC_CA_FILE—PEM bundle of extra CAs trusted for OIDC discovery/JWKS (self-signed issuers)
--verifiedpermissions-disable-jwt-verificationVERIFIEDPERMISSIONS_DISABLE_JWT_VERIFICATIONfalseSkip JWT signature/expiry/issuer checks in IsAuthorizedWithToken (claims still parsed)

Environment-only variables ​

No flag; read directly from the environment.

Env varDefaultDescription
AWS_DEFAULT_REGIONunsetOverrides --region; wins over AWS_REGION.
AWS_REGIONunsetOverrides --region.
AWS_ACCESS_KEY_IDdummyCredentials for the server's own AWS SDK clients; incoming credentials are not validated.
AWS_SECRET_ACCESS_KEYdummyPaired with AWS_ACCESS_KEY_ID.
CONTAINER_HOSTunsetPodman socket endpoint override.
GOPHERSTACK_PARTITION_STRICTtruefalse stops rejecting ARNs from a partition other than the signing region's.
GOPHERSTACK_PPROF_ADDRunsetOpt-in pprof listener (for example localhost:6060); never enable in shared environments.
SMTP_HOSTunsetRelay SES and SESv2 mail to this SMTP server (host[:port], default port 25).
SMTP_USERunsetSMTP login username.
SMTP_PASSunsetSMTP login password.

Released under the MIT License.