-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New resource: azurerm_mssql_database with support for vCore model #2849
Comments
Will this change include any of the following:
|
Any update on this request? With the move away from DTU model to vCore model, we really need to get this one out the door, please. |
This doesn't necessarily need to be a new resource. It can be a modification to azurerm_sql_database. We just need to add the sku like we did in the elastic pool #1745 |
@frugecn is correct, we can just modify "requested_service_objective_name" to spin up VCORE database. name = "mysqldatabase"
resource_group_name = "${azurerm_resource_group.example.name}"
location = "West US"
server_name = "${azurerm_sql_server.example.name}"
requested_service_objective_name = "GP_Gen4_1"
tags = {
environment = "production"
}
} can refer to this link here to find out more |
I'm working on this. |
This has been released in version 2.3.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.3.0"
}
# ... other configuration ... |
Can someone explain why this is a new resource? When should we be using |
hi @adback03 ,You're right that the old one is going to be deprecated. But currently, we want to still support the old ones while those still are in use. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
Description
Please add support for the vCore licensing model to the single SQL database resource or create a new resource that does.
(I had originally opened this in ticket #1779, but it was closed and I was unable to re-open it.)
New Resource(s)
Potential Terraform Configuration
Structured the above potential sample code similarly to the azurerm_mssql_elasticpool resource.
References
The text was updated successfully, but these errors were encountered: