Code Monkey home page Code Monkey logo

terraform-lint's Introduction

actionshub

A metadata repository to hold issues and thoughts for the org

terraform-lint's People

Contributors

benrowe-chuffed avatar wysselbie avatar xorima avatar xorimabot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

terraform-lint's Issues

Broken image in Readme.md ๐Ÿ›

๐Ÿ—ฃ๏ธ Foreword

Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.

๐Ÿ‘ป Brief Description

Broken image in Readme.mdimage

Allow us to define to which terraform version run

๐Ÿ—ฃ๏ธ Foreword

:person_frowning: Problem Statement

The current release use the latest terraform version for lint check, we have a lot of code under 0.12 version , running fmt with 0.14 fail.

โ” Possible Solution

allow user choose terraform version to be checked

โคด๏ธ Describe alternatives you've considered

passing version as tag arg or create branchs for different terraform release eg tf12 , tf13, (tf14)

โž• Additional context

Problem capturing terraform fmt exit code

๐Ÿ—ฃ๏ธ Foreword

Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.

๐Ÿ‘ป Brief Description

terraform-lint does not capture error while running terraform fmt

image

๐Ÿฅž Action version

2.0.1

Version of the Action where you are encountering the issue.
2.0.1

๐ŸŽฉ workflow configuration

Your workflow configuration

Steps To Reproduce

Steps to reproduce the behavior:

  1. set wrong syntax
    variable "branchs" {
    default = ["main"]
    description "The repository branch used to publish the site's source files. (i.e. main or gh-pages"
    }

  2. Run action
    3 . No failure

๐Ÿš“ Expected behavior

Failure

โž• Additional context

Add any other context about the problem here. e.g. related issues or existing pull requests.

Workaround
terraform fmt -check -recursive -diff
if [ $? -ne 0 ]; then
echo "Some terraform files need be formatted, run 'terraform fmt' to fix";
exit 1;
fi

entrypoint.sh file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.