Installation Guide¶
Get taskcat installed and running on your system with our comprehensive installation guide.
Prerequisites¶
Before installing taskcat, ensure you have:
- Python 3.8+: taskcat requires Python 3.8 or higher
- AWS CLI: Configured with appropriate credentials
- Git: For cloning repositories and version control
- Sufficient AWS Permissions: See Required Permissions
Installation Methods¶
Method 1: PyPI (Recommended)¶
The easiest way to install taskcat is via PyPI:
For the latest development version:
Method 2: From Source¶
For development or the latest features:
Method 3: Docker¶
Use our pre-built Docker images:
docker pull public.ecr.aws/aws-ia/taskcat:latest
docker run -it --rm -v $(pwd):/workspace taskcat --help
Verification¶
Verify your installation:
AWS Configuration¶
Configure AWS Credentials¶
taskcat uses AWS credentials from your environment. Configure using:
AWS CLI¶
Environment Variables¶
export AWS_ACCESS_KEY_ID=your-access-key
export AWS_SECRET_ACCESS_KEY=your-secret-key
export AWS_DEFAULT_REGION=us-east-1
IAM Roles (Recommended for EC2/Lambda)¶
taskcat automatically uses IAM roles when running on AWS services.
Required Permissions¶
taskcat requires the following AWS permissions:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"cloudformation:*",
"s3:*",
"iam:*",
"ec2:Describe*",
"ssm:GetParameter*",
"secretsmanager:GetSecretValue"
],
"Resource": "*"
}
]
}
Next Steps¶
Once installed, continue to the Quick Start Guide to run your first test.
Troubleshooting¶
Common Issues¶
Python version too old:
Permission denied:
AWS credentials not found:
For more help, see our Troubleshooting Guide.