FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

azurerm_sql_database

Allows you to manage an Azure SQL Database

Example Usage

resource "azurerm_resource_group" "test" {
   name = "acceptanceTestResourceGroup1"
   location = "West US"
}
resource "azurerm_sql_database" "test" {
    name = "MySQLDatabase"
    resource_group_name = "${azurerm_resource_group.test.name}"
    location = "West US"


    tags {
    	environment = "production"
    }
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:


See the source of this document at Terraform.io