Git Product home page Git Product logo

github-action's Introduction

Modulemancer - Terraform Private Registry - GitHub Action

This is a GitHub Action to automatically login to Modulemancer to enable the runner to pull modules from Modulemancer.

Review in the GitHub action marketplace

What is Modulemancer?

Modulemancer is a terraform and other infra private module registry. It replaces the Terraform registry with optimized features making it easy to publish, search, and share modules between organizations.

How does this GitHub action work?

It does this by converting the GitHub security token into an Authress identity token which Modulemancer understands. After converting the token, it populates the terraform credentials file for your modulemancer.com registry. The action completes this by creating a TF credentials file is the os-specific location.

Usage

In your GitHub action workflow add the follow step. (For sample usage see the Modulemancer private registry example.)

# Important! This is required: https://docs.github.com/en/actions/security-guides/automatic-token-authentication
permissions:
  id-token: write

jobs:
  build:
    steps:
    - uses: actions/checkout@v2
    - uses: hashicorp/setup-terraform@v1
      with:
        terraform_version: 1.1.9

    # use the github action before terraform init: https://github.com/Modulemancer/github-action
    - uses: modulemancer/github-action@v1

    - name: Terraform Init
      run: terraform init -reconfigure

github-action's People

Contributors

allisaurus avatar billputer avatar clareliguori avatar cychiang avatar dependabot-preview[bot] avatar dependabot[bot] avatar ebi-yade avatar grahamcampbell avatar holyjak avatar ikana avatar jamesiri avatar keifferculbreth avatar laurencega avatar mattsb42-aws avatar mergify[bot] avatar mhausenblas avatar nesta219 avatar paragbhingre avatar piradeepk avatar purekrome avatar richardhboyd avatar swinton avatar wparad avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

wparad

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.