File tree Expand file tree Collapse file tree 6 files changed +15
-9
lines changed Expand file tree Collapse file tree 6 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ moved {
2323}
2424
2525module "abfs_server" {
26- source = " github.com/terraform-google-modules/terraform-google-abfs//modules/server?ref=v0.8 .0"
26+ source = " github.com/terraform-google-modules/terraform-google-abfs//modules/server?ref=v0.9 .0"
2727
2828 project_id = data. google_project . project . project_id
2929 zone = var. zone
@@ -38,7 +38,7 @@ module "abfs_server" {
3838}
3939
4040module "abfs_uploaders" {
41- source = " github.com/terraform-google-modules/terraform-google-abfs//modules/uploaders?ref=v0.8 .0"
41+ source = " github.com/terraform-google-modules/terraform-google-abfs//modules/uploaders?ref=v0.9 .0"
4242
4343 project_id = data. google_project . project . project_id
4444 zone = var. zone
Original file line number Diff line number Diff line change 1515module "cicd_foundation" {
1616 count = var. create_cloud_workstation_resources ? 1 : 0
1717
18- source = " github.com/GoogleCloudPlatform/cicd-foundation//infra/modules/cicd_foundation?ref=v3.0 .0"
18+ source = " github.com/GoogleCloudPlatform/cicd-foundation//infra/modules/cicd_foundation?ref=v3.1 .0"
1919
2020 project_id = data. google_project . project . project_id
2121 enable_apis = var. enable_apis
Original file line number Diff line number Diff line change 1+ ../../files
Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ locals {
4343 ]
4444 ])
4545
46+ templates_files_root = " ${ path . module } /files/templates"
47+
4648 runcmd = [
4749 " systemctl daemon-reload" ,
4850 " systemctl restart abfs-docker-warmup.service" ,
@@ -115,7 +117,7 @@ data "cloudinit_config" "abfs_server" {
115117 permissions = " 0644"
116118 owner = " root"
117119 encoding = " gzip+base64"
118- content = base64gzip (templatefile (" ${ local . common_files_root } /templates /abfs_container.env.tftpl" ,
120+ content = base64gzip (templatefile (" ${ local . templates_files_root } /abfs_container.env.tftpl" ,
119121 {
120122 envs = {
121123 " NEEDS_GIT" = false
@@ -132,7 +134,7 @@ data "cloudinit_config" "abfs_server" {
132134 permissions = " 0755"
133135 owner = " root"
134136 encoding = " gzip+base64"
135- content = base64gzip (templatefile (" ${ local . common_files_root } /templates /abfs_base.sh.tftpl" ,
137+ content = base64gzip (templatefile (" ${ local . templates_files_root } /abfs_base.sh.tftpl" ,
136138 {
137139 envs = {
138140 " ABFS_CMD" = <<- EOT
@@ -152,7 +154,7 @@ data "cloudinit_config" "abfs_server" {
152154 permissions = " 0644"
153155 owner = " root"
154156 encoding = " gzip+base64"
155- content = base64gzip (templatefile (" ${ local . common_files_root } /templates /abfs-server.service.tftpl" ,
157+ content = base64gzip (templatefile (" ${ local . templates_files_root } /abfs-server.service.tftpl" ,
156158 {
157159 type = " server"
158160 }))
Original file line number Diff line number Diff line change 1+ ../../../files/templates
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ locals {
3030 ]
3131 ])
3232
33+ templates_files_root = " ${ path . module } /files/templates"
34+
3335 pre_start_hooks = var. pre_start_hooks == null ? [] : [
3436 for filename in fileset (var. pre_start_hooks , " *" ) :
3537 {
@@ -151,7 +153,7 @@ data "cloudinit_config" "abfs_gerrit_uploader_configs" {
151153 permissions = " 0644"
152154 owner = " root"
153155 encoding = " gzip+base64"
154- content = base64gzip (templatefile (" ${ local . common_files_root } /templates /abfs_container.env.tftpl" ,
156+ content = base64gzip (templatefile (" ${ local . templates_files_root } /abfs_container.env.tftpl" ,
155157 {
156158 envs = {
157159 " NEEDS_GIT" = true # gerrit uploaders need git access
@@ -169,7 +171,7 @@ data "cloudinit_config" "abfs_gerrit_uploader_configs" {
169171 permissions = " 0755"
170172 owner = " root"
171173 encoding = " gzip+base64"
172- content = base64gzip (templatefile (" ${ local . common_files_root } /templates /abfs_base.sh.tftpl" ,
174+ content = base64gzip (templatefile (" ${ local . templates_files_root } /abfs_base.sh.tftpl" ,
173175 {
174176 envs = {
175177 " ABFS_CMD" = <<- EOT
@@ -195,7 +197,7 @@ data "cloudinit_config" "abfs_gerrit_uploader_configs" {
195197 permissions = " 0644"
196198 owner = " root"
197199 encoding = " gzip+base64"
198- content = base64gzip (templatefile (" ${ local . common_files_root } /templates /abfs-server.service.tftpl" ,
200+ content = base64gzip (templatefile (" ${ local . templates_files_root } /abfs-server.service.tftpl" ,
199201 {
200202 type = " uploader"
201203 }))
You can’t perform that action at this time.
0 commit comments