infraport
v0.1.0Terraform Registry modules, providers and policies, plus HCP Terraform workspaces.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_modules
Search the Terraform Registry for modules matching a query.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search text used to find modules in the Terraform Registry. |
offset | number | Optional pagination offset for the module search results. |
provider | string | Optional provider name to filter the module search results to one provider. |
get_module_details
Fetch details for one registry module by namespace, name, and provider.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name of the module in the Terraform Registry. |
namespace * | string | Namespace of the module in the Terraform Registry. |
provider * | string | Name of the provider the module targets. |
version | string | Optional specific module version to fetch; when omitted, details for the latest version are returned. |
get_latest_module_version
Get the latest published version of a registry module.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name of the module in the Terraform Registry. |
namespace * | string | Namespace of the module in the Terraform Registry. |
provider * | string | Name of the provider the module targets. |
search_providers
Search the Terraform Registry for providers matching a query.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search text used to find providers in the Terraform Registry. |
offset | number | Optional pagination offset for the provider search results. |
get_provider_details
Fetch details for one registry provider by namespace and type.
| Parameter | Type | Description |
|---|---|---|
namespace * | string | Namespace of the provider in the Terraform Registry. |
type * | string | Provider type, the short name that identifies the provider within its namespace. |
version | string | Optional specific provider version to fetch; when omitted, details for the latest version are returned. |
get_latest_provider_version
Get the latest published version of a registry provider.
| Parameter | Type | Description |
|---|---|---|
namespace * | string | Namespace of the provider in the Terraform Registry. |
type * | string | Provider type, the short name that identifies the provider within its namespace. |
search_policies
Search the Terraform Registry for Sentinel policies matching a query.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search text used to find Sentinel policy sets in the Terraform Registry. |
offset | number | Optional pagination offset for the policy search results. |
get_policy_details
Fetch details for one registry policy set by namespace and name.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name of the policy set in the Terraform Registry. |
namespace * | string | Namespace of the policy set in the Terraform Registry. |
list_workspaces
List HCP Terraform workspaces in an organization. Requires TFE_TOKEN.
| Parameter | Type | Description |
|---|---|---|
organization * | string | Name of the HCP Terraform organization whose workspaces should be listed. |
get_workspace
Fetch one HCP Terraform workspace by organization and workspace name. Requires TFE_TOKEN.
| Parameter | Type | Description |
|---|---|---|
organization * | string | Name of the HCP Terraform organization that owns the workspace. |
workspace * | string | Name of the HCP Terraform workspace to fetch. |