GithubHelp home page GithubHelp logo

enuelx / action-env-from-an-aws-ssm-list Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 3.08 MB

Create a dotenv from another dotenv file with a list of paths from aws parameter store

Home Page: https://github.com/marketplace/actions/env-from-parameter-store-list-aws-ssm

License: MIT License

TypeScript 95.21% JavaScript 4.79%
actions aws dotenv parameters-store devops environment-variables ssm

action-env-from-an-aws-ssm-list's Introduction

Release Tests CodeQL

Buy Me a Coffee at ko-fi.com

Invitame un café en cafecito.app

Create a dotenv from aws parameter store list 🚀

Create a dotenv from another dotenv file with a list of paths from aws parameter store

Parameters

Input Required? Default Description
inputFilename no .env.map Filename received as parameter with ssm paths
outputFilename no .env Filename received as parameter for output file

Example input file .env.map

VAR1=/qa/core/var1
VAR2=/qa/core/var2
VAR3=/qa/core/var3

Example output file .env

VAR1=value1
VAR2=value2
VAR3=value3

Example usage

name: Create dotenv file

on: [ push ]

jobs:
  create-dotenv-file:
    name: Create dotenv file
    runs-on: ubuntu-latest
    
    steps:
      - uses: actions/checkout@v3

      # reference documentation: https://github.com/aws-actions/configure-aws-credentials
      - name: Configure AWS Credentials
        uses: aws-actions/configure-aws-credentials@v2
        with:
          role-to-assume: arn:aws:iam::123456789100:role/my-github-actions-role
          aws-region: us-east-2
      
      - uses: enuelx/env-from-an-aws-ssm-list@v1

action-env-from-an-aws-ssm-list's People

Contributors

dependabot[bot] avatar enuelx avatar

Stargazers

 avatar

Watchers

 avatar

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.