Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

Latest commit

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

StackGen Generative IAC

This repository contains the reusable action for the StackGen Generative IAC.

Setup

Please follow the steps below to setup the action:

  1. Signup for an account on StackGen
  2. Setup a Personal Access Token on StackGen
  3. Add the Personal Access Token as a secret in your repository with the name STACKGEN_TOKEN

Inputs

NameDescriptionRequiredDefault
cloudCloud providerNo"aws"
languageProgramming languageNo"Python"
outputDirOutput directoryNo"./iac"
scanPathPath to scanNo"."
targetComputeTarget computeNo"k8s"
cleanupCleanupNo"true"

Usage

- name: Generate IACuses: appcd-dev/action@v0env:
STACKGEN_TOKEN: ${{ secrets.STACKGEN_TOKEN }}with:
# Required inputs## Cloud provider: aws, azure## Default: awscloud: 'aws'## Programming language: Python, Java## Default: Auto detect based on file extensionslanguage: 'Python'## Output directory: Directory to store the generated IAC## Default: current directoryoutputDir: './iac'## Path to scan: Path to scan for the application## Default: current directoryscanPath: '.'## Target compute: k8s, ecs## Default: k8stargetCompute: 'k8s'## Cleanup: true, false: Cleanup the stackgen mothership after the action## Default: truecleanup: 'true'

License

The scripts and documentation in this project are released under the MIT License

About

Github Action to generate IAC from Code powered by StackGen

Topics

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages