Giter VIP home page Giter VIP logo

osinfra-io / github-kitchen-terraform-action Goto Github PK

View Code? Open in Web Editor NEW
3.0 0.0 2.0 134 KB

Kitchen-Terraform GitHub Action.

Home Page: https://www.osinfra.io

License: GNU General Public License v2.0

Dockerfile 77.99% Ruby 8.72% Shell 13.28%
github-actions infrastructure-as-code github osinfra chef-inspec kitchen-terraform terraform github-organization-management-platform platform-team

github-kitchen-terraform-action's Introduction

Kitchen-Terraform Github Action

Warning

With the announcement of a native test framework with Terraform 1.6 and the announcement of deprecating Kitchen-Terraform we have archived this repository.

GitHub Actions:

Dependabot CodeQL Docker Build and Push

Kitchen-Terraform provides a set of Kitchen plugins that enable the use of Kitchen to converge a Terraform configuration and verify the resulting infrastructure systems with InSpec controls.

Inputs

kitchen-command

Required The name of the command to run. Default "help".

More Examples:

  converge [INSTANCE|REGEXP|all]    # Change instance state to converge. Use a provisioner to configure...
  create [INSTANCE|REGEXP|all]      # Change instance state to create. Start one or more instances
  destroy [INSTANCE|REGEXP|all]     # Change instance state to destroy. Delete all information for one ...
  help [COMMAND]                    # Describe available commands or one specific command
  test [INSTANCE|REGEXP|all]        # Test (destroy, create, converge, setup, verify and destroy) one o...
  verify [INSTANCE|REGEXP|all]      # Change instance state to verify. Run automated tests on one or mo...
  version                           # Print Kitchen's version information

kitchen-instance

Optional The name of the instance to run the command on. You can run kitchen list to see the available instances.

This is useful when you have multiple instances in your .kitchen.yml file and you want to run the command on a specific instance for example if you need to destroy a specific instance when dealing with more complex test scenarios.

Example usage

- name: Kitchen Converge
  uses: osinfra-io/[email protected]
  with:
    kitchen-command: "converge"
- name: Kitchen Destroy
  uses: osinfra-io/[email protected]
  with:
    kitchen-command: "destroy"
    kitchen-instance: "default-test-gcp"

An example called workflow can be found here.

github-kitchen-terraform-action's People

Stargazers

 avatar  avatar

github-kitchen-terraform-action's Issues

Initial development

Description

Get this thing running on osinfra-io!

Acceptance

  • Succesful test, build and push

Implementation Notes

Additional Context

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.