push_preview_module_to_facets_cp
Push a test version of a module to the control plane for preview using FTF CLI, automatically extracting git repository details from the local directory.
Instructions
Tool to preview a module using FTF CLI. This will push a Test version of module to control plane. Git repository details are automatically extracted from the local working directory's .git folder.
Args:
module_path (str): The path to the module.
skip_terraform_validation_if_provider_not_found (bool): Flag to skip terraform validation during the process - send as true only if you see "Provider configuration not present" while validating.
Returns:
str: A JSON string with the output from the FTF command execution.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"module_path": "<module_path>"
},
"name": "push_preview_module_to_facets_cp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module_path | Yes | ||
| skip_terraform_validation_if_provider_not_found | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |