Skip to content

[Auto] AI Gallery Standard Validation #173

@ai-apps-bot

Description

@ai-apps-bot

AI Gallery Standard Validation: NON-CONFORMING

Severity: High

Please review the warnings below. If your template is already published, it may be subject to removal from a collection.
Head to this link for more information: template-lifecycle

Repository Management:

  • README.md File.
  • LICENSE.md File.
  • SECURITY.md File.
  • CODE_OF_CONDUCT.md File.
  • CONTRIBUTING.md File.
  • ISSUE_TEMPLATE Folder.
  • Topics on repo contains ['azd-templates', 'ai-azd-templates'].

Source code structure and conventions:

  • azure-dev.yml File.
  • azure.yml File.
  • infra Folder.
  • .devcontainer Folder.

Functional Requirements:

  • azd up. [How to fix?]

    Details

    New environment 'ai22-21680r96' created and set as default.
    Initialize bicep provider
    Retrieving locations...

    Packaging services (azd package)

    Provisioning Azure resources (azd provision)
    Provisioning Azure resources can take some time.

    Initialize bicep provider
    Reading subscription and location from environment...
    Subscription: Azure SDK Test Resources - AI Apps (90b334cb-854f-4207-a89c-cf44ab8673fe)
    Location: Sweden Central

    Creating a deployment plan
    Comparing deployment state

    ERROR: error executing step command 'provision': deployment failed: error deploying infrastructure: validating deployment to resource group:

    Validation Error Details:
    POST https://management.azure.com/subscriptions/90b334cb-854f-4207-a89c-cf44ab8673fe/resourcegroups/rg-ai22-21680r96/providers/Microsoft.Resources/deployments/ai22-21680r96-1761591965/validate

    RESPONSE 400: 400 Bad Request
    ERROR CODE: InvalidTemplate

    {
    "error": {
    "code": "InvalidTemplate",
    "message": "Deployment template validation failed: 'The provided value for the template parameter 'location' is not valid. The value 'swedencentral' is not part of the allowed value(s): 'australiaeast,centralus,eastasia,eastus2,japaneast,northeurope,southeastasia,uksouth'.'.",
    "additionalInfo": [
    {
    "type": "TemplateViolation",
    "info": {
    "lineNumber": 1,
    "linePosition": 2324,
    "path": "properties.template.parameters.location.allowedValues"
    }
    }
    ]
    }
    }

    TraceID: d165ad593c1ac4c54e7a6073d075ca81

  • azd down.

Security Requirements:

  • Security scan is not performed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions