Trying to use Terraform to create an RG and it’s failing with:
azurerm_resource_group.flixtube: Creating…
│ Error: Error creating resource group: resources.GroupsClient#CreateOrUpdate: Failure sending request: StatusCode=409 – Original Error: autorest/azure: Service returned an error. Status= Code=“ReadOnlyDisabledSubscription” Message=“The subscription ‘10643bb2-21e3-480b-96ec-03c0483dbd30’ is disabled and therefore marked as read only. You cannot perform any write actions on this subscription until it is re-enabled.”
│
│ with azurerm_resource_group.flixtube,
│ on resource-group.tf line 3, in resource “azurerm_resource_group” “flixtube”:
│ 3: resource “azurerm_resource_group” “flixtube” {
│
resource-group.tf:
Creates a resource group for FlixTube in your Azure account.
resource “azurerm_resource_group” “flixtube” {
name = “flixtube”
location = “South Central US”
}
“10643bb2-21e3-480b-96ec-03c0483dbd30” isn’t my subscription. I have no problem creating the RG manually
Where is this sub id coming from?
az account subscription show --id 10643bb2-21e3-480b-96ec-03c0483dbd30
fails with InvalidAuthenticationTokenTenant