ClickHouse's CI/CD system relies heavily on AWS Lambda functions, with a preference for deploying them as ZIP archives due to their lighter weight and ease of automation. Since late 2023, Terraform/OpenTofu has been used to manage their CI/CD infrastructure, raising questions about artifact management. Key challenges encountered include maintaining consistent file orders within ZIP archives, handling file timestamps to prevent unnecessary redeployments, excluding Python byte-code files from the archives, and dealing with OS-dependent variations in ZIP format. To address these issues, ClickHouse employs Python's zipfile module for consistent ZIP creation and builds virtual environments aligned with AWS Lambda's Python version, ensuring dependency management and reducing unnecessary files. The solutions have been integrated into their Terraform/OpenTofu configuration for efficient Lambda function deployment.