Skip to main content
fjall import is not yet available. The command is registered but does not work end to end. Do not rely on it to adopt production resources. Track existing AWS resources manually until import ships. This page describes the planned behaviour.

Overview

When it ships, fjall import will adopt an existing AWS resource into a Fjall application. It will read the resource configuration from the AWS API, generate the matching CDK code in infrastructure.ts, and run the CloudFormation import so the resource is managed by Fjall without being recreated.

Until import ships

To bring an existing resource under Fjall management today:
  • Declare the resource in infrastructure.ts with fjall add and let the next deploy create the managed equivalent.
  • Track resources you cannot yet adopt in your own notes, and reconcile them once import is available.
For restoring data from a snapshot or recovery point, see fjall restore.

Planned interface

The interface below is the intended shape and may change before release.
fjall import --app <name> [options]
OptionDescription
-a, --app <name>Target application (required)
-t, --resource-type <type>Resource type to discover
-n, --resource-name <name>Name for the imported resource
--resource-id <id>Physical resource ID to import
--discovery-mode <mode>automatic (default) or manual
--region <region>AWS region to search
--yesSkip the dry run and apply the import (agent mode)
-v, --verboseShow detailed output
--non-interactiveDisable prompts
Agent flags also apply: --agent, --budget <level>, --fields <fields>, --full.

Next Steps

fjall add

Declare a resource in your application’s infrastructure today.

fjall restore

Restore data from a snapshot or recovery point.

fjall deploy

Deploy infrastructure changes to AWS.

fjall connect

Connect the AWS account that holds the resource.