Read-only command. Lists the resources declared in an application’s
infrastructure.ts. It does not query AWS or change anything.Overview
fjall list reads an application’s infrastructure.ts and prints every resource the codemod engine manages: databases, storage, compute, and the rest. Use it to confirm what a fjall add or fjall remove left behind before you deploy.
For an organisation or application overview, use fjall apps (lists applications) or fjall status (shows deployment status). fjall list works on a single application’s resource declarations only.
Prerequisites
- An application created with
fjall create app, so aninfrastructure.tsfile exists. - Run the command from your project root (where the
fjall/directory lives).
Usage
--app flag is required. The optional [type] positional filters the output to one resource type.
Options
Resource types for [type]
Examples
List every resource
Filter by type
Pass a resource type to narrow the output:JSON output
For scripts and tooling, emit the resource list as JSON:Empty application
A newly created application with no added resources prints a zero count:How it works
- Resolves the
infrastructure.tspath for the application you pass to--app. - Parses the file with the codemod engine (an AST parser, no AWS calls).
- Collects every managed resource declaration.
- Applies the
[type]filter if you passed one. - Prints the result as a table, or as JSON with
--json.
Common workflows
Confirm an added resource
Confirm a removed resource
fjall remove deletes a resource from infrastructure.ts. List afterwards to verify the file no longer declares it:
Inspect before deploying
Troubleshooting
”Application is required”
The--app flag is mandatory. Pass the application name:
Resource missing from the list
If a resource you expected does not appear:- Confirm you passed the right application to
--app. - Check the
[type]filter is not hiding it. Runfjall list --app apiwith no type to see everything. - Verify the resource was added to
infrastructure.ts(re-runfjall addif needed).
fjall list reflects only what is declared in infrastructure.ts. To check what is actually deployed to AWS, use fjall status.Next Steps
fjall add
Add a resource to an application’s infrastructure.
fjall create
Create an application with its
infrastructure.ts file.fjall deploy
Deploy an application’s infrastructure to AWS.
fjall destroy
Tear down deployed infrastructure for a target.