File tree Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Original file line number Diff line number Diff line change
1
+ # 0.7.6 (Dec 17, 2024)
2
+ * Truncate image pusher service account name so it's less than max allowed of 30 characters.
3
+ * Fix deployer service account name so it's less than max allowed of 30 characters.
4
+
5
+ # 0.7.5 (Dec 09, 2024)
6
+ * Remove unnecessary permissions to read from artifact registry.
7
+
8
+ # 0.7.4 (Dec 09, 2024)
9
+ * Fix service account to read from artifact registry.
10
+
1
11
# 0.7.3 (Dec 06, 2024)
2
12
* Create unique name for artifact repo member.
3
13
Original file line number Diff line number Diff line change 1
1
locals {
2
- truncated_len = min ( length (local . block_ref ), 28 - length (" deployer--12345" ) )
3
- deployer_name = " deployer-${ substr (local. block_ref , 0 , local. truncated_len )} -${ random_string . resource_suffix . result } "
2
+ max_deployer_name_len = 30 - length (" deployer--12345" )
3
+ deployer_name = " deployer-${ substr (local. block_ref , 0 , local. max_deployer_name_len )} -${ random_string . resource_suffix . result } "
4
4
}
5
5
6
6
resource "google_service_account" "deployer" {
Original file line number Diff line number Diff line change
1
+ locals {
2
+ max_pusher_name_len = 30 - length (" pusher--12345" )
3
+ pusher_name = " pusher-${ substr (local. block_ref , 0 , local. max_pusher_name_len )} -${ random_string . resource_suffix . result } "
4
+ }
5
+
1
6
resource "google_service_account" "image_pusher" {
2
- account_id = " pusher- ${ local . resource_name } "
7
+ account_id = local. pusher_name
3
8
display_name = " Image Pusher for ${ local . app_name } "
4
9
}
5
10
You can’t perform that action at this time.
0 commit comments