Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sergk/terraform-env-structure
- Owner: SergK
- Created: 2023-05-09T13:30:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-10T07:35:06.000Z (over 1 year ago)
- Last Synced: 2024-10-10T14:16:53.004Z (4 months ago)
- Language: HCL
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 |