Passer à la navigation principale Passer à la recherche Passer au contenu principal

TerraMetrics: An Open Source Tool for Infrastructure-as-Code (IaC) Quality Metrics in Terraform

  • École de technologie supérieure

Résultats de recherche: Chapitre dans un livre, rapport, actes de conférence › Participation à un ouvrage collectif lié à un colloque ou une conférence › Revue par des pairs

12 Citations (Scopus)

Résumé

Infrastructure-as-Code (IaC) constitutes a pivotal DevOps methodology, leading edge of software deployment onto cloud platforms. IaC relies on source code files rather than manual configuration to manage the infrastructure of a software system. Terraform, an IaC tool and its declarative configuration language named HCL, has recently garnered considerable attention among IaC practitioners. Like other software artefacts, Terraform files could be affected by misconfigurations, faults, and smells. Therefore, DevOps practitioners might benefit from a quality assurance tool to help them perform quality assurance activities on Terrafrom artefacts. This paper introduces TerraMetrics, an open-source tool designed to characterize the quality of Terraform artefacts by providing a catalogue of 40 quality metrics. TerraMetrics leverages the Terraform Abstract Syntax Tree (AST) to extract the metric list, offering a potentially enduring solution compared to conventional regular expressions. This tool comprises three main components: (i) a parser transforming HCL code into an AST, (ii) visitors that traverse the AST nodes to extract the metrics, and (iii) collectors for storing the collected metrics in JSON format. The TerraMetrics tool is publicly available as an Open Source tool, with a demo video, at: https://github.com/stilab-ets/terametrics.

langue originaleAnglais
titreProceedings - 2024 32nd IEEE/ACM International Conference on Program Comprehension, ICPC 2024
EditeurIEEE Computer Society
Pages450-454
Nombre de pages5
ISBN (Electronique)9798400705861
Les DOIs
étatPublié - 13 juin 2024
Evénement32nd IEEE/ACM International Conference on Program Comprehension, ICPC 2024 - Lisbon, Portugal
Durée: 15 avr. 2024 → 16 avr. 2024

Série de publications

NomIEEE International Conference on Program Comprehension
ISSN (imprimé)2643-7147
ISSN (Electronique)2643-7171

Conférence

Conférence32nd IEEE/ACM International Conference on Program Comprehension, ICPC 2024
Pays/TerritoirePortugal
La villeLisbon
Période15/04/24 → 16/04/24

Empreinte digitale

Voici les principaux termes ou expressions associés à « TerraMetrics: An Open Source Tool for Infrastructure-as-Code (IaC) Quality Metrics in Terraform ». Ces libellés thématiques sont générés à partir du titre et du résumé de la publication. Ensemble, ils forment une empreinte digitale unique.

Citer cette ressource