diff --git a/.changelog/3397.txt b/.changelog/3397.txt new file mode 100644 index 0000000000..bb00464043 --- /dev/null +++ b/.changelog/3397.txt @@ -0,0 +1,3 @@ +```release-note:bug +sql: Allowed `binary_log_enabled` to be disabled. +``` diff --git a/google-beta/resource_sql_database_instance.go b/google-beta/resource_sql_database_instance.go index f73e631dcc..13db5dcab1 100644 --- a/google-beta/resource_sql_database_instance.go +++ b/google-beta/resource_sql_database_instance.go @@ -799,6 +799,7 @@ func expandBackupConfiguration(configured []interface{}) *sqladmin.BackupConfigu Enabled: _backupConfiguration["enabled"].(bool), StartTime: _backupConfiguration["start_time"].(string), Location: _backupConfiguration["location"].(string), + ForceSendFields: []string{"BinaryLogEnabled", "Enabled"}, } }