Describe the issue:
Note: todo-java-postgresql-terraform does not have GitHub Issues enabled, so I’m reporting this problem here instead.
The Start API task failed to start for todo-java-postgresql-terraform in Devcontainer. The detailed information is as follows:

Repro Steps:
- Run
azd init -t todo-java-postgresql-terraform -b staging.
- Open in devcontainer.
- Run
azd up.
- Run task:
start api.
Environment:
- Template:
todo-java-postgresql-terraform.
- Azd version: azd version 1.23.7-daily.5941133 (commit 302d696).
- OS: Devcontainer.
- Branch: Staging.
Expected behavior:
The start api task can run successfully.
@rajeshkamal5050 for notification.