https://github.com/masterpointio/terraform-components
The Masterpoint reusable and sharable Terraform Root Modules (Components)
https://github.com/masterpointio/terraform-components
opentofu opentofu-module terraform terraform-module
Last synced: 2 months ago
JSON representation
The Masterpoint reusable and sharable Terraform Root Modules (Components)
- Host: GitHub
- URL: https://github.com/masterpointio/terraform-components
- Owner: masterpointio
- License: apache-2.0
- Created: 2023-03-28T16:01:37.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-09T20:06:58.000Z (over 1 year ago)
- Last Synced: 2025-03-07T00:59:11.513Z (3 months ago)
- Topics: opentofu, opentofu-module, terraform, terraform-module
- Language: HCL
- Homepage: https://masterpoint.io
- Size: 63.5 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://masterpoint.io)
# terraform-components [](https://github.com/masterpointio/terraform-components/releases/latest)
This is a Masterpoint's reusable and sharable collection of Terraform Root Modules (Components). Each Component is a set of Terraform modules, resources, data sources and local expressions that represent an higher abstraction layer of infrastructure comparing to an average community child module. It can be easily integrated into the architecture and removed if needed.
It's Open Source and licensed under the [APACHE2](LICENSE).
## Components
- [GitHub Repositories](./components/github-repositories/README.md): responsible for managing GitHub repositories, including permissions, webhooks, pages, etc.
## Trunk Linter
To maintain code quality we use a collection of linters, all managed by [Trunk](https://trunk.io).
To install trunk on your machine you can use brew: `brew install trunk-io`. You can also install trunk via the [official instructions](https://docs.trunk.io/docs/install).
### Usage
To run the linters, simply run `trunk check` from the root of the project. This will check any files that you have changed in your current branch.
To automatically apply formatting changes, run `trunk fmt`.
## Automating Trunk
Trunk can manage git hooks, and is configured to run `fmt` on pre-commit and `check` on pre-push. This should help to prevent code being kicked-back by CI.
Trunk is automated in CI using GitHub Actions, and PRs will be blocked if the linters fail.