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
This commit eliminates the existing BATS integration tests and instead
introduces integration tests with Test Kitchen using the
kitchen-terraform and inspec-gcp plugins. The changes made to the
examples were to ensure that all scenarios could be run in parallel, to
correct syntax errors, and to use locals to make testing easier.
Copy file name to clipboardExpand all lines: README.md
+20-20Lines changed: 20 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,12 +81,29 @@ Then perform the following commands on the root folder:
81
81
| Name | Description | Type | Default | Required |
82
82
|------|-------------|:----:|:-----:|:-----:|
83
83
| network_name | The name of the network being created | string | - | yes |
84
-
| routing_mode | The network routing mode. Can be either 'REGIONAL' or 'GLOBAL' | string | GLOBAL | no |
85
84
| project_id | The ID of the project where this VPC will be created | string | - | yes |
85
+
| routes | List of routes being created in this VPC | list |`<list>`| no |
86
+
| routing_mode | The network routing mode (default 'GLOBAL') | string |`GLOBAL`| no |
87
+
| secondary_ranges | Secondary ranges that will be used in some of the subnets | map | - | yes |
86
88
| shared_vpc_host | Makes this project a Shared VPC host if 'true' (default 'false') | string |`false`| no |
87
89
| subnets | The list of subnets being created | list | - | yes |
88
-
| secondary_ranges | Secondary ranges that will be used in some of the subnets | map | - | yes |
89
-
| routes | The list of routes being created | list | - | no |
90
+
91
+
## Outputs
92
+
93
+
| Name | Description |
94
+
|------|-------------|
95
+
| network_name | The name of the VPC being created |
96
+
| network_self_link | The URI of the VPC being created |
97
+
| routes | The routes associated with this VPC |
98
+
| subnets_flow_logs | Whether the subnets will have VPC flow logs enabled |
99
+
| subnets_ips | The IPs and CIDRs of the subnets being created |
100
+
| subnets_names | The names of the subnets being created |
101
+
| subnets_private_access | Whether the subnets will have access to Google API's without a public IP |
102
+
| subnets_regions | The region where the subnets will be created |
103
+
| subnets_secondary_ranges | The secondary ranges associated with these subnets |
104
+
| subnets_self_links | The self-links of subnets being created |
105
+
106
+
[^]: (autogen_docs_end)
90
107
91
108
### Subnet Inputs
92
109
The subnets list contains maps, where each object represents a subnet. Each map has the following inputs (please see examples folder for additional references):
@@ -115,23 +132,6 @@ The routes list contains maps, where each object represents a route. For the nex
115
132
| next_hop_vpn_tunnel | URL to a VpnTunnel that should handle matching packets | string | - | yes |
116
133
| priority | The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In the case of two routes with equal prefix length, the one with the lowest-numbered priority value wins | string | 1000 | yes |
117
134
118
-
## Outputs
119
-
120
-
| Name | Description |
121
-
|------|-------------|
122
-
| network_name | The name of the VPC being created |
123
-
| network_self_link | The URI of the VPC being created |
124
-
| subnets_ips | The IPs and CIDRs of the subnets being created |
125
-
| subnets_self_links | The `self_link`s of the subnets being created |
126
-
| subnets_names | The names of the subnets being created |
127
-
| subnets_private_access | Whether the subnets will have access to Google API's without a public IP |
128
-
| subnets_flow_logs | Whether the subnets will have VPC flow logs enabled |
129
-
| subnets_regions | The region where the subnets will be created |
130
-
| subnets_secondary_ranges | The secondary ranges associated with these subnets |
0 commit comments