https://github.com/aws-devops-projects/aws-infrastructure
Terraform modules to build AWS Infrastructure
https://github.com/aws-devops-projects/aws-infrastructure
Last synced: 6 months ago
JSON representation
Terraform modules to build AWS Infrastructure
- Host: GitHub
- URL: https://github.com/aws-devops-projects/aws-infrastructure
- Owner: AWS-Devops-Projects
- License: mit
- Created: 2020-08-14T06:42:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-28T09:15:34.000Z (over 5 years ago)
- Last Synced: 2025-06-01T05:37:47.200Z (7 months ago)
- Language: HCL
- Homepage:
- Size: 33.2 KB
- Stars: 14
- Watchers: 1
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS Infrastructure Modules
Terraform modules to build AWS Infrastructure
## Create or Update Module
1. **Clone, Branch, Commit Changes and Submit PR to Review**
```
git clone git@github.com:AWS-Devops-Projects/aws-infrastructure.git
```
```
$ git checkout -b "CCDV-001"
Switched to a new branch 'CCDV-001'
```
```
git push --set-upstream origin CCDV-001
```
2. **Tag Version After Merge**
```
git tag -a "v0.0.2" -m "New features"
git push --follow-tags
```
3. **Update [repository](https://github.com/SamsonGudise/aws-infrastructure) to consume new version**
Change v0.0.1 -> v0.0.2
```
module "build-vpc" {
region = "${var.region}"
subnet_list = "${var.subnet_list}"
cidr_block = "${var.cidr_block}"
peer_vpc_id = "${var.peer_vpc_id}"
tags = "${var.tags}"
# source = "git::git@github.com:AWS-Devops-Projects/aws-infrastructure.git//vpc?ref=v0.0.1"
source = "git::git@github.com:AWS-Devops-Projects/aws-infrastructure.git//vpc?ref=v0.0.2"
}