FEATURES PRICING ABOUT DOCS LOGIN

azure_sql_database_server

Defines a new Firewall Rule to be applied across the given Database Servers.

Example Usage

resource "azure_sql_database_server" "sql-serv1" {
    ...
}

resource "azure_sql_database_server" "sql-serv2" {
    ...
}

resource "azure_sql_database_server_firewall_rule" "constraint" {
    name = "terraform-testing-rule"
    start_ip = "154.0.0.0"
    end_ip   = "154.0.0.255"
    database_server_names = [
        "${azure_sql_database_server.sql-serv1.name}",
        "${azure_sql_database_server.sql-serv2.name}",
    ]
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:


See the source of this document at Terraform.io

REQUEST A DEMO