Describe the bug
When attempting to pass runtime arguments to a container using the az containerapp CLI, arguments that begin with double dashes (e.g., --config=...) are incorrectly parsed as CLI flags rather than container arguments.
Related command
az containerapp update
--name my-containerapp
--resource-group my-resourcegroup
--args "--config=/etc/otel/config.yaml"
Errors
Issue script & Debug output
Expected behavior
The container should receive --config=/etc/otel-contrib/config.yaml as a runtime argument.
Environment Summary
Additional context
Please note when run via terraform the above works, only via cli it fails
No response
Describe the bug
When attempting to pass runtime arguments to a container using the az containerapp CLI, arguments that begin with double dashes (e.g., --config=...) are incorrectly parsed as CLI flags rather than container arguments.
Related command
az containerapp update
--name my-containerapp
--resource-group my-resourcegroup
--args "--config=/etc/otel/config.yaml"
Errors
Issue script & Debug output
Expected behavior
The container should receive --config=/etc/otel-contrib/config.yaml as a runtime argument.
Environment Summary
Additional context
Please note when run via terraform the above works, only via cli it fails
No response