https://github.com/bregman-arie/terraform-toolbox
NSY
https://github.com/bregman-arie/terraform-toolbox
Last synced: 5 months ago
JSON representation
NSY
- Host: GitHub
- URL: https://github.com/bregman-arie/terraform-toolbox
- Owner: bregman-arie
- License: apache-2.0
- Created: 2022-07-20T14:38:08.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-12T18:57:52.000Z (almost 3 years ago)
- Last Synced: 2025-03-30T10:28:03.539Z (6 months ago)
- Language: HCL
- Size: 12.7 KB
- Stars: 12
- Watchers: 2
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform Toolbox
## Scripts
## Snippets
### AWS
* [VPC](snippets/aws/vpc)
* [ALB with 3 workers](snippets/aws/alb_3_workers)
* [Web Server with Scaling Group, VPC, LB and IAM](snippets/aws/as_vpc_lb_web_iam)
* [Single EC2 instance](snippets/aws/ec2_single_instance)## Module
* Keep them in one centralized repository (to not update/fix every in every repository you store them)
* Use tags when referencing modules. This will ensure that if one the modules is being updated, you'd still use the same version instead which leads to stability and more predictable path
* Reference module:
```
module "code_src" {
source = "git::https://ADDRESS/orgName/_git/Modules/@Terraform_Modules/some_module?ref=~{ref}~"
}
```* Reference module with specific tag:
```
module "code_src" {
source = "git::https://ADDRESS/orgName/_git/Modules/@Terraform_Modules/some_module?ref=V0.1.7"
}
```