Skip to content

Commit 444a0ce

Browse files
mark1000bharathkkbdaniel-cit
authored
chore: creating initial upgrade file (#471)
* chore: Migrating README file to new template format. * chore: Creating initial file * fix lint * improve language around fw rules * Apply suggestions from code review Co-authored-by: Daniel Andrade <[email protected]> * Update README.md * Update upgrading_to_v2.0.md * Update upgrading_to_v2.0.md * chore: removed trailing whitespace Co-authored-by: Bharath KKB <[email protected]> Co-authored-by: Daniel Andrade <[email protected]>
1 parent 57643a6 commit 444a0ce

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

docs/upgrading_to_v2.0.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Upgrade Guidance
2+
3+
Before moving forward with adopting components of V2, please review the list of
4+
breaking changes below. You can find a list of all changes in the
5+
[Changelog](https://github.com/terraform-google-modules/terraform-example-foundation/blob/master/CHANGELOG.md).
6+
7+
**Note:** There is no in-place upgrade path from v1 to v2.
8+
9+
## Breaking Changes
10+
11+
- The repo now requires Terraform version 0.13 (minimum). For v1 the minimum version was
12+
0.12.x.
13+
- V2 introduces a new alternative hub-and-spoke network architecture,
14+
described in Section 7.2 of the [Google Cloud security foundations guide](https://services.google.com/fh/files/misc/google-cloud-security-foundations-guide.pdf).
15+
- In V2, the infrastructure pipeline has transitioned from using
16+
[Google Container Registry](https://cloud.google.com/container-registry/docs) (GCR) to using [Google Artifact Registry](https://cloud.google.com/artifact-registry/docs). Artifact
17+
Registry extends the capabilities of GCR as outlined
18+
[here](https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr#compare).
19+
- Some [VPC firewall rules](https://cloud.google.com/vpc/docs/firewalls) have been replaced with [Hierarchical firewall policy rules](https://cloud.google.com/vpc/docs/firewall-policies), which provides the same functionality of allowing or denying connections to or from your virtual machine instances but allowing enforcement of consistent firewall policies across your organization.
20+
21+
## Steps to upgrade codebase
22+
23+
**Note:** When you run `terraform apply`, expect resources to be deleted and recreated. Be sure
24+
to monitor errors during the `terrform apply` process.
25+
26+
1. If you have already forked V1 in your private repository, you can
27+
manually merge changes from V2 into your modified version of V1.
28+
1. If you have not made modifications to V1, you can upgrade the existing
29+
fork to V2

0 commit comments

Comments
 (0)