# PowerShell
## Simple example
terraform import -var-file="some_env.tfvars" module.aks[0].azurerm_role_assignment.virtual_machine_contributor /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/EXAMPLE-RG001/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000000
## With index
### How to escape quotes in PS:
terraform import resource[`"prod-service-reports.audit`"] ...
### Example:
terraform import -var-file="some_env.tfvars" module.aks[0].azurerm_role_assignment.reader[`"00000000-0000-0000-0000-000000000000`"] /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/EXAMPLE-RG001/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000000