AWS App Runner launches support for PHP, Go, .Net, and Ruby managed runtimesとのことだっため、PHPランタイムを試してみた。
リポジトリには以下のような index.php のみを用意。App Runnerからリポジトリを指定する。
<?php echo "Hello World!";?>
[構築コマンド]と[開始コマンド]にはUsing the PHP platformを参考に以下を設定した。
echo example build command for PHP
php -S 0.0.0.0:8080 -t .
デフォルトドメインにアクセスするとindex.phpが表示された!