问题描述
我正在尝试通过 CloudFormation 创建一个 AWS Amplify 项目。但是我仍然想知道官方文档中的 Repository
属性 https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html
和SDK
https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-amplify/modules/createapprequest.html#repository
"AmplifyApp": {
"Type": "AWS::Amplify::App","Properties": {
"Name": {"Ref": "AmplifyProjectName"},"Repository": ?
}
}
链接 Codecommit 存储库和 S3 Bucket 均失败并显示错误
Resource handler returned message: "Invalid request provided: Repository provider not supported. (Service: Amplify,Status Code: 400,Request ID: a12af1b1-b7bd-4643-96af-3945de1a9fed,Extended Request ID: null)" (RequestToken: dc1dc831-f742-cb7d-a59a-d5d9a93ebd2a,HandlerErrorCode: InvalidRequest)