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: CHANGELOG.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,28 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres
7
7
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
8
8
9
+
# [0.12.0] - 2026-01-22
10
+
11
+
[Compare with previous version](https://github.com/sparkfabrik/terraform-google-gcp-application-bucket-creation-helper/compare/0.11.0...0.12.0)
12
+
13
+
### Added
14
+
15
+
- Added output`disaster_recovery_bucket_names` to provide a map from input bucket names to disaster recovery bucket names.
16
+
17
+
### Fixed
18
+
19
+
- Fixed `bucket_obj_adm` and `bucket_obj_vwr` variables causing "Invalid for_each argument" error when used with `append_random_suffix = true`. The `for_each` key for IAM member resources now uses the static input bucket name instead of the dynamically generated name (with random suffix).
20
+
21
+
### Changed
22
+
23
+
-**BREAKING CHANGE for existing users of `bucket_obj_adm`/`bucket_obj_vwr`**: The `for_each` key for `google_storage_bucket_iam_member.default_storage_admin` and `google_storage_bucket_iam_member.default_storage_viewer` resources has changed from `<generated_bucket_name>--<member>` to `<input_bucket_name>--<member>`.
24
+
25
+
**Example**: If your bucket input name is `myapp` and it gets a random suffix `a1b2`, the key changes from `myapp-a1b2--group:admins@example.com` to `myapp--group:admins@example.com`.
26
+
27
+
**Impact**: Terraform will plan to destroy and recreate the IAM bindings. This is safe - the IAM permissions will be briefly removed and immediately recreated. No data loss occurs.
28
+
29
+
**Migration**: No action required. Run `terraform apply` to recreate the IAM bindings with the new keys. If you want to avoid the brief permission gap, you can use `terraform state mv` to rename the resources before applying.
30
+
9
31
# [0.11.0] - 2025-12-10
10
32
11
33
[Compare with previous version](https://github.com/sparkfabrik/terraform-google-gcp-application-bucket-creation-helper/compare/0.10.0...0.11.0)
Copy file name to clipboardExpand all lines: README.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,10 +99,8 @@ want to import existing buckets with a known name.
99
99
| <aname="output_buckets_access_credentials"></a> [buckets\_access\_credentials](#output\_buckets\_access\_credentials)| Access credentials for the application buckets |
100
100
| <aname="output_details_of_used_tag_keys"></a> [details\_of\_used\_tag\_keys](#output\_details\_of\_used\_tag\_keys)| Details of all the tag keys passed to this module (globals and per bucket). |
101
101
| <aname="output_details_of_used_tag_values"></a> [details\_of\_used\_tag\_values](#output\_details\_of\_used\_tag\_values)| Details of all the tag values passed to this module (globals and per bucket). |
102
-
| <aname="output_disaster_recovery_bucket_names"></a> [disaster\_recovery\_bucket\_names](#output\_disaster\_recovery\_bucket\_names)| The list with the names of the disaster recovery buckets. |
103
-
| <aname="output_disaster_recovery_bucket_names_map"></a> [disaster\_recovery\_bucket\_names\_map](#output\_disaster\_recovery\_bucket\_names\_map)| Map from input bucket name to disaster recovery bucket name. |
102
+
| <aname="output_disaster_recovery_bucket_names"></a> [disaster\_recovery\_bucket\_names](#output\_disaster\_recovery\_bucket\_names)| Map from input bucket name to disaster recovery bucket name. Use values() to get a list. |
104
103
| <aname="output_generated_bucket_names"></a> [generated\_bucket\_names](#output\_generated\_bucket\_names)| The list with the names of the buckets managed by this module. |
105
-
| <aname="output_generated_bucket_names_map"></a> [generated\_bucket\_names\_map](#output\_generated\_bucket\_names\_map)| Map from input bucket name to generated bucket name (with random suffix if enabled). |
0 commit comments