Hi, I am trying to import an exising azure resourc...
# getting-started
Hi, I am trying to import an exising azure resource group using CLI but get this error
pulumi import azure:core/resourceGroup:ResourceGroup <resource-group-name> '/subscriptions/<subscriptionId>/resourceGroups/<resource-group-name>'
Error that I am receiving
azure:core/resourceGroup:ResourceGroup resource '<resource-group-name>' has a problem: Missing required argument: The argument "location" is required, but no definition was found.. Examine values at 'ResourceGroup.Location'
Overall I was wondering if there is an easier way to import all the resources in a resource group?
Azure provider is based on Terraform provider, cross-checking the documentation may help you out https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_group To your second question, maybe try this: https://www.pulumi.com/arm2pulumi/
👍 1
Thanks very much Jan