Created
April 27, 2020 16:11
-
-
Save dilani14/72f02a42befb62b11e56e86f7e7dd906 to your computer and use it in GitHub Desktop.
sql database
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "azurerm_sql_server" "sqlserver" { | |
name = "diltfsqlserver" | |
resource_group_name = azurerm_resource_group.rg.name | |
location = var.location | |
version = "12.0" | |
administrator_login = "diladmin" | |
administrator_login_password = "1qaz2wsx@" | |
} | |
resource "azurerm_sql_database" "sqldb" { | |
name = "diltfdb" | |
resource_group_name = azurerm_resource_group.rg.name | |
location = var.location | |
server_name = azurerm_sql_server.sqlserver.name | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment