Skip to content

sntxrr/create-terraformrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create .terraformrc

A GitHub action to automatically create a Terraform Enterprise .terraformrc directory and insert a token from TF_ENV_TOKEN.

NOTE: much of this was swiped wholesale from the excellent https://github.com/jessfraz/branch-cleanup-action

Table of Contents

Usage

workflow "On push, create .terraformrc" {
  on = "push"
  resolves = ["create terraformrc"]
}

action "create terraformrc" {
  uses = "sntxrr/create-terraformrc@master"
  secrets = ["TF_ENV_TOKEN"]
}

Contributing

Running the tests

The tests use shellcheck. You don't need to install anything. They run in a container.

$ make test

About

A GitHub Action to create a .terraformrc directory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published