This repo list some open to use Terraform modules we use at Peak AI
because we ❤️ IAC(Infrastucture as Code) and Terraform modules are a great way to write reusable Infra.
There are two approaches to import and use modules in this repo.
Blueprint
module "<name_you_want_to_give_to_this_module>" {
source = "git::https://github.com/peak-ai/terraform-modules//<name_of_folder/module_to_use>?ref=<github_tag/release/commit>"
.
.
.
# Add inputs here you want to overwrite
}
Example
module "tags" {
source = "git::https://github.com/peak-ai/terraform-modules//tags?ref=v0.1.0"
stage = "latest"
feature = "example"
service = "example"
}
Blueprint
module "<name_you_want_to_give_to_this_module>" {
source = "git::https://github.com/peak-ai/terraform-modules.git//<name_of_folder/module_to_use>"
.
.
.
# Add inputs here you want to overwrite
}
Example
module "tags" {
source = "git::https://github.com/peak-ai/terraform-modules.git//tags"
stage = "latest"
feature = "example"
service = "example"
}
Despite being primarily maintained by Peak, we welcome and appreciate any contributions from the community! Please see the contribution guidelines for more info.