File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ locals {
1919 create_service_account = var. service_account == null || var. service_account == " " ? true : false
2020 service_account = local. create_service_account ? google_service_account. sql_backup_serviceaccount [0 ]. email : var. service_account
2121 backup_name = " sql-backup-${ var . sql_instance } ${ var . unique_suffix } "
22- role_name = var. enable_export_backup ? " roles/cloudsql.editor " : " roles/cloudsql.viewer"
22+ role_name = var. enable_export_backup ? " roles/cloudsql.admin " : " roles/cloudsql.viewer"
2323 export_name = var. use_sql_instance_replica_in_exporter ? " sql-export-${ var . sql_instance_replica } ${ var . unique_suffix } " : " sql-export-${ var . sql_instance } ${ var . unique_suffix } "
2424 notification_channels = var. create_notification_channel ? concat (var. notification_channels , [google_monitoring_notification_channel . email [0 ]. id ]) : var. notification_channels
2525}
You can’t perform that action at this time.
0 commit comments