How setup GCP CloudSQL by terraform
<p>I would like to setup GCP CloudSQL by terraform. im reading this doc. (<a href="https://www.terraform.io/docs/providers/google/r/sql_database_instance.html" rel="noreferrer">https://www.terraform.io/docs/providers/google/r/sql_database_instance.html</a>)</p>

<p>and I execute "terraform plan" with such code.</p>

<pre><code>resource "google_sql_database_instance" "master" {
    name             = "terraform-master"
    region           = "asia-northeasteast1"
    database_version = "MYSQL_5_6"
    project          = "test-141901"

    settings {
        tier = "db-f1-micro"
        replication_type = "SYNCHRONOUS"
        backup_configuration {
            enabled = true
            start_time = "17:00"
        }
        ip_configuration {
            ipv4_enabled = true
        }
        database_flags {
                name = "slow_query_log"
                value = "on"
                name = "character_set_server"
                value = "utf8mb4"
        }
    }
}
</code></pre>

<p>but I can not setup <em>MULTIPLE</em> database_flags</p>

<pre><code>settings.0.database_flags.#:                  "1"
settings.0.database_flags.0.name:             "character_set_server"
settings.0.database_flags.0.value:            "utf8mb4"
</code></pre>

<p>How can I setup CloudSQL with multiple database_flags? I can not understand "sublist support" at that document.</p>