Skip to main content
Glama
stv-io

AWS Terraform MCP Server

by stv-io

ExecuteTerraformCommand

Run Terraform commands (init, plan, validate, apply, destroy) in a specified directory for AWS infrastructure. Supports custom variables, AWS region settings, and ANSI output stripping for clear results.

Instructions

Execute Terraform workflow commands against an AWS account.

This tool runs Terraform commands (init, plan, validate, apply, destroy) in the specified working directory, with optional variables and region settings. Parameters: command: Terraform command to execute working_directory: Directory containing Terraform files variables: Terraform variables to pass aws_region: AWS region to use strip_ansi: Whether to strip ANSI color codes from output Returns: A TerraformExecutionResult object containing command output and status

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aws_regionNoAWS region to use
commandYesTerraform command to execute
strip_ansiNoWhether to strip ANSI color codes from output
variablesNoTerraform variables to pass
working_directoryYesDirectory containing Terraform files

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/stv-io/aws-terraform-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server