File tree 1 file changed +3
-3
lines changed
modules/db-backup-restore
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ resource "helm_release" "postgresdb_backup" {
14
14
timeout = 600
15
15
namespace = var. namespace
16
16
values = [
17
- templatefile (" ../../helm/values/backup/values.yaml" , {
17
+ templatefile (" ${ path . module } / ../../helm/values/backup/values.yaml" , {
18
18
bucket_uri = var.postgresdb_backup_config.bucket_uri,
19
19
postgres_database_name = var.postgresdb_backup_config.postgres_database_name,
20
20
db_endpoint = var.postgresdb_backup_config.db_endpoint,
@@ -37,7 +37,7 @@ resource "helm_release" "postgresdb_restore" {
37
37
timeout = 600
38
38
namespace = var. namespace
39
39
values = [
40
- templatefile (" ../../helm/values/restore/values.yaml" , {
40
+ templatefile (" ${ path . module } / ../../helm/values/restore/values.yaml" , {
41
41
bucket_uri = var.postgresdb_restore_config.bucket_uri,
42
42
db_endpoint = var.postgresdb_restore_config.db_endpoint,
43
43
db_password = var.postgresdb_restore_config.db_password,
@@ -46,4 +46,4 @@ resource "helm_release" "postgresdb_restore" {
46
46
annotations = var.bucket_provider_type == " s3" ? " eks.amazonaws.com/role-arn: ${ aws_iam_role . postgres_restore_role . arn } " : " iam.gke.io/gcp-service-account: ${ var . service_account_restore } "
47
47
})
48
48
]
49
- }
49
+ }
You can’t perform that action at this time.
0 commit comments