Good morning,
I’m using Terraform 0.12 with the Azure Provider 2.0.0. I have the following block to retrieve all subscriptions starting with “sub-”:
data "azurerm_subscriptions" "mgt" {
display_name_prefix = "sub-"
}
Now I would like to somehow automatically create the different “azurerm_subscription” objects from this one. Is there any way to kind of loop over all those subscriptions and create the appropriate “azurerm_subscription” objects?
Thanks!