Skip to content

tfupdate Github Actions

Actions
Runs tfupdate via Github Actions
v1.0.0
Latest
Star (9)

tfupdate-github-actions

Github Actions for tfupdate.

This action runs tfupdate, and create Pull Requests if new versions of terraform or providers are found.

Usage

on:
  schedule:
    - cron:  '0 0 * * *'

jobs:
  test_terraform_job:
    runs-on: ubuntu-latest
    name: Update terraform versions
    steps:
    - name: "Checkout"
      uses: actions/checkout@v1
    - name: tfupdate
      uses: daisaru11/tfupdate-github-actions@v1
      with:
        github_token: ${{ secrets.GITHUB_TOKEN }}
        tfupdate_subcommand: terraform
        tfupdate_path: './workspaces'

  test_provider_job:
    runs-on: ubuntu-latest
    name: Update provider versions
    steps:
    - name: "Checkout"
      uses: actions/checkout@v1
    - name: tfupdate
      uses: daisaru11/tfupdate-github-actions@v1
      with:
        github_token: ${{ secrets.GITHUB_TOKEN }}
        tfupdate_subcommand: provider
        tfupdate_path: './workspaces'
        tfupdate_provider_name: aws

You can see examples of Pull Requests to be created here.

tfupdate Github Actions is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Runs tfupdate via Github Actions
v1.0.0
Latest

tfupdate Github Actions is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.