Can I create a resource "myproject" in region India, but create a kuberenetes cluster in uswest region ?
If this is possible then what is point specifying Region for resource group ?
Can I create a resource "myproject" in region India, but create a kuberenetes cluster in uswest region ?
If this is possible then what is point specifying Region for resource group ?
Terminology:
resource group - A container that holds related resources for an Azure solution. The resource group includes those resources that you want to manage as a group. You decide which resources belong in a resource group based on what makes the most sense for your organization.
and
When creating a resource group, you need to provide a location for that resource group. You may be wondering, "Why does a resource group need a location? And, if the resources can have different locations than the resource group, why does the resource group location matter at all?" The resource group stores metadata about the resources. When you specify a location for the resource group, you're specifying where that metadata is stored.
Source: What is Azure Resource Manager?
And then there's also this:
What is an Azure resource group?
Each resource in Azure must belong to a resource group. A resource group is simply a logical construct that groups multiple resources together so they can be managed as a single entity based on lifecycle and security. For example, resources that share a similar lifecycle, such as the resources for an n-tier application may be created or deleted as a group. Put another way: everything that is born together, gets managed together, and deprecates together, goes together in a resource group.Source: Resource access management in Azure - What is an Azure resource group?
The most important information to take away from this:
EDIT:
If you do want a solution that prohibits users from creating resources in specific regions, or would like to limit the allowed regions, have a look at Azure Policy.
You can find an example here: azure-policy/samples/built-in-policy/allowed-locations/
This policy enables you to restrict the locations your organization can specify when deploying resources. Use to enforce your geo-compliance requirements. Excludes resource groups, Microsoft.AzureActiveDirectory/b2cDirectories, and resources that use the 'global' region.