Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/peak-ai/terraform-modules

Terraform Modules by Peak
https://github.com/peak-ai/terraform-modules

aws dax docker ecr eks hcl iac iam infrastructure-as-code kubernetes peak s3 tags terraform terraform-configurations terraform-modules

Last synced: 28 days ago
JSON representation

Terraform Modules by Peak

Awesome Lists containing this project

README

        

Peak

# ![T](.github/images/terraform.png)erraform-modules

![Build](https://github.com/peak-ai/terraform-modules/workflows/Build/badge.svg) ![stable](https://img.shields.io/github/v/release/peak-ai/terraform-modules) ![](https://img.shields.io/github/v/release/peak-ai/terraform-modules?include_prereleases) ![](https://img.shields.io/github/license/peak-ai/terraform-modules) ![](https://img.shields.io/github/languages/count/peak-ai/terraform-modules) ![](https://img.shields.io/github/languages/top/peak-ai/terraform-modules) ![](https://img.shields.io/github/issues-raw/peak-ai/terraform-modules) ![](https://img.shields.io/github/issues-pr-raw/peak-ai/terraform-modules) ![](https://img.shields.io/github/languages/code-size/peak-ai/terraform-modules) ![](https://img.shields.io/github/repo-size/peak-ai/terraform-modules)

This repo list some open to use Terraform modules we use at `Peak AI` because we :heart: IAC(Infrastucture as Code) and Terraform modules are a great way to write reusable Infra.

## List of avilable modules

- [:construction: Docker Builder](/docker_builder)
- [:camera: ECR](/ecr)
- [☸ K8S_IRSA](/k8s_irsa)
- [:open_file_folder: S3](/s3)
- [:oil_drum: Dax](/dax)
- [:bookmark: Tags (aka Labels)](/tags)

## Example usage

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

### Using specific revision (recommended approach)
`Blueprint`
```hcl
module "" {
source = "git::https://github.com/peak-ai/terraform-modules//?ref="
.
.
.
# Add inputs here you want to overwrite
}
```
`Example`
```hcl
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`
```hcl
module "" {
source = "git::https://github.com/peak-ai/terraform-modules.git//"
.
.
.
# Add inputs here you want to overwrite
}
```

`Example`
```hcl
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](CONTRIBUTING.md) for more info.