Saved in:
Bibliographic Details
Main Authors: Davidson, Sam, Sun, Li, Bhasker, Bhavana, Callot, Laurent, Deoras, Anoop
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2509.05303
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911140430217216
author Davidson, Sam
Sun, Li
Bhasker, Bhavana
Callot, Laurent
Deoras, Anoop
author_facet Davidson, Sam
Sun, Li
Bhasker, Bhavana
Callot, Laurent
Deoras, Anoop
contents Infrastructure as Code (IaC) is fundamental to modern cloud computing, enabling teams to define and manage infrastructure through machine-readable configuration files. However, different cloud service providers utilize diverse IaC formats. The lack of a standardized format requires cloud architects to be proficient in multiple IaC languages, adding complexity to cloud deployment. While Large Language Models (LLMs) show promise in automating IaC creation and maintenance, progress has been limited by the lack of comprehensive benchmarks across multiple IaC formats. We present Multi-IaC-Bench, a novel benchmark dataset for evaluating LLM-based IaC generation and mutation across AWS CloudFormation, Terraform, and Cloud Development Kit (CDK) formats. The dataset consists of triplets containing initial IaC templates, natural language modification requests, and corresponding updated templates, created through a synthetic data generation pipeline with rigorous validation. We evaluate several state-of-the-art LLMs on Multi-IaC-Bench, demonstrating that while modern LLMs can achieve high success rates (>95%) in generating syntactically valid IaC across formats, significant challenges remain in semantic alignment and handling complex infrastructure patterns. Our ablation studies highlight the importance of prompt engineering and retry mechanisms in successful IaC generation. We release Multi-IaC-Bench to facilitate further research in AI-assisted infrastructure management and establish standardized evaluation metrics for this crucial domain.
format Preprint
id arxiv_https___arxiv_org_abs_2509_05303
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Multi-IaC-Eval: Benchmarking Cloud Infrastructure as Code Across Multiple Formats
Davidson, Sam
Sun, Li
Bhasker, Bhavana
Callot, Laurent
Deoras, Anoop
Distributed, Parallel, and Cluster Computing
Artificial Intelligence
Infrastructure as Code (IaC) is fundamental to modern cloud computing, enabling teams to define and manage infrastructure through machine-readable configuration files. However, different cloud service providers utilize diverse IaC formats. The lack of a standardized format requires cloud architects to be proficient in multiple IaC languages, adding complexity to cloud deployment. While Large Language Models (LLMs) show promise in automating IaC creation and maintenance, progress has been limited by the lack of comprehensive benchmarks across multiple IaC formats. We present Multi-IaC-Bench, a novel benchmark dataset for evaluating LLM-based IaC generation and mutation across AWS CloudFormation, Terraform, and Cloud Development Kit (CDK) formats. The dataset consists of triplets containing initial IaC templates, natural language modification requests, and corresponding updated templates, created through a synthetic data generation pipeline with rigorous validation. We evaluate several state-of-the-art LLMs on Multi-IaC-Bench, demonstrating that while modern LLMs can achieve high success rates (>95%) in generating syntactically valid IaC across formats, significant challenges remain in semantic alignment and handling complex infrastructure patterns. Our ablation studies highlight the importance of prompt engineering and retry mechanisms in successful IaC generation. We release Multi-IaC-Bench to facilitate further research in AI-assisted infrastructure management and establish standardized evaluation metrics for this crucial domain.
title Multi-IaC-Eval: Benchmarking Cloud Infrastructure as Code Across Multiple Formats
topic Distributed, Parallel, and Cluster Computing
Artificial Intelligence
url https://arxiv.org/abs/2509.05303