aws-samples / aws-samples/lambda-refarch-mobilebackend
Unable to get the refarch working in EU location
- 主要言語
- Objective-C
- スター
- 587
- フォーク
- 108
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I have made a (global) S3 bucket and copied the mobile-backend.template and the config-helper.template. Then I made another S3 bucket to hold the lambda-functions and copied the folder search/index.js, folder stream-handler/index.js, folder upload-note/index.js as well as files package.sh and upload.sh.
I created a cloud search domain, an api gateway and a cognito identity pool (federated) in my EU region.
I have checked and found all variables parameterized, except the constants.swift file which should not come into play before I start up the iOs demo?..
I started the cloud formation from the S3 bucket/mobile-backend.template.
These are the events in Test01 (name of the stack)
2016-06-20 Status Type Logical ID Status reason
15:21:14 UTC+0200 DELETE_COMPLETE AWS::DynamoDB::Table PhotoNotesTable
15:20:43 UTC+0200 DELETE_COMPLETE AWS::IAM::Role DynamoStreamHandlerRole
15:20:43 UTC+0200 DELETE_IN_PROGRESS AWS::DynamoDB::Table PhotoNotesTable
15:20:42 UTC+0200 DELETE_COMPLETE AWS::IAM::Role SearchApiRole
15:20:42 UTC+0200 DELETE_COMPLETE AWS::IAM::Role NotesApiRole
15:20:41 UTC+0200 DELETE_IN_PROGRESS AWS::IAM::Role DynamoStreamHandlerRole
15:20:41 UTC+0200 DELETE_COMPLETE AWS::IAM::Role MobileClientRole
15:20:41 UTC+0200 DELETE_IN_PROGRESS AWS::IAM::Role SearchApiRole
15:20:40 UTC+0200 DELETE_IN_PROGRESS AWS::IAM::Role NotesApiRole
15:20:40 UTC+0200 DELETE_IN_PROGRESS AWS::IAM::Role MobileClientRole
15:20:40 UTC+0200 DELETE_IN_PROGRESS AWS::CloudFront::Distribution CloudFrontDistribution
15:20:40 UTC+0200 DELETE_COMPLETE AWS::Lambda::Function DynamoStreamHandlerFunction
15:20:40 UTC+0200 DELETE_COMPLETE AWS::Lambda::Function SearchApiFunction
15:20:34 UTC+0200 ROLLBACK_IN_PROGRESS AWS::CloudFormation::Stack Test01 The following resource(s) failed to create: [MobileClientRole, SearchApiFunction, NotesApiRole, CloudFrontDistribution, DynamoStreamHandlerFunction]. . Rollback requested by user.
15:20:34 UTC+0200 CREATE_FAILED AWS::Lambda::Function DynamoStreamHandlerFunction 1 validation error detected: Value 'lambda-mobilebackend-cloudformation/lambda-functions' at 'code.s3Bucket' failed to satisfy constraint: Member must satisfy regular expression pattern: ^[0-9A-Za-z.-_]*(?
コントリビューションガイド
調査の方向性
mobile-backend.template から始め、Issue に記載されている S3 バケットとフォルダーの構成に照らして、Lambda code.s3Bucket の値を確認します。package.sh と upload.sh を含め、これらの参照先を正常に完了した Virginia のデプロイと比較してから、EU の CloudFormation スタックを再試行します。テンプレートがバケットの場所を受け入れ、Lambda の検証エラーなしでスタックが完了すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- aws
- 領域
- cloud, infrastructure
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100