Deployability-Centric Infrastructure-as-Code Generation: Fail, Learn, Refine, and Succeed through LLM-Empowered DevOps Simulation
Not on the map. Why?
Abstract (arXiv)
Infrastructure-as-Code (IaC) generation holds significant promise for automating cloud infrastructure provisioning. Recent advances in Large Language Models (LLMs) present a promising opportunity to democratize IaC development by generating deployable infrastructure templates from natural language descriptions. However, current evaluation focuses on syntactic correctness while ignoring deployability, the critical measure of the utility of IaC configuration files. Six state-of-the-art LLMs performed poorly on deployability, achieving only 20.8~30.2% deployment success rate on the first attempt. In this paper, we construct DPIaC-Eval, the first deployability-centric IaC template benchmark consisting of 153 real-world scenarios cross 58 unique services. Also, we propose an LLM-based deployability-centric framework, dubbed IaCGen, that uses iterative feedback mechanism encompassing format verification, syntax checking, and live deployment stages, thereby closely mirroring the real DevOps workflows. Results show that IaCGen can make 54.6~91.6% generated IaC templates from all evaluated models deployable in the first 10 iterations. Additionally, human-in-the-loop feedback that provide direct guidance for the deployability errors, can further boost the performance to over 90% passItr@25 on all evaluated LLMs. Furthermore, we explore the trustworthiness of the generated IaC templates on user intent alignment and security compliance. The poor performance (25.2% user requirement coverage and 8.4% security compliance rate) indicates a critical need for continued research in this domain.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 31 of its 91 references that are in the map. First posted on arXiv 5 Jun 2025.
Builds on
31 of 91 references.
References · 31
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
- 2023Teaching Large Language Models to Self-Debugcited by 988
- 2022A Survey on In-context Learningcited by 721
- 2022Large Language Models Can Self-Improvecited by 664
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 367
- 2020Unsupervised Translation of Programming Languagescited by 263
- 2021Leveraging Automated Unit Tests for Unsupervised Code Translationcited by 82
- 2022Generating Natural Language Proofs with Verifier-Guided Searchcited by 52
19 more
- 2024A Performance Study of LLM-Generated Code on Leetcodecited by 49
- 2024You Name It, I Run It: An LLM Agent to Execute Tests of Arbitrary Projectscited by 47
- 2024Iterative Refinement of Project-Level Code Context for Precise Code Generation with Compiler Feedbackcited by 46
- 2017Human-in-the-loop Artificial Intelligencecited by 40
- 2025CODESIM: Multi-Agent Code Generation and Problem Solving through Simulation-Driven Planning and Debuggingcited by 32
- 2023LLM A*: Human in the Loop Large Language Models Enabled A* Search for Roboticscited by 26
- 2024Bridging Design and Development with Automated Declarative UI Code Generationcited by 19
- 2024A Survey of using Large Language Models for Generating Infrastructure as Codecited by 10
- 2024Analyzing and Mitigating (with LLMs) the Security Misconfigurations of Helm Charts from Artifact Hubcited by 8
- 2022Skyplane: Optimizing Transfer Cost and Throughput Using Cloud-Aware Overlayscited by 5
- 2024A Large-scale Investigation of Semantically Incompatible APIs behind Compatibility Issues in Android Appscited by 5
- 2024Using a Feedback Loop for LLM-based Infrastructure as Code Generationcited by 5
- 2025Privacy Bills of Materials: A Transparent Privacy Information Inventory for Collaborative Privacy Notice Generation in Mobile App Developmentcited by 5
- 2022Mining Android API Usage to Generate Unit Test Cases for Pinpointing Compatibility Issuescited by 3
- 2023Taming Android Fragmentation through Lightweight Crowdsourced Testingcited by 2
- 2024Do Chase Your Tail! Missing Key Aspects Augmentation in Textual Vulnerability Descriptions of Long-tail Software through Feature Inferencecited by 2
- 2022A First Look at CI/CD Adoptions in Open-Source Android Appscited by 1
- 2024A Solution toward Transparent and Practical AI Regulation: Privacy Nutrition Labels for Open-source Generative AI-based Applicationscited by 1
- 2024Incremental Context-free Grammar Inference in Black Box Settingscited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.