fuel infra:pullfuel infra:pull
Pull fuel.yml from AWS Secrets Manager for an existing provisioned project.
Usage
fuel infra:pull [options]Description
Reads the project name from `infra/default.tfvars`, fetches the infrastructure configuration from AWS Secrets Manager, and writes `fuel.yml` locally. Use this when you want to make changes to a project that was provisioned without a local `fuel.yml`, or to recover the config after it was lost. After pulling, edit `fuel.yml` as needed and run `fuel infra:deploy --config fuel.yml` to apply the changes.
Options
| Flag | Description | Default |
|---|---|---|
-p, --path <path> | Path to the project root (must contain an /infra folder). | current directory |
-o, --output <dir> | Directory to write fuel.yml into. | project root |
--github-token <token> | GitHub personal access token (overrides .fuel-credentials). | — |
--github-username <username> | GitHub username (overrides .fuel-credentials). | — |
--github-organization <org> | GitHub organization (overrides .fuel-credentials). | — |
--aws-access-key-id <key> | AWS Access Key ID (overrides .fuel-credentials). | — |
--aws-secret-access-key <secret> | AWS Secret Access Key (overrides .fuel-credentials). | — |
--aws-region <region> | AWS region (overrides .fuel-credentials). | — |
Examples
Pull fuel.yml into current directory
fuel infra:pullPull into another project directory
fuel infra:pull -p ./my-appWrite fuel.yml to a custom directory
fuel infra:pull -o ./configsLive Demo
Simulated terminal output for fuel infra:pull. Press replay to restart.
fuel infra:pull
$