Coder Social home page Coder Social logo

jameswoolfenden / ghat Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 0.0 3 MB

Ghat is a tool for updating your GitHub actions and Terraform with the latest version of it dependencies and using immutable hashes instead of mutable tags.

License: Apache License 2.0

Go 94.59% Dockerfile 0.96% Makefile 3.12% PowerShell 0.40% Shell 0.93%
cicd github-actions hashes iac terraform

ghat's Introduction

Hi there ๐Ÿ‘‹

I'm James (he/him). My $dayjob is as a Solution Architect at Palo Alto Networks. I'm online... Twitter

  • ๐Ÿ”ญ Iโ€™m currently working on test tools for DevSecOps
  • ๐ŸŒฑ Iโ€™m currently learning everything
  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on tools and modules
  • ๐Ÿค” Iโ€™m looking for help with everything
  • ๐Ÿ’ฌ Ask me about Pike, Sato, Ghat, Stevedore Terraform, Packer, making modules, Yor and Checkov.
  • ๐Ÿ“ซ How to reach me: [email protected], im also on Slack here: https://codifiedsecurity.slack.com

ghat's People

Contributors

dependabot[bot] avatar jameswoolfenden avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

ghat's Issues

add support for pre-commit update to hashes

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Respect comments and whitespace outside terraform blocks

Is your feature request related to a problem? Please describe.
When using swipe to replace references in a terraform file, any whitespace and comments outside modules terraform blocks are removed.

Describe the solution you'd like
Respect existing whitespace and comments

Describe alternatives you've considered
Manually revert/unstage unwanted formatting changes (this is fine, just time consuming on larger projects).

Additional context
For example, this file input:

# This is a comment
resource "type" "name" {
  key = "value"
  
  # Comment in block
  another_key = "another_value"
}

resource "another_type" "another_name" {
  key = "value"
}

becomes this output:

resource "type" "name" {
  key = "value"

  # Comment in block
  another_key = "another_value"
}
resource "another_type" "another_name" {
  key = "value"
}

as you can see the whitespace and comments within the block is respected but anything outside is removed.

update and manage terraform.tf

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

add support for kubernetes manifest

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

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.