sam build --hook-name terraform
sam build
由于 OpenTofu 向后兼容 Terraform,因此请在本地安装 Terraform 并使用 Terraform