Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/sergk/terraform-env-structure

Generalised Terraform structure for Infra Landscape
https://github.com/sergk/terraform-env-structure

Last synced: about 2 months ago
JSON representation

Generalised Terraform structure for Infra Landscape

Awesome Lists containing this project

README

        

# terraform-env-structure

Generalized Terraform structure for Infra Landscape

## Run linting

```bash
pre-commit run --all-files
```

## Providers

| Name | Version |
|------|---------|
| [random](#provider\_random) | 3.5.1 |

## Requirements

| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | = 1.4.6 |
| [aws](#requirement\_aws) | ~> 4.66.1 |
| [local](#requirement\_local) | ~> 2.2.0 |
| [random](#requirement\_random) | ~> 3.5.1 |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [environment](#input\_environment) | Target Environment for deployment | `string` | n/a | yes |
| [region](#input\_region) | The AWS region to deploy, e.g. eu-central-1 | `string` | n/a | yes |
| [role\_arn](#input\_role\_arn) | The AWS IAM role ARN used for deployment (e.g. arn:aws:iam::012345678910:role/EKSDeployerRole) | `string` | n/a | yes |
| [role\_permissions\_boundary](#input\_role\_permissions\_boundary) | Define permission boundary for IAM Roles | `string` | `null` | no |
| [tags](#input\_tags) | Specifies object tags key and value. This applies to all resources created by this module. | `map(string)` | `{}` | no |

## Outputs

| Name | Description |
|------|-------------|
| [tags](#output\_tags) | Demo output |

## Resources

| Name | Type |
|------|------|
| [random_integer.example](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/integer) | resource |