Skip to content

Commit 9d0fa3c

Browse files
authored
Merge pull request #322 from Rycieos/6.0upgrade-docs
Add upgrade docs for 6.0
2 parents 5af035a + 97f3396 commit 9d0fa3c

File tree

3 files changed

+30
-2
lines changed

3 files changed

+30
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ Extending the adopted spec, each change should have a link to its corresponding
88

99
## [Unreleased]
1010

11+
## [6.0.0] - 2019-11-26
12+
13+
6.0.0 is a backwards incompatible release. See the [upgrade guide](./docs/upgrading_to_project_factory_v6.0.md) for details.
14+
1115
### Added
1216

1317
- Option to disable the default compute service account. [#313]

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ intended for Terraform 0.11.x is [2.4.1].
1919

2020
## Upgrading
2121

22-
The current version is 4.X. The following guides are available to assist with upgrades:
22+
The current version is 6.X. The following guides are available to assist with upgrades:
2323

2424
- [0.X -> 1.0](./docs/upgrading_to_project_factory_v1.0.md)
2525
- [1.X -> 2.0](./docs/upgrading_to_project_factory_v2.0.md)
2626
- [3.X -> 4.0](./docs/upgrading_to_project_factory_v4.0.md)
27+
- [4.X -> 5.0](./docs/upgrading_to_fabric_project_v5.0.md)
28+
- [5.X -> 6.0](./docs/upgrading_to_project_factory_v6.0.md)
2729

2830
## Usage
2931

@@ -32,7 +34,7 @@ There are multiple examples included in the [examples](./examples/) folder but s
3234
```hcl
3335
module "project-factory" {
3436
source = "terraform-google-modules/project-factory/google"
35-
version = "~> 4.0"
37+
version = "~> 6.0"
3638
3739
name = "pf-test-1"
3840
random_project_id = "true"
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Upgrading to Project Factory v6.0
2+
3+
The v6.0 release of Project Factory is a backwards incompatible release for
4+
new projects only, as it changes how the default compute service account is
5+
treated when the project is created.
6+
7+
The default of `default_service_account` changed from `"delete"` to `"disable"`.
8+
If you want to continue deleting the default compute service account for new
9+
projects, you will need to specify:
10+
11+
```
12+
default_service_account = "delete"
13+
```
14+
15+
## Migration Instructions
16+
17+
Projects that are already created with the default not overridden don't need
18+
any changes, as their service account is already deleted.
19+
20+
Note that changing `default_service_account` to `"disable"` from `"delete"` on
21+
already created projects will not bring the service account back, as the input
22+
is only applied on project creation.

0 commit comments

Comments
 (0)