AgentCore Runtimeのコード構成でentryPointに「python3 main.py」を指定するとバリデーションエラーになる
AgentCore Runtimeのコード構成でentryPointを["python3", "main.py"]にしたらエラーになった。
An error occurred (ValidationException) when calling the CreateAgentRuntime operation: Invalid entrypoint value. Your entrypoint is either empty, contains spaces, starts with /, ~, ., .., or has multiple dots. Update the entrypoint name and try again.次に["main"](拡張子なし)を試したら別のエラー。
Entrypoint file type does not match your selected runtime. For Python runtime, your file should end with .py extension.正解は["main.py"]だった。ランタイムにPYTHON_3_13を指定しているので、python3コマンドは不要で、.py拡張子付きのファイル名だけを渡す。
