Skip to content

joelrose/hcl-update

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

HCL Update

A small GitHub Action composite which can update a resource attribute in HCL in another repository.

Usage

See action.yml

Basic Infrastructure example:

steps:
- uses: joelrose/[email protected]
  with:
    gh-token: ${{ secrets.GH_TOKEN }}
    variable: "variable.image_hash.default"
    value: ${{ GITHUB_SHA }}
    repository: "github.com/joelrose/infrastructure" 
    file-path: "variables.tf"
    git-commit-message: "automated: deploy xxx service"
    git-branch-name: "automated/${GITHUB_SHA}"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published