-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(TPG>=6)!: upgrade to TPGv6 (#84)
- Loading branch information
Showing
7 changed files
with
47 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Upgrading to v5.0 | ||
|
||
The v5.0 release of the *Folders* module is a backwards incompatible release. | ||
|
||
### Google Cloud Platform Provider upgrade | ||
The *Folders* module now requires version 6.0 or higher of the Google Cloud Platform Providers. | ||
|
||
```diff | ||
terraform { | ||
required_providers { | ||
google = { | ||
source = "hashicorp/google" | ||
- version = "~> 5.0" | ||
+ version = "~> 6.0" | ||
} | ||
} | ||
} | ||
``` | ||
|
||
### Deletion Protection | ||
The *Folders* Module now includes the `deletion_protection` option which defaults to `true`. To delete your folders using Terraform, you should specify it explicitly to `false`: | ||
|
||
```diff | ||
module "gke" { | ||
- source = "terraform-google-modules/folders/google" | ||
- version = "~> 4.0" | ||
+ source = "terraform-google-modules/folders/google" | ||
+ version = "~> 5.0" | ||
... | ||
+ deletion_protection = false | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters