Overview
Thefjall sync command captures metadata from your deployed CloudFormation stacks and sends it to the Fjall API. The metadata powers monitoring and management features in the Fjall dashboard.
Monitoring data now flows directly from the AWS account you connect with fjall connect. The standalone sync step has been retired, so most workflows no longer call this command.
Usage
Arguments
| Argument | Description | Required |
|---|---|---|
app-name | Application to sync | No (auto-detected when only one application exists) |
Options
| Option | Description |
|---|---|
-v, --verbose | Show detailed output, including captured metadata |
--non-interactive | Force plain CLI output (no interactive UI) |
--agent | Enable agent output mode |
--budget <level> | Output budget: minimal, compact, or a token count |
--fields <fields> | Request additional fields in agent output |
--full | Disable content truncation in agent output |
Prerequisites
fjall sync checks each prerequisite before running:
- Authenticated with Fjall: run
fjall login. Credentials are stored at~/.fjall/auth.json. - Connected AWS account: run
fjall connect. - Application deployed: run
fjall deploy <app-name>first so the CloudFormation stacks exist. - API application ID: the application must have an
apiApplicationIdinfjall-config.json(written on first deployment).
What gets synced
The command captures and sends:- CloudFormation stack outputs (endpoints, ARNs, resource names)
- ECS cluster and service information
- Lambda function ARNs
- Database endpoints
- S3 bucket names
- CloudWatch log group names
- Load balancer DNS names
- Display application architecture
- Show real-time metrics
- Link directly to AWS resources
- Open logs for debugging
How it works
Configuration
TheapiApplicationId is written to fjall-config.json after first deployment:
Multiple applications
When the repository holds several applications, name the one to sync:fjall sync with no name in a multi-application repository returns an error asking you to specify one:
Troubleshooting
Metadata send fails (410 Gone)
fjall connect. Monitoring data is collected automatically.
No apiApplicationId
Application not found
fjall-config.json for the correct application names.
Authentication failed
Next Steps
fjall deploy
Deploy an application to AWS so its CloudFormation stacks exist.
fjall connect
Connect an AWS account, the source of automatic monitoring metadata.
fjall login
Authenticate the CLI with Fjall before running commands.
fjall list
List the resources defined in an application’s infrastructure.