詳細設定画面では、「パブリックアクセシビリティ」を「はい」に設定します。これにより、自動的にデータベースにElastic IPが付与され、LambdaローテーションファンクションにVPCをアタッチする必要が無くなります。その他のネットワーク設定は初期値で設定します。 これは、チュートリアル用の最低限の設定です。プライベートVPCを利用する場合(普通はこっちすね)は、データベースが格納されているサブネットからルーティングテーブルにNAT gatewayへのルーティング設定を行います。また、適切なセキュリティグループの設定も必要です。LambdaをVPC内の設置する場合の構成については、弊社菊池のこちらの記事(機密管理サービス AWS Secrets Manager で RDS のパスワードローテーションを試す | Developers.IO)を参照ください。 その他の設定はデフォルト(ポート