Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/claranet/terraform-modules-ci
Terraform modules common CI template (Github Actions)
https://github.com/claranet/terraform-modules-ci
actions ci claranet modules terraform
Last synced: 16 days ago
JSON representation
Terraform modules common CI template (Github Actions)
- Host: GitHub
- URL: https://github.com/claranet/terraform-modules-ci
- Owner: claranet
- License: apache-2.0
- Created: 2023-01-17T16:11:15.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T13:05:44.000Z (about 1 year ago)
- Last Synced: 2023-12-15T14:26:13.348Z (about 1 year ago)
- Topics: actions, ci, claranet, modules, terraform
- Language: Shell
- Homepage:
- Size: 43 KB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform Azure modules - Generic CI
## Usage
### CI for Terraform module
This CI pipeline does the following:
* Check the Terraform files format and syntax validation
* Lint the module, eventual sub-modules and examples with [TFLint](https://github.com/terraform-linters/tflint) tool.
* Code analysis with [tfsec](https://github.com/aquasecurity/tfsec)
* Check that the `README.md` file content match the module variables, requirements and examples.
* Validate the module for every compatible Terraform version and minimum and latest provider versions### CI for Terraform projects
In the remote project add this in `.github/workflows/github-ci.yml`:
```yaml
---
name: CI
on: [push]
jobs:
ci:
uses: claranet/terraform-modules-ci/.github/workflows/ci-modules.yaml@main
...
```#### Notes
* Ref `main` can be changed for testing purpose