MAVERICS_AWS_CONFIG environment variable.
Console terminology: In the Maverics Console, Orchestrator instances and
configuration delivery are managed through Deployments. When working directly
with YAML, configuration is managed as files delivered via the
-config flag or
MAVERICS_CONFIG environment variable.Prerequisites
- An active AWS account — with an S3 bucket containing Orchestrator configuration
- An IAM user or role with read access — with
s3:GetObjectpermission on the bucket (see the S3 deployment provider page for detailed IAM setup steps), or an EC2/EKS instance role configured for S3 access
Overview
When theMAVERICS_AWS_CONFIG environment variable is set, the Orchestrator fetches its YAML configuration from the specified S3 bucket and object path. The variable contains a JSON payload with connection details and credentials. The Orchestrator supports ETag-based change detection for automatic hot-reload of configuration changes.
Use Cases
- AWS-native deployments — store configuration alongside other AWS infrastructure artifacts using native IAM authentication
- CI/CD config delivery — push validated configuration to S3 from any CI/CD pipeline (Jenkins, GitHub Actions, CodePipeline) and let the Orchestrator pick it up automatically
- Multi-region config distribution — leverage S3 cross-region replication to distribute configuration globally
Configuration
- Console UI
- Configuration
Console UI documentation is coming soon. This section will walk you
through configuring this component using the Maverics Console’s visual
interface, including step-by-step screenshots and field descriptions.
Configuration Reference
TheMAVERICS_AWS_CONFIG JSON payload supports the following fields:
| Field | Type | Required | Description |
|---|---|---|---|
region | string | Yes | AWS region (e.g., us-west-2) |
accessKeyID | string | Conditional | AWS access key ID (not needed with IAM role) |
secretAccessKey | string | Conditional | AWS secret access key (not needed with IAM role) |
bucketName | string | Yes | S3 bucket name |
configurationFilePath | string | No | Path to the config file within the bucket. Only needed if the file is not at the bucket root. |
MAVERICS_RELOAD_CONFIG=true is set, the Orchestrator periodically checks the S3 object’s ETag. When the ETag changes (indicating the file was updated), the Orchestrator reloads the configuration automatically.
IAM Permissions
The Orchestrator requires read-only access to the S3 bucket. Attach the following IAM policy to the IAM role or user that the Orchestrator uses:YOUR-BUCKET-NAME with your actual bucket name. If you use a configurationFilePath, you can further restrict the Resource to the specific object path (e.g., arn:aws:s3:::my-bucket/config/maverics.yaml).
If the Maverics Console publishes bundles to the same S3 bucket, the Console’s IAM role requires additional permissions (
s3:PutObject, s3:ListBucket, s3:DeleteObject). See Publishing Deployment Configs overview for Console-side setup.Full Environment Example
A completemaverics.env file for an Orchestrator using Amazon S3 as its config source:
maverics.env
accessKeyID and secretAccessKey.
Troubleshooting
- Access denied — verify the IAM role or access key has
s3:GetObjectpermission on the bucket and object path. Check the bucket policy as well. - Bucket not found — confirm the
regionmatches the bucket’s actual region. S3 bucket names are globally unique but region-specific for access. - Config not reloading — ensure
MAVERICS_RELOAD_CONFIG=trueis set. Check the Orchestrator logs for ETag change detection messages.