Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daisaru11/tfupdate-github-actions
tfupdate Github Actions
https://github.com/daisaru11/tfupdate-github-actions
actions terraform
Last synced: 3 months ago
JSON representation
tfupdate Github Actions
- Host: GitHub
- URL: https://github.com/daisaru11/tfupdate-github-actions
- Owner: daisaru11
- License: mit
- Created: 2019-12-06T17:17:29.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-11T08:23:40.000Z (over 3 years ago)
- Last Synced: 2024-09-27T19:20:59.001Z (3 months ago)
- Topics: actions, terraform
- Language: Shell
- Size: 4.88 KB
- Stars: 9
- Watchers: 2
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tfupdate-github-actions
Github Actions for [tfupdate](https://github.com/minamijoyo/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](https://github.com/daisaru11/tfupdate-github-actions-example/pulls).