pipeline {
    agent any
    options {
        disableConcurrentBuilds()
        timeout(time: 1, unit: 'HOURS')
        ansiColor('xterm')
        timestamps()
    }
    stages {
        stage("Lint") {
            steps {
                sh """
                make terraform-fmt-check || (Terraform linting failed, please run 'make terraform-fmt' from the root directory and commit the changes! && false)
                """
            }
        }
    }
}