hub: make location optional for AzureUploadOptions

The Azure Resource Group Location is no longer required and
osbuild-composer can determine the correct Location from the
provided Resource Group.

Related to https://github.com/osbuild/osbuild-composer/pull/3093.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
Tomáš Hozza 2022-10-24 14:56:56 +02:00 committed by Ondřej Budai
parent 8939c3515f
commit 7ccd349999

View file

@ -172,7 +172,7 @@ OSBUILD_IMAGE_SCHEMA = {
"AzureUploadOptions": {
"type": "object",
"additionalProperties": False,
"required": ["tenant_id", "subscription_id", "resource_group", "location"],
"required": ["tenant_id", "subscription_id", "resource_group"],
"properties": {
"tenant_id": {
"type": "string"