Azure-Samples / apptemplate-wordpress-on-aca

Template to deploy Wordpress on Azure Container apps
MIT License
28 stars 31 forks source link

Invalid request body for container app. #13

Closed zedy-wj closed 1 year ago

zedy-wj commented 1 year ago

Describe the issue: When executing the azd provision command, provisioning resource failed.

Repro Steps:

  1. azd init -t
  2. azd package
  3. azd provision with deployWithRedis is off (Enter a random string when prompted) image
  4. azd provision with deployWithRedis is on (Enter a random string when prompted) image

Notes: Are we randomly entering a string based on the prompt? Or where to get these special values?

Environment: OS: Windows Azd version: azd version 0.8.0-beta.1-daily.2689578 (commit 3b28fc8f84717d732f646a3e3b9521204f122112)

Expected behavior: Executing azd provision can pass.

@rajeshkamal5050, @kpantos for notification.

puicchan commented 1 year ago

@kpantos, I just tried the app template with the latest azd build. I ran into the same issue:

Deployment Error Details: InvalidTemplateDeployment: The template deployment 'wordpressapp-deployment' is not valid according to the validation procedure. TContainerAppInvalidSchema: Invalid request body for container app. Path: $[6]. Does not conform to Container App schema, please visit for more information https://docs.microsoft.com/azure/container-apps/azure-resource-manager-api-spec?tabs=arm-template#container-app

Can you take a look?

@aarthiem as FYI.