Skip to content

azhar22k/terraform-modules

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Peak

Terraform-modules

Build stable

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.

List of avilable modules

Example usage

There are two approaches to import and use modules in this repo.

Using specific revision (recommended approach)

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"
}

Importing latest version (Use this approach at your own risk as there can be breaking changes)

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"
}

Contributing

Despite being primarily maintained by Peak, we welcome and appreciate any contributions from the community! Please see the contribution guidelines for more info.

About

Terraform Modules by Peak

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 100.0%