I am working on Terraform script for Azure. Currently App Service Plan is declared as data. Now i need to add Scaleout Rules. Should i create App Service Plan as data or convert it to 'resource' and add scaleout rules?
data "azurerm_app_service_plan" "example" {
name = "search-app-service-plan"
resource_group_name = "search-service"
}