File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ resource "null_resource" "execute_cloud_sql_proxy" {
22 for_each = (((var. cloudsql_proxy_host == " localhost" || var. cloudsql_proxy_host == " 127.0.0.1" ) && var. terraform_start_cloud_sql_proxy ) ? {
33 for u in var . database_and_user_list : u . user => u
44 } : {})
5+
6+ triggers = {
7+ refresh_id = var.permissions_refresh_id
8+ }
9+
510 lifecycle {
611 replace_triggered_by = [
712 null_resource. force_permissions_refresh . id
@@ -117,6 +122,11 @@ resource "null_resource" "kill_cloud_sql_proxy" {
117122 for_each = (((var. cloudsql_proxy_host == " localhost" || var. cloudsql_proxy_host == " 127.0.0.1" ) && var. terraform_start_cloud_sql_proxy ) ? {
118123 for u in var . database_and_user_list : u . user => u
119124 } : {})
125+
126+ triggers = {
127+ refresh_id = var.permissions_refresh_id
128+ }
129+
120130 lifecycle {
121131 replace_triggered_by = [
122132 null_resource. force_permissions_refresh . id
You can’t perform that action at this time.
0 commit comments