File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ locals {
1919 ip_configuration_enabled = " ${ length (keys (var. ip_configuration )) > 0 ? true : false } "
2020
2121 ip_configurations = {
22- enabled = " ${ list ( var. ip_configuration ) } "
23- disabled = " ${ list ()} "
22+ enabled = " ${ var . ip_configuration } "
23+ disabled = " ${ map ()} "
2424 }
2525}
2626
@@ -35,7 +35,7 @@ resource "google_sql_database_instance" "default" {
3535 activation_policy = " ${ var . activation_policy } "
3636 authorized_gae_applications = [" ${ var . authorized_gae_applications } " ]
3737 backup_configuration = [" ${ var . backup_configuration } " ]
38- ip_configuration = " ${ local . ip_configurations [" ${ local . ip_configuration_enabled ? " enabled" : " disabled" } " ]} "
38+ ip_configuration = [ " ${ local . ip_configurations [" ${ local . ip_configuration_enabled ? " enabled" : " disabled" } " ]} " ]
3939
4040 disk_autoresize = " ${ var . disk_autoresize } "
4141
You can’t perform that action at this time.
0 commit comments