You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+40-34
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
Terraform AWS VPC
8
8
</h1>
9
9
10
-
<palign="center"style="font-size: 1.2rem;">
10
+
<palign="center"style="font-size: 1.2rem;">
11
11
Terraform module to create VPC resource on AWS.
12
12
</p>
13
13
@@ -38,7 +38,7 @@
38
38
<hr>
39
39
40
40
41
-
We eat, drink, sleep and most importantly love **DevOps**. We are working towards stratergies for standardizing architecture while ensuring security for the infrastructure. We are strong believer of the philosophy <b>Bigger problems are always solved by breaking them into smaller manageable problems</b>. Resonating with microservices architecture, it is considered best-practice to run database, cluster, storage in smaller <b>connected yet manageable pieces</b> within the infrastructure.
41
+
We eat, drink, sleep and most importantly love **DevOps**. We are working towards strategies for standardizing architecture while ensuring security for the infrastructure. We are strong believer of the philosophy <b>Bigger problems are always solved by breaking them into smaller manageable problems</b>. Resonating with microservices architecture, it is considered best-practice to run database, cluster, storage in smaller <b>connected yet manageable pieces</b> within the infrastructure.
42
42
43
43
This module is basically combination of [Terraform open source](https://www.terraform.io/) and includes automatation tests and examples. It also helps to create and improve your infrastructure with minimalistic code instead of maintaining the whole infrastructure code yourself.
44
44
@@ -49,7 +49,7 @@ We have [*fifty plus terraform modules*][terraform_modules]. A few of them are c
@@ -61,16 +61,18 @@ This module has a few dependencies:
61
61
62
62
63
63
64
+
64
65
## Examples
65
66
67
+
66
68
**IMPORTANT:** Since the `master` branch used in `source` varies based on new modifications, we suggest that you use the release versions [here](https://github.com/clouddrove/terraform-aws-vpc/releases).
67
69
68
70
69
71
### Simple Example
70
72
Here is an example of how you can use this module in your inventory structure:
| traffic\_type | Type of traffic to capture. Valid values: ACCEPT,REJECT, ALL. | string |`"ALL"`| no |
109
+
| vpc\_enabled | Flag to control the vpc creation. | bool |`"true"`| no |
104
110
105
111
## Outputs
106
112
107
113
| Name | Description |
108
114
|------|-------------|
109
-
|igw_id| The ID of the Internet Gateway. |
110
-
|ipv6_cidr_block| The IPv6 CIDR block. |
115
+
|igw\_id| The ID of the Internet Gateway. |
116
+
|ipv6\_cidr\_block| The IPv6 CIDR block. |
111
117
| tags | A mapping of tags to assign to the resource. |
112
-
|vpc_cidr_block| The CIDR block of the VPC. |
113
-
|vpc_default_network_acl_id| The ID of the network ACL created by default on VPC creation. |
114
-
|vpc_default_route_table_id| The ID of the route table created by default on VPC creation. |
115
-
|vpc_default_security_group_id| The ID of the security group created by default on VPC creation. |
116
-
|vpc_id| The ID of the VPC. |
117
-
|vpc_ipv6_association_id| The association ID for the IPv6 CIDR block. |
118
-
|vpc_main_route_table_id| The ID of the main route table associated with this VPC. |
118
+
|vpc\_cidr\_block| The CIDR block of the VPC. |
119
+
|vpc\_default\_network\_acl\_id| The ID of the network ACL created by default on VPC creation. |
120
+
|vpc\_default\_route\_table\_id| The ID of the route table created by default on VPC creation. |
121
+
|vpc\_default\_security\_group\_id| The ID of the security group created by default on VPC creation. |
122
+
|vpc\_id| The ID of the VPC. |
123
+
|vpc\_ipv6\_association\_id| The association ID for the IPv6 CIDR block. |
124
+
|vpc\_main\_route\_table\_id| The ID of the main route table associated with this VPC. |
119
125
120
126
121
127
122
-
## Testing
123
128
124
-
In this module testing is performed with [terratest](https://github.com/gruntwork-io/terratest) and it creates a small piece of infrastructure, matches the output like ARN, ID and Tags name etc and destroy infrastructure in your AWS account. This testing is written in GO, so you need a [GO environment](https://golang.org/doc/install) in your system.
129
+
## Testing
130
+
In this module testing is performed with [terratest](https://github.com/gruntwork-io/terratest) and it creates a small piece of infrastructure, matches the output like ARN, ID and Tags name etc and destroy infrastructure in your AWS account. This testing is written in GO, so you need a [GO environment](https://golang.org/doc/install) in your system.
125
131
126
132
You need to run the following command in the testing folder:
127
133
```hcl
@@ -130,10 +136,10 @@ You need to run the following command in the testing folder:
130
136
131
137
132
138
133
-
## Feedback
139
+
## Feedback
134
140
If you come accross a bug or have any feedback, please log it in our [issue tracker](https://github.com/clouddrove/terraform-aws-vpc/issues), or feel free to drop us an email at [[email protected]](mailto:[email protected]).
135
141
136
-
If you have found it worth your time, go ahead and give us a * on [our GitHub](https://github.com/clouddrove/terraform-aws-vpc)!
142
+
If you have found it worth your time, go ahead and give us a ★ on [our GitHub](https://github.com/clouddrove/terraform-aws-vpc)!
137
143
138
144
## About us
139
145
@@ -148,4 +154,4 @@ At [CloudDrove][website], we offer expert guidance, implementation support and s
0 commit comments