CLI for module development
Repo Facets-cloud/module-development-cli, read from GitHub 14 min ago. Facets-cloud has not joined Take My Repo.
Facets-cloud/module-development-cli is a public repo on GitHub by Facets-cloud. CLI for module development. It declares the MIT license on GitHub. It is written mainly in Python, has 1 stars and last changed on 2026-01-06. It is archived: its maker no longer maintains it. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-24.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
⚠️ DEPRECATED: This repository is no longer maintained. Please use Raptor instead.
FTF CLI is a command-line interface (CLI) tool that facilitates module generation, variable management, validation, and registration in Terraform.
You can install FTF CLI using pip, pipx, or directly from source.
pipx install ftf-cli
pip install ftf-cli
To install FTF CLI from source, follow these steps:
Clone the repository:
git clone https://github.com/Facets-cloud/module-development-cli.git
cd module-development-cli
Create a virtual environment (recommended):
uv sync
source .venv/bin/activate # On Windows use `.venv\Scripts\activate`
Install the package:
pip install -e .[dev] # Install with development dependencies
After successful installation, you can use the ftf command to access CLI.
Validate the facets YAML file in the specified directory for correctness and schema compliance.
ftf validate-facets [OPTIONS] PATH
Arguments:
PATH: Filesystem path to directory containing the facets YAML file.Options:
--filename TEXT: Name of the facets YAML file to validate (default: facets.yaml).Notes:
Generate a new Terraform module structured by specifying intent, flavor, cloud provider, title, and description.
ftf generate-module [OPTIONS] /path/to/module
Options:
-i, --intent: (prompt) The intent or purpose of the module.-f, --flavor: (prompt) The flavor or variant of the module.-c, --cloud: (prompt) Target cloud provider (e.g. aws, gcp, azure).-t, --title: (prompt) Human-readable title of the module.-d, --description: (prompt) Description outlining module functionality.Notes:
Add a new input variable to the Terraform module, supporting nested names and types.
ftf add-variable [OPTIONS] /path/to/module
Options:
-n, --name: (prompt) Name allowing nested dot-separated variants. Use * for dynamic keys where you want to use regex and pass the regex using --pattern flag For example: 'my_var.*.key'.--title: (prompt) Title for the variable in facets.yaml.-t, --type: (prompt) Variable type, supports basic JSON schema types like string, number, boolean, enum.-d, --description: (prompt) A descriptive text explaining the variable.--options: (prompt) Comma-separated options used if the variable type is enum.--required: Optional flag to mark variable as required.--default: Optional way to provide a default value for the variable.-p, --pattern: (prompt) Provide comma separated regex for pattern properties. Number of wildcard keys and patterns must match. Eg: '"^[a-z]+$","^[a-zA-Z0-9._-]+$"'Notes:
Perform validation on Terraform directories including formatting checks and security scans using Checkov.
ftf validate-directory /path/to/module [OPTIONS]
Options:
--check-only: Only check formatting; does not make any changes.--skip-terraform-validation: Skip Terraform validation steps if set to true.Notes:
terraform fmt for formatting verification.terraform init to ensure initialization completeness (unless skipped).Authenticate to a control plane and store credentials under a named profile for reuse.
ftf login [OPTIONS]
Options:
-c, --control-plane-url: (prompt) Base URL of the control plane API (must start with http:// or https://).-u, --username: (prompt) Your login username.-t, --token: (prompt) Access token or API token (input is hidden).-p, --profile: (prompt) Profile name to save credentials under (default: "default").Notes:
Add an existing registered output type as an input to your Terraform module.
ftf add-input [OPTIONS] /path/to/module
Options:
-p, --profile: (prompt) Profile to use for control plane authentication (default: "default").-n, --name: (prompt) Name of the input variable to add in facets.yaml and variables.tf.-dn, --display-name: (prompt) Human-readable display name for the input variable.-d, --description: (prompt) Description for the input variable.-o, --output-type: (prompt) The type of registered output to wire as input. Format: @namespace/name (e.g., @outputs/database, @custom/sqs).Notes:
Example:
ftf add-input /path/to/module \
--name queue_connection \
--display-name "SQS Queue Connection" \
--description "Configuration for SQS queue" \
--output-type "@custom/sqs"
Preview or register a Terraform module with the control plane from a specified directory.
ftf preview-module /path/to/module [OPTIONS]
Options:
-p, --profile: (prompt) Profile to authenticate with (default: "default").-a, --auto-create-intent: Automatically create intent in control plane if it doesn't exist.-f, --publishable: Marks the module as production-ready and publishable.-g, --git-repo-url: Git repository URL where the module source code resides.-r, --git-ref: Git ref, branch, or tag for the module version.--publish: Flag to publish the module immediately after preview.--skip-terraform-validation: Skip Terraform validation steps if set to true.--skip-output-write: Do not update the output type in facets. Set to true only if you have already registered the output type before calling this command.Notes:
Expose a Terraform provider as part of the module outputs with configurable name, version, attributes, and output.
ftf expose-provider [OPTIONS] /path/to/module
Options:
-n, --name: (prompt) Name to assign to the provider.-s, --source: (prompt) Provider source URL or address.-v, --version: (prompt) Version constraint for the provider.-a, --attributes: (prompt) Comma-separated attributes map with equal sign (e.g., "attribute1=val1,depth.attribute2=val2").-o, --output: (prompt) Output block to expose the provider under.Notes:
Add import declarations to the module to specify resources that should be imported.
ftf add-import [OPTIONS] /path/to/module
Automatically discovers resources in the module and prompts for selecting a resource, naming the import, and specifying if it's required.
Options:
-n, --name: The name of the import to be added. If not provided, will prompt interactively.-r, --required: Flag to indicate if this import is required. Default is True.--resource: The Terraform resource address to import (e.g., 'aws_s3_bucket.bucket').--index: For resources with 'count', specify the index (e.g., '0', '1', or '*' for all).--key: For resources with 'for_each', specify the key (e.g., 'my-key' or '*' for all).--resource-address: The full resource address to import (e.g., 'azurerm_key_vault.for_each_key_vault[0]'). If provided, runs in non-interactive mode and skips resource discovery.Examples:
# Interactive mode
ftf add-import /path/to/module
# Non-interactive mode for regular resource
ftf add-import /path/to/module --name key_vault --resource azurerm_key_vault.key_vault
# Non-interactive mode for count resource
ftf add-import /path/to/module --name count_vault --resource azurerm_key_vault.count_key_vault --index 1
# Non-interactive mode for for_each resource
ftf add-import /path/to/module --name for_each_vault --resource azurerm_key_vault.for_each_key_vault --key my-key
# Non-interactive mode with full resource state address
ftf add-import /path/to/module --name for_each_vault --resource-address 'azurerm_key_vault.for_each_key_vault[0]'
Notes:
imports:
- name: s3_bucket
resource_address: aws_s3_bucket.bucket
required: true
Delete a registered Terraform module from the control plane.
ftf delete-module [OPTIONS]
Options:
-i, --intent: (prompt) Intent of the module to delete.-f, --flavor: (prompt) Flavor of the module.-v, --version: (prompt) Version of the module.-s, --stage: (prompt) Deployment stage of the module (choices: "PUBLISHED", "PREVIEW").-p, --profile: (prompt) Authentication profile to use (default: "default").Retrieve the output types registered in the control plane for the authenticated profile. Shows both namespace and name for each output type.
ftf get-output-types [OPTIONS]
Options:
-p, --profile: (prompt) Profile to authenticate as (default: "default").Example Output:
Registered output types:
- @custom/sqs
- @outputs/cache
- @outputs/database
Retrieve comprehensive details for a specific registered output type from the control plane, including properties and lookup tree.
ftf get-output-type-details [OPTIONS]
Options:
-o, --output-type: (prompt) The output type to get details for. Format: @namespace/name (e.g., @outputs/vpc, @custom/sqs).-p, --profile: (prompt) Profile to use for authentication (default: "default").Example Output:
=== Output Type Details: @custom/sqs ===
Name: sqs
Namespace: @custom
Source: CUSTOM
Inferred from Module: true
--- Properties ---
{
"attributes": {
"queue_arn": {"type": "string"},
"queue_url": {"type": "string"}
},
"interfaces": {}
}
--- Lookup Tree ---
{
"out": {
"attributes": {"queue_arn": {}, "queue_url": {}},
"interfaces": {}
}
}
Register a new output type in the control plane using a YAML definition file.
ftf register-output-type YAML_PATH [OPTIONS]
Arguments:
YAML_PATH: Path to the YAML definition file for the output type.Options:
-p, --profile: Profile name to use, defaults to environment variable FACETS_PROFILE if set, otherwise default.--inferred-from-module: Flag to mark the output type as inferred from a module.Notes:
name and properties fields.@namespace/name (e.g., @outputs/database, @custom/sqs).Facets-cloud/module-development-cli is a public repo on GitHub by Facets-cloud. CLI for module development.
It declares the MIT license on GitHub.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
No. It is archived on GitHub: its maker no longer maintains it.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Take My Repo cannot say: it does not audit code and has not run module-development-cli. What is known comes from GitHub. It declares the MIT license on GitHub. It is archived: its maker no longer maintains it. It has 1 stars, which measure popularity, not safety. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read the source before you run it. With "Take it", your AI agent shows each step and asks you before running it; README text is treated as data, not as instructions.