Cloud Provider : Azure Can I declare resource group , Virtual network , or subnets in Azure as terraform Variable - Infrastructure as code
without variable :-
resource "azurerm_resource_group" "example" {
name = "example"
location = var.location
}
Yes you can