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: 3-networks/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# 3-networks
2
2
3
-
The purpose of this step is to:
3
+
The purpose of this step is to:
4
4
5
5
- Setup the global [DNS Hub](https://cloud.google.com/blog/products/networking/cloud-forwarding-peering-and-zones).
6
6
- Setup base and restricted shared VPCs with default DNS, NAT (optional), Private Service networking, VPC service controls, onprem dedicated interconnect and baseline firewall rules for each environment.
@@ -35,7 +35,7 @@ If you are not able to use dedicated interconnect, you can also use an HA VPN to
1. Change freshly cloned repo and change to nonmaster branch `git checkout -b plan`
38
+
1. Change to the freshly cloned repo and change to non-master branch `git checkout -b plan`
39
39
1. Copy contents of foundation to new repo `cp -RT ../terraform-example-foundation/3-networks/ .` (modify accordingly based on your current directory).
40
40
1. Copy cloud build configuration files for terraform `cp ../terraform-example-foundation/build/cloudbuild-tf-* . ` (modify accordingly based on your current directory)
41
41
1. Copy terraform wrapper script `cp ../terraform-example-foundation/build/tf-wrapper.sh . ` to the root of your new repository (modify accordingly based on your current directory).
@@ -55,7 +55,7 @@ If you are not able to use dedicated interconnect, you can also use an HA VPN to
55
55
1. Review the plan output in your cloud build project https://console.cloud.google.com/cloud-build/builds?project=YOUR_CLOUD_BUILD_PROJECT_ID
56
56
1. Merge changes to production with `git checkout -b production` and `git push origin production`
57
57
1. Review the apply output in your cloud build project https://console.cloud.google.com/cloud-build/builds?project=YOUR_CLOUD_BUILD_PROJECT_ID
58
-
1. After production has been applied apply development and non-production
58
+
1. After production has been applied, apply development and non-production
59
59
1. Merge changes to development with `git checkout -b development` and `git push origin development`
60
60
1. Review the apply output in your cloud build project https://console.cloud.google.com/cloud-build/builds?project=YOUR_CLOUD_BUILD_PROJECT_ID
61
61
1. Merge changes to non-production with `git checkout -b non-production` and `git push origin non-production`
@@ -90,7 +90,7 @@ If you are not able to use dedicated interconnect, you can also use an HA VPN to
90
90
1. Review the plan output in your Master's web UI.
91
91
1. Merge changes to production branch with `git checkout -b production` and `git push origin production`
92
92
1. Review the apply output in your Master's web UI (You might want to use the option to "Scan Multibranch Pipeline Now" in your Jenkins Master UI).
93
-
1. After production has been applied apply development and non-production
93
+
1. After production has been applied, apply development and non-production
94
94
1. Merge changes to development with `git checkout -b development` and `git push origin development`
95
95
1. Review the apply output in your Master's web UI (You might want to use the option to "Scan Multibranch Pipeline Now" in your Jenkins Master UI).
96
96
1. Merge changes to non-production with `git checkout -b non-production` and `git push origin non-production`
@@ -108,7 +108,7 @@ If you are not able to use dedicated interconnect, you can also use an HA VPN to
108
108
1. Rename access_context.auto.example.tfvars to access_context.auto.tfvars and update the file with the access_context_manager_policy_id.
109
109
1. Update backend.tf with your bucket from bootstrap. You can run
110
110
```for i in `find -name 'backend.tf'`; do sed -i 's/UPDATE_ME/<YOUR-BUCKET-NAME>/' $i; done```.
111
-
You can run `terraform output gcs_bucket_tfstate` in the 0-bootstap folder to obtain the bucket name.
111
+
You can run `terraform output gcs_bucket_tfstate` in the 0-bootstrap folder to obtain the bucket name.
112
112
113
113
We will now deploy each of our environments(development/production/non-production) using this script.
114
114
When using Cloud Build or Jenkins as your CI/CD tool each environment corresponds to a branch in the repository for 3-networks step
Copy file name to clipboardExpand all lines: 3-networks/envs/development/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ The purpose of this step is to set up base and restricted shared VPCs with defau
21
21
| dns\_enable\_inbound\_forwarding | Toggle inbound query forwarding for VPC DNS. |`bool`|`true`| no |
22
22
| dns\_enable\_logging | Toggle DNS logging for VPC DNS. |`bool`|`true`| no |
23
23
| domain | The DNS name of peering managed zone, for instance 'example.com.' |`string`| n/a | yes |
24
-
| firewall\_enable\_logging | Toggle firewall logginglogging for VPC Firewalls. |`bool`|`true`| no |
24
+
| firewall\_enable\_logging | Toggle firewall logging for VPC Firewalls. |`bool`|`true`| no |
25
25
| nat\_bgp\_asn | BGP ASN for first NAT cloud routes. |`number`|`64514`| no |
26
26
| nat\_enabled | Toggle creation of NAT cloud router. |`bool`|`false`| no |
27
27
| nat\_num\_addresses | Number of external IPs to reserve for Cloud NAT. |`number`|`2`| no |
@@ -30,7 +30,7 @@ The purpose of this step is to set up base and restricted shared VPCs with defau
30
30
| optional\_fw\_rules\_enabled | Toggle creation of optional firewall rules: IAP SSH, IAP RDP and Internal & Global load balancing health check and load balancing IP ranges. |`bool`|`false`| no |
31
31
| org\_id | Organization ID |`string`| n/a | yes |
32
32
| parent\_folder | Optional - if using a folder for testing. |`string`|`""`| no |
33
-
| subnetworks\_enable\_logging | Toggle subnetworks flow logging for VPC Subnetwoks. |`bool`|`true`| no |
33
+
| subnetworks\_enable\_logging | Toggle subnetworks flow logging for VPC Subnetworks. |`bool`|`true`| no |
34
34
| terraform\_service\_account | Service account email of the account to impersonate to run Terraform. |`string`| n/a | yes |
35
35
| windows\_activation\_enabled | Enable Windows license activation for Windows workloads. |`bool`|`false`| no |
Copy file name to clipboardExpand all lines: 3-networks/envs/non-production/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ The purpose of this step is to set up base and restricted shared VPCs with defau
21
21
| dns\_enable\_inbound\_forwarding | Toggle inbound query forwarding for VPC DNS. |`bool`|`true`| no |
22
22
| dns\_enable\_logging | Toggle DNS logging for VPC DNS. |`bool`|`true`| no |
23
23
| domain | The DNS name of peering managed zone, for instance 'example.com.' |`string`| n/a | yes |
24
-
| firewall\_enable\_logging | Toggle firewall logginglogging for VPC Firewalls. |`bool`|`true`| no |
24
+
| firewall\_enable\_logging | Toggle firewall logging for VPC Firewalls. |`bool`|`true`| no |
25
25
| nat\_bgp\_asn | BGP ASN for first NAT cloud routes. |`number`|`64514`| no |
26
26
| nat\_enabled | Toggle creation of NAT cloud router. |`bool`|`false`| no |
27
27
| nat\_num\_addresses | Number of external IPs to reserve for Cloud NAT. |`number`|`2`| no |
@@ -30,7 +30,7 @@ The purpose of this step is to set up base and restricted shared VPCs with defau
30
30
| optional\_fw\_rules\_enabled | Toggle creation of optional firewall rules: IAP SSH, IAP RDP and Internal & Global load balancing health check and load balancing IP ranges. |`bool`|`false`| no |
31
31
| org\_id | Organization ID |`string`| n/a | yes |
32
32
| parent\_folder | Optional - if using a folder for testing. |`string`|`""`| no |
33
-
| subnetworks\_enable\_logging | Toggle subnetworks flow logging for VPC Subnetwoks. |`bool`|`true`| no |
33
+
| subnetworks\_enable\_logging | Toggle subnetworks flow logging for VPC Subnetworks. |`bool`|`true`| no |
34
34
| terraform\_service\_account | Service account email of the account to impersonate to run Terraform. |`string`| n/a | yes |
35
35
| windows\_activation\_enabled | Enable Windows license activation for Windows workloads. |`bool`|`false`| no |
Copy file name to clipboardExpand all lines: 3-networks/envs/production/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ The purpose of this step is to set up base and restricted shared VPCs with defau
21
21
| dns\_enable\_inbound\_forwarding | Toggle inbound query forwarding for VPC DNS. |`bool`|`true`| no |
22
22
| dns\_enable\_logging | Toggle DNS logging for VPC DNS. |`bool`|`true`| no |
23
23
| domain | The DNS name of peering managed zone, for instance 'example.com.' |`string`| n/a | yes |
24
-
| firewall\_enable\_logging | Toggle firewall logginglogging for VPC Firewalls. |`bool`|`true`| no |
24
+
| firewall\_enable\_logging | Toggle firewall logging for VPC Firewalls. |`bool`|`true`| no |
25
25
| nat\_bgp\_asn | BGP ASN for first NAT cloud routes. |`number`|`64514`| no |
26
26
| nat\_enabled | Toggle creation of NAT cloud router. |`bool`|`false`| no |
27
27
| nat\_num\_addresses | Number of external IPs to reserve for Cloud NAT. |`number`|`2`| no |
@@ -30,7 +30,7 @@ The purpose of this step is to set up base and restricted shared VPCs with defau
30
30
| optional\_fw\_rules\_enabled | Toggle creation of optional firewall rules: IAP SSH, IAP RDP and Internal & Global load balancing health check and load balancing IP ranges. |`bool`|`false`| no |
31
31
| org\_id | Organization ID |`string`| n/a | yes |
32
32
| parent\_folder | Optional - if using a folder for testing. |`string`|`""`| no |
33
-
| subnetworks\_enable\_logging | Toggle subnetworks flow logging for VPC Subnetwoks. |`bool`|`true`| no |
33
+
| subnetworks\_enable\_logging | Toggle subnetworks flow logging for VPC Subnetworks. |`bool`|`true`| no |
34
34
| terraform\_service\_account | Service account email of the account to impersonate to run Terraform. |`string`| n/a | yes |
35
35
| windows\_activation\_enabled | Enable Windows license activation for Windows workloads. |`bool`|`false`| no |
0 commit comments